use update-gio-modules
This commit is contained in:
parent
050114b873
commit
dd95eb2471
27
gvfs.spec
27
gvfs.spec
@ -1,13 +1,13 @@
|
|||||||
Summary: Backends for the gio framework in GLib
|
Summary: Backends for the gio framework in GLib
|
||||||
Name: gvfs
|
Name: gvfs
|
||||||
Version: 1.6.0
|
Version: 1.6.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
Source: http://download.gnome.org/sources/gvfs/1.6/gvfs-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gvfs/1.6/gvfs-%{version}.tar.bz2
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: glib2-devel >= 2.23.2
|
BuildRequires: glib2-devel >= 2.25.1-2
|
||||||
BuildRequires: dbus-glib-devel
|
BuildRequires: dbus-glib-devel
|
||||||
BuildRequires: /usr/bin/ssh
|
BuildRequires: /usr/bin/ssh
|
||||||
BuildRequires: libcdio-devel >= 0.78.2
|
BuildRequires: libcdio-devel >= 0.78.2
|
||||||
@ -164,29 +164,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# Reload .mount files:
|
# Reload .mount files:
|
||||||
killall -USR1 gvfsd >&/dev/null || :
|
killall -USR1 gvfsd >&/dev/null || :
|
||||||
# Update desktop files mime mappings:
|
# Update desktop files mime mappings:
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null || :
|
||||||
case "$host" in
|
update-gio-modules "$host" &> /dev/null || :
|
||||||
alpha*|ia64*|powerpc64*|ppc64*|s390x*|sparc64*|x86_64*)
|
|
||||||
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
%{_bindir}/gio-querymodules-32 %{_libdir}/gio/modules
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
# Update desktop files mime mappings:
|
# Update desktop files mime mappings:
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
case "$host" in
|
update-gio-modules "$host" &> /dev/null || :
|
||||||
alpha*|ia64*|powerpc64*|ppc64*|s390x*|sparc64*|x86_64*)
|
|
||||||
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
%{_bindir}/gio-querymodules-32 %{_libdir}/gio/modules
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
# Reload .mount files when single subpackage is installed:
|
# Reload .mount files when single subpackage is installed:
|
||||||
@ -313,6 +299,9 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%{_datadir}/gvfs/remote-volume-monitors/afc.monitor
|
%{_datadir}/gvfs/remote-volume-monitors/afc.monitor
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 19 2010 Matthias Clasen <mclasen@redhat.com> - 1.6.0-2
|
||||||
|
- Use update-gio-modules
|
||||||
|
|
||||||
* Mon Mar 29 2010 Tomas Bzatek <tbzatek@redhat.com> - 1.6.0-1
|
* Mon Mar 29 2010 Tomas Bzatek <tbzatek@redhat.com> - 1.6.0-1
|
||||||
- Update to 1.6.0
|
- Update to 1.6.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user