You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-vfs2/gnome-vfs2.spec

229 lines
6.3 KiB

%define libbonobo_version 2.0.0
%define gconf2_version 1.1.11
%define gtkdoc_version 0.9
%define gnome_mime_data_version 1.0.8
%define redhat_menus_version 0.2
Summary: The GNOME virtual file-system libraries.
Name: gnome-vfs2
Version: 1.9.16
Release: 5
License: LGPL
Group: System Environment/Libraries
Source: gnome-vfs-%{version}.tar.bz2
URL: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gnome-mime-data >= %{gnome_mime_data_version}
Requires: redhat-menus >= %{redhat_menus_version}
BuildRequires: libbonobo-devel >= %{libbonobo_version}
BuildRequires: GConf2-devel >= %{gconf2_version}
BuildRequires: bonobo-activation-devel, glib2-devel, libxml2-devel, zlib-devel
BuildRequires: popt, bzip2-devel, ORBit2-devel, XFree86-devel, openjade
BuildRequires: pkgconfig
BuildRequires: gnome-mime-data >= %{gnome_mime_data_version}
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
%description
GNOME VFS is the GNOME virtual file system. It is the foundation of
the Nautilus file manager. It provides a modular architecture and
ships with several modules that implement support for file systems,
http, ftp, and others. It provides a URI-based API, backend
supporting asynchronous file operations, a MIME type manipulation
library, and other features.
%package devel
Summary: Libraries and include files for developing GNOME VFS applications.
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: GConf2-devel >= %{gconf2_version}
Requires: libbonobo-devel >= %{libbonobo_version}
Conflicts: bonobo-devel < 1.0.8
Conflicts: gnome-vfs-devel < 1.0.2
%description devel
This package provides the necessary development libraries for writing
GNOME VFS modules and applications that use the GNOME VFS APIs.
%prep
%setup -q -n gnome-vfs-%{version}
# Patch1: gnome-vfs-1.9.4.91-docdir.patch modifies doc/Makefile.am
#%patch1 -p1 -b .docdir
%patch2 -p1 -b .moved-menu-files
%build
automake-1.4
%configure
make
%install
rm -fr %{buildroot}
%makeinstall
%find_lang %name
%clean
rm -fr %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%config %{_sysconfdir}/gnome-vfs-2.0/modules/*.conf
%config %{_sysconfdir}/gnome-vfs-2.0/vfolders/*.vfolder-info
%{_libdir}/*.so.*
%{_libdir}/gnome-vfs-2.0/modules
%dir %{_libdir}/gnome-vfs-2.0
%{_libdir}/bonobo
## conflicts with gnome-vfs 1, ignore for now
## %{_datadir}/man/man5/*
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_libdir}/gnome-vfs-2.0/include/*.h
%{_libdir}/gnome-vfs-2.0/modules/*.a
%{_includedir}/*
%{_datadir}/gtk-doc/*
%changelog
* Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
- look for menus in redhat-menus
* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
- 1.9.16
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
- 1.9.15
- comment out docdir patch for now
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- 1.9.14
* Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
- 1.9.11
- update file list
* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
- 1.9.7
* Thu Jan 31 2002 Owen Taylor <otaylor@redhat.com>
- Fix location of installed docs not to conflict with gnome-vfs1
* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
- Rebuild with new libs
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Jan 3 2002 Havoc Pennington <hp@redhat.com>
- 1.0.4.91 snap
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
- 1.9.4.90 snap
- require gnome-mime-data
* Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
- new snap, rebuild for glib 1.3.10
* Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
- cvs snap
* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
- rebuild cvs snap with changes merged upstream
- fix a requires
- fix up requires/buildrequires a bit
* Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
- initial gnome-vfs2 build, remove all patches
- change config files not to be noreplace
* Mon Aug 27 2001 Havoc Pennington <hp@redhat.com>
- Add po files from sources.redhat.com
* Mon Aug 20 2001 Havoc Pennington <hp@redhat.com>
- fix #51864 (Gimp can't handle file: URIs)
* Mon Aug 20 2001 Alexander Larsson <alexl@redhat.com> 1.0.1-15
- Moved gnome-conf and pkgconfig files to the devel package
- Fixes SHOULD-FIX bug #49795
* Mon Aug 6 2001 Alexander Larsson <alexl@redhat.com> 1.0.1-14
- Added a patch that fixed AbiWord mimetype handling.
* Fri Jul 27 2001 Jonathan Blandford <jrb@redhat.com>
- Add .desktop file sniffing
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
- don't do the giant trash scan thing; did not play nice
with NFS.
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
- fix desktop-file.conf file
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
- change some URI scheme names
* Fri Jul 20 2001 Alexander Larsson <alexl@redhat.com>
- Add pkgconfig and gnome-libs-devel build reqs.
- Remove dependency on gnome-vfs-devel by doing some
- CPPFLAGS and LDFLAGS magic
* Wed Jul 11 2001 Havoc Pennington <hp@redhat.com>
- add missing directories
* Tue Jul 10 2001 Havoc Pennington <hp@redhat.com>
- fix a segv
- change which dirs the desktop VFS module points to
* Sun Jul 08 2001 Havoc Pennington <hp@redhat.com>
- add desktop VFS module hack
* Fri Jul 6 2001 Trond Eivind Glomsr<73>d <teg@redhat.com>
- Remove Distribution and Vendor
- Make the config files noreplace
- Move .so links to devel subpackage
- langify
- Add BuildRequires
- Don't mess with /etc/ld.so.conf
- Use %%{_tmppath}
- s/Copyright/License/
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Wed May 9 2001 Jonathan Blandford <jrb@redhat.com>
- New Version.
* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
- New Version.
- clean up spec file some.
* Mon Feb 19 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- fix paths and macros
* Tue Feb 22 2000 Ross Golder <rossigee@bigfoot.com>
- Integrate into source tree