- install schemata correctly (bug #193518)
This commit is contained in:
parent
497ba937af
commit
8d9388eb60
@ -1,7 +1,7 @@
|
|||||||
Summary: GNOME Bluetooth Subsystem
|
Summary: GNOME Bluetooth Subsystem
|
||||||
Name: gnome-bluetooth
|
Name: gnome-bluetooth
|
||||||
Version: 0.7.0
|
Version: 0.7.0
|
||||||
Release: 4
|
Release: 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://usefulinc.com/software/gnome-bluetooth
|
URL: http://usefulinc.com/software/gnome-bluetooth
|
||||||
@ -16,6 +16,9 @@ BuildRequires: gob2 openobex-devel >= 1.0.1
|
|||||||
BuildRequires: pygtk2-devel python-devel
|
BuildRequires: pygtk2-devel python-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires(pre): GConf2
|
||||||
|
Requires(post): GConf2
|
||||||
|
Requires(preun): GConf2
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
Patch1: gnome-bluetooth-0.7.0-pydir.patch
|
Patch1: gnome-bluetooth-0.7.0-pydir.patch
|
||||||
@ -67,6 +70,7 @@ make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||||
%makeinstall
|
%makeinstall
|
||||||
./libtool --finish $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules
|
./libtool --finish $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules
|
||||||
|
|
||||||
@ -79,10 +83,31 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libbluetooth.*a
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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/gnome-obex-server.schemas >/dev/null || :
|
||||||
|
killall -HUP gconfd-2 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post
|
||||||
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
|
gconftool-2 --makefile-install-rule \
|
||||||
|
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ "$1" -eq 0 ]; then
|
||||||
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
|
gconftool-2 --makefile-uninstall-rule \
|
||||||
|
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
|
||||||
|
killall -HUP gconfd-2 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
@ -108,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/gnome-bluetooth/
|
%{_includedir}/gnome-bluetooth/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 30 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-5
|
||||||
|
- install schemata correctly (bug #193518)
|
||||||
|
|
||||||
* Mon May 29 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-3
|
* Mon May 29 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-3
|
||||||
- more build requires (bug #193374)
|
- more build requires (bug #193374)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user