From 37a234f8cdf6b57f80936b9a826c258d57f2dc08 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 21 Apr 2006 14:56:12 +0000 Subject: [PATCH] 2.14.1 --- gnome-vfs2.spec | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnome-vfs2.spec b/gnome-vfs2.spec index 2bf2f0a..dc2c49f 100644 --- a/gnome-vfs2.spec +++ b/gnome-vfs2.spec @@ -8,7 +8,7 @@ %define gnome_mount_version 0.4 %define glib2_version 2.9.3 -Summary: The GNOME virtual file-system libraries. +Summary: The GNOME virtual file-system libraries Name: gnome-vfs2 Version: 2.14.1 Release: 2 @@ -21,6 +21,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gnome-mime-data >= %{gnome_mime_data_version} Requires: shared-mime-info Requires: gnome-mount >= %{gnome_mount_version} +Requires(post): GConf2 >= %{gconf2_version} BuildRequires: libbonobo-devel >= %{libbonobo_version} BuildRequires: GConf2-devel >= %{gconf2_version} BuildRequires: gnome-mime-data >= %{gnome_mime_data_version} @@ -29,6 +30,9 @@ BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: popt, bzip2-devel, ORBit2-devel, openjade BuildRequires: pkgconfig BuildRequires: /usr/bin/automake-1.9 +BuildRequires: libtool +BuildRequires: intltool +BuildRequires: autoconf BuildRequires: gtk-doc >= %{gtkdoc_version} BuildRequires: perl-XML-Parser >= %{perl_XML_Parser_version} BuildRequires: samba-common >= %{samba_version} @@ -37,7 +41,6 @@ BuildRequires: krb5-devel BuildRequires: avahi-glib-devel >= 0.6 BuildRequires: hal-devel >= 0.5.0 BuildRequires: gnome-mount-devel >= %{gnome_mount_version} -Prereq: GConf2 >= %{gconf2_version} Patch3: gnome-vfs-2.9.90-modules-conf.patch @@ -58,9 +61,9 @@ supporting asynchronous file operations, a MIME type manipulation library, and other features. %package devel -Summary: Libraries and include files for developing GNOME VFS applications. +Summary: Libraries and include files for developing GNOME VFS applications Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} Requires: GConf2-devel >= %{gconf2_version} Requires: libbonobo-devel >= %{libbonobo_version} Conflicts: bonobo-devel < 1.0.8 @@ -73,7 +76,7 @@ GNOME VFS modules and applications that use the GNOME VFS APIs. %package smb Summary: Windows fileshare support for gnome-vfs Group: System Environment/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%release} Requires: samba-common >= %{samba_version} Obsoletes: gnome-vfs2-extras Provides: gnome-vfs2-extras @@ -115,7 +118,7 @@ export tagname=CC make LIBTOOL=/usr/bin/libtool %install -rm -fr %{buildroot} +rm -fr $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 export tagname=CC @@ -138,14 +141,13 @@ done rm -fr %{buildroot} %post - +/sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="system_http_proxy.schemas system_dns_sd.schemas system_smb.schemas desktop_gnome_url_handlers.schemas desktop_default_applications.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null done -/sbin/ldconfig %postun -p /sbin/ldconfig