1 # Your kernel version, tries to auto-detect here
2 %define kernelversion %(uname -r)
7 Summary: lufs - Linux Userland File System
13 Source0: %{name}-%{version}.tar.gz
14 Patch1: lufs-rpmbuild.patch
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libtool
19 #BuildRequires: kernel-source = %{kernelversion}
21 Requires: kernel = %{kernelversion}
23 BuildRoot: /tmp/buildroot-%{name}-%{version}
26 LUFS is a hybrid userspace filesystem framework supporting many filesystems:
27 sshfs, ftpfs, localfs, locasefs, gvfs, cardfs, cefs, etc. Lots of other
28 "exotic" filesystems are in the planning phase: socketfs, httpfs, freenetfs
43 --with-kernel=%{kernelversion} \
44 --with-kheaders=/lib/modules/%{kernelversion}/build/include
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
58 ln -s /usr/bin/auto.sshfs /etc/auto.sshfs
59 ln -s /usr/bin/auto.ftpfs /etc/auto.ftpfs
60 ln -s /usr/bin/lufsd /sbin/mount.lufs
64 if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
70 if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
78 rm -f /sbin/mount.lufs
82 %defattr(644,root,root)
84 /lib/modules/%{kernelversion}/kernel/fs/lufs/lufs.o
87 %defattr(755,root,root)
96 # These are SUID root...
98 %defattr(4755,root,root)
104 * Sun Nov 24 2002 Dave Wilson <dave@...>