%define localstatedir /var/lib Name: @PACKAGE@ Summary: Improved http handler for GNOME virtual file-system libraries Version: @VERSION@ Release: 0 License: LGPL Group: System Environment/Libraries Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%name/%name-%{version}.tar.gz URL: http://www.gnome.org/ BuildRoot: /var/tmp/%{name}-root Requires: glib2 >= @GLIB_REQUIRED@ Requires: GConf2 >= @GCONF_REQUIRED@ BuildRequires: GConf2-devel >= @GCONF_REQUIRED@ BuildRequires: libxml2 >= @XML_REQUIRED@ %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, a backend supporting asynchronous file operations, a MIME type manipulation library and other features. This package provides "http" handler named "httpcaptive" which is capable of seek() method. %prep %setup -q %build %configure --enable-more-warnings make %install rm -rf $RPM_BUILD_ROOT make -k sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \ prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} \ libdir=$RPM_BUILD_ROOT%{_libdir} bindir=$RPM_BUILD_ROOT\%{_bindir} \ includedir=$RPM_BUILD_ROOT%{_includedir} install rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-vfs-2.0/modules/libhttpcaptive.a rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-vfs-2.0/modules/libhttpcaptive.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING NEWS README # ChangeLog %config %{_sysconfdir}/gnome-vfs-2.0/modules/*.conf %{_libdir}/gnome-vfs-2.0/modules/*.so %changelog * Sun Dec 15 2001 Ross Golder - fixed broken Name: * Sun Oct 21 2001 Gregory Leblanc - some messing around with Requires: and BuildRequires - cleaned up %files quite a bit (still not quite as good as it could be) - removed a bunch of unnecessary %defines