1 # Your kernel version, tries to auto-detect here
2 %define kernelversion %(uname -r)
4 Summary: lufs - Linux Userland File System
10 Source0: @PACKAGE@-@VERSION@.tar.gz
11 Patch1: lufs-rpmbuild.patch
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 #BuildRequires: kernel-source = %{kernelversion}
18 Requires: kernel = %{kernelversion}
20 BuildRoot: /tmp/buildroot-@PACKAGE@-@VERSION@
23 LUFS is a hybrid userspace filesystem framework supporting many filesystems:
24 sshfs, ftpfs, localfs, locasefs, gvfs, cardfs, cefs, etc. Lots of other
25 "exotic" filesystems are in the planning phase: socketfs, httpfs, freenetfs
40 --with-kernel=%{kernelversion} \
41 --with-kheaders=/lib/modules/%{kernelversion}/build/include
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
55 ln -s /usr/bin/auto.sshfs /etc/auto.sshfs
56 ln -s /usr/bin/auto.ftpfs /etc/auto.ftpfs
57 ln -s /usr/bin/lufsd /sbin/mount.lufs
61 if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
67 if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
75 rm -f /sbin/mount.lufs
79 %defattr(644,root,root)
81 /lib/modules/%{kernelversion}/kernel/fs/lufs/lufs.o
84 %defattr(755,root,root)
93 # These are SUID root...
95 %defattr(4755,root,root)
101 * Sun Nov 24 2002 Dave Wilson <dave@...>