Clean up some old cruft from the spec file
This commit is contained in:
parent
0cf18dbe78
commit
7c33dda563
@ -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 <kalevlember@gmail.com> - 1:3.7.4-2
|
||||
- Spec file cleanup
|
||||
|
||||
* Wed Jan 16 2013 Richard Hughes <hughsient@gmail.com> - 1:3.7.4-1
|
||||
- Update to 3.7.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user