diff options
author | Frédéric Crozat <fcrozat@src.gnome.org> | 2003-04-22 14:06:11 +0000 |
---|---|---|
committer | Frédéric Crozat <fcrozat@src.gnome.org> | 2003-04-22 14:06:11 +0000 |
commit | 28329fee14dfb967bd2ab021831324280d589460 (patch) | |
tree | fa3e710fb35fa668ed0b0f8485511631398e0c09 /sound-juicer.spec.in | |
parent | ff488825eb37c37b5aa1796677f66986ec711115 (diff) |
Use more macros in specfile
Diffstat (limited to 'sound-juicer.spec.in')
-rw-r--r-- | sound-juicer.spec.in | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/sound-juicer.spec.in b/sound-juicer.spec.in index 887cb7e..1d30205 100644 --- a/sound-juicer.spec.in +++ b/sound-juicer.spec.in @@ -27,9 +27,9 @@ GStreamer-based CD ripping tool. Saves audio CDs to Ogg/vorbis. %build -./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} +%configure -make +%make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT @@ -38,28 +38,26 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1; %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL -#%find_lang sound-juicer +%find_lang sound-juicer %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/sound-juicer.schemas > /dev/null; +%post +export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/sound-juicer.schemas > /dev/null -%postun -p /sbin/ldconfig - -#%files -f sound-juicer.lang -%files +%files -f sound-juicer.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL README NEWS %{_bindir}/sound-juicer %{_sysconfdir}/gconf/schemas/sound-juicer.schemas -%{_datadir}/sound-juicer/sound-juicer.glade -%{_datadir}/sound-juicer/orange-slice.png +%{_datadir}/sound-juicer %{_datadir}/applications/sound-juicer.desktop %{_datadir}/pixmaps/sound-juicer.png -%{_datadir}/locale/*/LC_MESSAGES/* %changelog +* Tue Apr 22 2003 Frederic Crozat <fcrozat@mandrakesoft.com> +- Use more macros + * Sun Apr 20 2003 Ronald Bultje <rbultje@ronald.bitfreak.net> - Make spec file for sound-juicer (based on netRB spec file) |