@ -1,15 +1,15 @@
%define libbonobo_version 2.0 .0
%define libbonobo_version 2.1 .0
%define gconf2_version 1.2.0
%define gtkdoc_version 0.9
%define gnome_mime_data_version 2.0.0
%define gnome_mime_data_version 2.0.0-11
%define redhat_menus_version 0.2
%define po_package gnome-vfs-2.0
Summary: The GNOME virtual file-system libraries.
Name: gnome-vfs2
Version: 2.0.2
Release: 5
Version: 2.1.3.1
Release: 1
License: LGPL
Group: System Environment/Libraries
Source: gnome-vfs-%{version}.tar.bz2
@ -28,13 +28,8 @@ BuildRequires: /usr/bin/automake-1.4
BuildRequires: gtk-doc >= %{gtkdoc_version}
Patch1: gnome-vfs-1.9.4.91-docdir.patch
Patch2: gnome-vfs-1.9.16-moved-menu-files.patch
Patch3: gnome-vfs-2.0.1-only-show-in.patch
Patch4: gnome-vfs-2.0.2-start-here-vfolders.patch
Patch5: gnome-vfs-2.0.2-newstat.patch
Patch6: gnome-vfs-2.0.2-read-only.patch
# Backport from CVS of a locking bug in file-method.c
Patch7: gnome-vfs-2.0.2-locktrash.patch
Patch2: gnome-vfs-2.1.3-moved-menu-files.patch
Patch3: gnome-vfs-2.0.4-onlyshowin.patch
%description
GNOME VFS is the GNOME virtual file system. It is the foundation of
@ -63,11 +58,7 @@ GNOME VFS modules and applications that use the GNOME VFS APIs.
#%patch1 -p1 -b .docdir
%patch2 -p1 -b .moved-menu-files
%patch3 -p1 -b .only-show-in
%patch4 -p1 -b .start-here-vfolders.patch
%patch5 -p1 -b .newstat
%patch6 -p1 -b .read-only
%patch7 -p0 -b .locktrash
%patch3 -p0 -b .onlyshowin
%build
# patch1 is disabled, so we don't need this
@ -86,6 +77,17 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/lib*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
## work around makefile glitch in modules/extfs/Makefile.am
if test "$RPM_BUILD_ROOT%{_prefix}/lib" != "$RPM_BUILD_ROOT%{_libdir}"; then
mv $RPM_BUILD_ROOT%{_prefix}/lib/vfs $RPM_BUILD_ROOT%{_libdir}
fi
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gnome-vfs-2.0/vfolders/*.vfolder-info
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gnome-vfs-2.0/vfolders/*.vfolder-info-default
## why, dear god, why?
rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/gob2.m4
%find_lang %{po_package}
%clean
@ -111,7 +113,10 @@ done
%dir %{_sysconfdir}/gnome-vfs-2.0/modules
%dir %{_sysconfdir}/gnome-vfs-2.0/vfolders
%config %{_sysconfdir}/gnome-vfs-2.0/modules/*.conf
%config %{_sysconfdir}/gnome-vfs-2.0/vfolders/*.vfolder-info
## we aren't really using the .vfolder-info config files,
## so installing them is a little misleading.
## %config %{_sysconfdir}/gnome-vfs-2.0/vfolders/*.vfolder-info
## %config %{_sysconfdir}/gnome-vfs-2.0/vfolders/*.vfolder-info-default
%{_libdir}/*.so.*
%{_libdir}/gnome-vfs-2.0/modules
%dir %{_libdir}/gnome-vfs-2.0
@ -131,6 +136,24 @@ done
%{_datadir}/gtk-doc
%changelog
* Wed Dec 4 2002 Havoc Pennington <hp@redhat.com>
- 2.1.3.1
* Sun Nov 10 2002 Havoc Pennington <hp@redhat.com>
- 2.1.3
- update moved-menu-files patch
* Wed Oct 23 2002 Havoc Pennington <hp@redhat.com>
- add patch for OnlyShowIn support
- use plain menu files for .vfolder-info-default
- don't install unused vfolder-info files
* Tue Oct 8 2002 Havoc Pennington <hp@redhat.com>
- require new gnome-mime-data in proper libdir
- 2.0.4
- drop most patches as they are now upstream or
don't apply to new vfolder code
* Fri Aug 30 2002 Owen Taylor <otaylor@redhat.com>
- Backport a gnome-vfs locking fix from CVS
(Hopefully fixes #71419)