]> git.pld-linux.org Git - packages/ftpfs.git/blob - ftpfs.spec
- add BuildRequires: awk
[packages/ftpfs.git] / ftpfs.spec
1 Summary:        FTP File System 
2 Summary(pl):    FTP File System 
3 Name:           ftpfs
4 Version:        0.2.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:  awk
13 BuildRequires:  tar
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 FTP File System is a Linux kernel module, enhancing the VFS with FTP
18 volume mounting capabilities. That is, you can "mount" FTP shared
19 directories in your very personal file system and take advantage of
20 local files ops.
21
22 %description -l pl
23 FTP File System
24
25 %prep
26
27 %setup  -q -n ftpfs-0.2.1-k2.4
28
29 %build
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 tar czf docs.tar.gz docs
36
37 KERNEL_VERSION=`awk 'BEGIN {FS="\""} /^#define UTS_RELEASE/ { print $2}' < %{_includedir}/linux/version.h`
38 install -D ftpfs.o $RPM_BUILD_ROOT/lib/modules/$KERNEL_VERSION/fs/ftpfs.o
39
40 %post
41 /sbin/depmod -a
42         
43 %postun
44 /sbin/depmod -a
45         
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 /lib/modules/*/*/*
52 %doc docs.tar.gz
This page took 0.061566 seconds and 3 git commands to generate.