Name: transmission-remote-gtk Version: 0.1.0 Release: 1 Summary: Remote control client for Transmission BitTorrent Group: Applications/Internet License: GPLv2+ URL: http://code.google.com/p/transmission-remote-gtk/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # These two are just the oldest version tested Requires: gtk2 Requires: glib2 Requires: unique Requires: GConf2 Requires: libnotify Requires: json-glib Requires: libcurl Requires: GeoIP BuildRequires: gtk2-devel BuildRequires: glib2-devel BuildRequires: unique-devel BuildRequires: GeoIP-devel BuildRequires: GConf2-devel BuildRequires: json-glib-devel BuildRequires: libcurl-devel BuildRequires: libnotify-devel Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description transmission-remote-gtk is a GTK client to remotely manage the Transmission BitTorrent client. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %clean rm -rf $RPM_BUILD_ROOT %pre 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 %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : update-desktop-database %{_datadir}/applications %postun update-desktop-database %{_datadir}/applications %preun 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 %files %defattr(-,root,root,-) %doc README COPYING AUTHORS %{_sysconfdir}/gconf/schemas/%{name}.schemas %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %changelog * Sun Jan 30 2010 Alan Fitton - 0.1.0 - Initial RPM Build