]> git.pld-linux.org Git - packages/ftpfs.git/blame - ftpfs.spec
- tabs in preamble
[packages/ftpfs.git] / ftpfs.spec
CommitLineData
deda6d67 1# TODO: UP/SMP modules
802e3ed3
JB
2#
3# Conditional build:
517ad89b 4%bcond_without dist_kernel # without kernel from distribution
802e3ed3 5#
deda6d67 6%define smpstr %{?with_smp:-smp}
7%define smp %{?with_smp:1}%{!?with_smp:0}
d8ae1018 8Summary: FTP File System
cd3bd137 9Summary(pl.UTF-8): System plików FTP
cfb63009 10Name: ftpfs
14daeee8 11Version: 0.6.2
12Release: 1
9fcb84cf 13License: GPL
14Group: Base/Kernel
802e3ed3 15Source0: http://dl.sourceforge.net/ftpfs/%{name}-%{version}-k2.4.tar.gz
54ae714a 16# Source0-md5: 5e160de7f7237cdb27e5bc6f234e8c14
cfb63009 17Patch0: %{name}-opt.patch
deda6d67 18%{?with_dist_kernel:BuildRequires: kernel-headers >= 2.4}
75089598 19URL: http://ftpfs.sourceforge.net/
2038eb3f 20BuildRequires: rpmbuild(macros) >= 1.118
9fcb84cf 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24FTP File System is a Linux kernel module, enhancing the VFS with FTP
25volume mounting capabilities. That is, you can "mount" FTP shared
26directories in your very personal file system and take advantage of
27local files ops.
28
6d99c08e
JR
29%description -l pl.UTF-8
30System plików FTP jest modułem jądra rozszerzającym VFS o możliwość
31montowania wolumenów FTP. Oznacza to, że możesz podmontować katalogi
32FTP do swojego systemu plików i korzystać z nich jak z plików
524777ef 33lokalnych.
9fcb84cf 34
cfb63009
JB
35%package -n kernel%{smpstr}-net-ftpfs
36Summary: FTP File System - kernel module
cd3bd137 37Summary(pl.UTF-8): System plików FTP - moduł jądra
cfb63009
JB
38Release: %{release}@%{_kernel_ver_str}
39Group: Base/Kernel
802e3ed3 40Requires(post,postun): /sbin/depmod
cfb63009
JB
41Obsoletes: ftpfs
42Provides: ftpfs = %{version}
43
44%description -n kernel%{smpstr}-net-ftpfs
45FTP File System is a Linux kernel module, enhancing the VFS with FTP
46volume mounting capabilities. That is, you can "mount" FTP shared
47directories in your very personal file system and take advantage of
48local files ops. This package contains ftpfs kernel module.
49
6d99c08e
JR
50%description -n kernel%{smpstr}-net-ftpfs -l pl.UTF-8
51System plików FTP jest modułem jądra rozszerzającym VFS o możliwość
52montowania wolumenów FTP. Oznacza to, że możesz podmontować katalogi
53FTP do swojego systemu plików i korzystać z nich jak z plików
54lokalnych. Ten pakiet zawiera moduł jądra do ftpfs.
cfb63009 55
524777ef
JB
56%package -n ftpmount
57Summary: FTP File System mounting utility
cd3bd137 58Summary(pl.UTF-8): Narzędzie do montowania systemów plików FTP
524777ef 59Group: Applications/System
cfb63009 60Requires: ftpfs = %{version}
9fcb84cf 61
524777ef
JB
62%description -n ftpmount
63FTP File System mounting utility.
64
6d99c08e
JR
65%description -n ftpmount -l pl.UTF-8
66Narzędzie do montowania systemów plików FTP.
524777ef
JB
67
68%prep
eb78182e 69%setup -q -n ftpfs-%{version}-k2.4
ef28e007 70%patch0 -p1
9fcb84cf 71
72%build
524777ef 73%{__make} OPT="%{rpmcflags}"
9fcb84cf 74
75%install
76rm -rf $RPM_BUILD_ROOT
77
524777ef
JB
78install -D ftpfs/ftpfs.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/ftpfs.o
79install -D ftpmount/ftpmount $RPM_BUILD_ROOT%{_sbindir}/ftpmount
9fcb84cf 80
524777ef
JB
81%clean
82rm -rf $RPM_BUILD_ROOT
9fcb84cf 83
802e3ed3 84%post -n kernel%{smpstr}-net-ftpfs
2038eb3f 85%depmod %{_kernel_ver}
cfb63009
JB
86
87%postun -n kernel%{smpstr}-net-ftpfs
2038eb3f 88%depmod %{_kernel_ver}
d8ae1018 89
cfb63009 90%files -n kernel%{smpstr}-net-ftpfs
9fcb84cf 91%defattr(644,root,root,755)
f3d54531 92%doc docs CHANGELOG TODO
9fcb84cf 93/lib/modules/*/*/*
524777ef
JB
94
95%files -n ftpmount
96%defattr(644,root,root,755)
f3d54531 97%doc ftpmount/README
524777ef 98%attr(755,root,root) %{_sbindir}/ftpmount
This page took 0.061738 seconds and 4 git commands to generate.