diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index f8733cc..e3f2a21 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -1,7 +1,7 @@ Name: gnome-bluetooth Epoch: 1 Version: 3.7.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bluetooth graphical utilities Group: Applications/Communications @@ -15,9 +15,7 @@ ExcludeArch: s390 s390x %endif BuildRequires: gtk3-devel >= 3.0 -BuildRequires: GConf2-devel BuildRequires: dbus-glib-devel -BuildRequires: libnotify-devel BuildRequires: nautilus-sendto-devel >= 2.90.0 BuildRequires: intltool desktop-file-utils gettext gtk-doc @@ -75,11 +73,10 @@ for writing applications that require a Bluetooth device selection widget. %setup -q %build -%configure --disable-desktop-update --disable-icon-update --enable-nautilus-sendto=yes --disable-schemas-compile +%configure --disable-desktop-update --disable-icon-update --disable-schemas-compile make %{?_smp_mflags} %install -export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-bluetooth/plugins/*.la \ @@ -100,34 +97,6 @@ update-desktop-database &>/dev/null || : %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -%pre -if [ "$1" -gt 1 ]; then - export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` - if [ -f %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas ] ; then - gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas >/dev/null || : - fi - if [ -f %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas ] ; then - gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \ - >& /dev/null || : - fi -fi - -%preun -if [ "$1" -eq 0 ]; then - export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` - if [ -f %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas ] ; then - gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || : - fi - if [ -f %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas ] ; then - gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \ - >& /dev/null || : - fi -fi - %postun update-desktop-database &>/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : @@ -176,6 +145,9 @@ fi %{_datadir}/gtk-doc %changelog +* Sat Jan 26 2013 Kalev Lember - 1:3.7.4-2 +- Spec file cleanup + * Wed Jan 16 2013 Richard Hughes - 1:3.7.4-1 - Update to 3.7.4