Summary: lufs - Linux Userland File System Name: @PACKAGE@ Version: @VERSION@ Release: 1captive License: GPL Group: Base Source0: @PACKAGE@-@VERSION@.tar.gz Patch1: @PACKAGE@-@VERSION@-captive.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: perl Requires: perl BuildRoot: /tmp/buildroot-@PACKAGE@-@VERSION@ %description LUFS is a hybrid userspace filesystem framework supporting many filesystems: sshfs, ftpfs, localfs, locasefs, gvfs, cardfs, cefs, etc. Lots of other "exotic" filesystems are in the planning phase: socketfs, httpfs, freenetfs and others. %package devel Summary: lufs - Linux Userland File System files for filesystems development Group: Development/Base Requires: lufs = %{PACKAGE_VERSION} %description devel Support for development of 3rd party filesystem modules for LUFS - a hybrid userspace filesystem framework supporting many filesystems: sshfs, ftpfs, localfs, locasefs, gvfs, cardfs, cefs, etc. %prep %setup -q %patch1 -p1 %build %{__aclocal} %{__libtoolize} --force %{__autoheader} %{__automake} --add-missing %{__autoconf} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post ln -s %{_bindir}/auto.sshfs /etc/auto.sshfs ln -s %{_bindir}/auto.ftpfs /etc/auto.ftpfs ln -s %{_bindir}/lufsd /sbin/mount.lufs depmod -a if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi modprobe lufs %preun if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi %postun depmod -a rm -f /etc/auto.sshfs rm -f /etc/auto.ftpfs rm -f /sbin/mount.lufs %files %defattr(644,root,root) /etc/lufsd.conf %{_datadir}/lufs %defattr(755,root,root) %{_bindir}/lufsd %{_bindir}/lussh %{_bindir}/lufsmount %{_bindir}/lufsmnt %{_bindir}/auto.sshfs %{_bindir}/auto.ftpfs %{_libdir}/lib*.so* %{_mandir}/man*/lufs* # These are SUID root... %defattr(4755,root,root) %{_bindir}/lufsmnt-bin %{_bindir}/lufsumount %files devel %defattr(644,root,root) %{_includedir}/lufs %{_libdir}/lib*.la %changelog * Wed Aug 20 2003 Jan Kratochvil - rewritten for AutoGen as a support subsystem of Captive project * Sun Nov 24 2002 Dave Wilson - initial version