]> git.pld-linux.org Git - packages/ftpfs.git/blob - ftpfs.spec
- Initial PLD version
[packages/ftpfs.git] / ftpfs.spec
1 Summary:        FTP File System 
2 Summary(pl):    FTP File System 
3 Name:           ftpfs
4 Version:        0.1.1
5 Release:        1
6 License:        GPL
7 Group:          Base/Kernel
8 Group(de):      Grundsätzlich/Kern
9 Group(pl):      Podstawowe/J±dro
10 Source0:        http://ftp1.sourceforge.net/ftpfs/%{name}-%{version}-k2.4.tar.gz
11 BuildRequires:  kernel-headers >= 2.4
12 BuildRequires:  tar
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 FTP File System is a Linux kernel module, enhancing the VFS with FTP
17 volume mounting capabilities. That is, you can "mount" FTP shared
18 directories in your very personal file system and take advantage of
19 local files ops.
20
21 %description -l pl
22 FTP File System
23
24 %prep
25
26 %setup  -q -n ftpfs0.1.1-k2.4
27
28 %build
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 tar czf docs.tar.gz docs
35
36 KERNEL_VERSION=`awk 'BEGIN {FS="\""} /^#define UTS_RELEASE/ { print $2}' < %{_includedir}/linux/version.h`
37 install -D ftpfs.o $RPM_BUILD_ROOT/lib/modules/$KERNEL_VERSION/fs/ftpfs.o
38
39 %post
40 /sbin/depmod -a
41         
42 %postun
43 /sbin/depmod -a
44         
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 /lib/modules/*/*/*
51 %doc docs.tar.gz
This page took 0.040971 seconds and 3 git commands to generate.