From bd758ee4fc423b9ca152a01f897609daa656c938 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Sat, 27 Aug 2011 17:15:31 +0000 Subject: Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf. --- redhat/transmission-remote-gtk.spec | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'redhat') diff --git a/redhat/transmission-remote-gtk.spec b/redhat/transmission-remote-gtk.spec index b68a86b..e5ae8f2 100644 --- a/redhat/transmission-remote-gtk.spec +++ b/redhat/transmission-remote-gtk.spec @@ -12,7 +12,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: gtk2 >= 2.16 Requires: glib2 >= 2.22 Requires: unique -Requires: GConf2 Requires: libnotify Requires: libproxy Requires: json-glib >= 0.8 @@ -22,14 +21,10 @@ BuildRequires: gtk2-devel BuildRequires: libproxy-devel BuildRequires: glib2-devel BuildRequires: unique-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 @@ -46,41 +41,20 @@ 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 >/dev/null 2>&1 %postun update-desktop-database %{_datadir}/applications >/dev/null 2>&1 -%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 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg -- cgit v1.2.3