Name: gnomeradio Summary: FM-Tuner application for the GNOME Desktop Version: 1.6 Release: 10.1.rcn License: GPL Group: Applications/Multimedia URL: http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio/ Source0: http://www.wh-hms.uni-ulm.de/~mfcn/%{name}/packages/%{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: intltool BuildRequires: libgnomeui-devel BuildRequires: gtk2-devel >= 2.6 BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: lame-devel BuildRequires: lirc-devel #BuildRequires: sox-devel BuildRequires: scrollkeeper Requires: libgnomeui Requires: gtk2 >= 2.6 Requires: libogg Requires: libvorbis Requires: vorbis-tools Requires: lame Requires: sox Requires: scrollkeeper Requires: GConf2 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description FM-Tuner application for the GNOME Desktop. %prep # Uninstall the old schemas when upgrading if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)" gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : fi %setup -q -n %{name}-%{version} %build %configure \ --prefix=%{_prefix} \ --enable-lirc=yes \ --disable-schemas-install \ --disable-install-schemas %{__make} %install %{__rm} -fr %{buildroot} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" %{__make} DESTDIR=%{buildroot} install unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %{name} # FIX # Removes the scrollkeeper files from the build. %{__rm} -rf %{buildroot}%{_localstatedir}/scrollkeeper/ %clean %{__rm} -fr %{buildroot} %post # Install the new schemas when installing export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)" gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : # Update the scrollkeeper cataloging system scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : %preun # Uninstall the old schemas when removing the package if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)" gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : fi %postun # Update the scrollkeeper cataloging system after the removal of the package scrollkeeper-update -q || : %files -f %{name}.lang %defattr(-, root, root, 0755) %doc AUTHORS COPYING ChangeLog NEWS README README.lirc README.recording TODO example.lircrc %config %{_sysconfdir}/gconf/schemas/gnomeradio.schemas %{_bindir}/gnomeradio %{_datadir}/applications/gnomeradio.desktop %{_datadir}/gnome/help/gnomeradio/ #%{_datadir}/locale/*/LC_MESSAGES/gnomeradio.mo %{_datadir}/omf/gnomeradio/gnomeradio* %{_datadir}/pixmaps/*.png %changelog * Thu Mar 30 2006 Raoul - 1.6-10.1 - Rebuild * Sat Jan 21 2006 Raoul - 1.6-10.1 - Initial Package