]>
Commit | Line | Data |
---|---|---|
c4abf26a | 1 | Summary: Arp Tables |
eba6ad0c | 2 | Summary(pl.UTF-8): Arp Tables - filtrowanie pakietów ARP |
c4abf26a | 3 | Name: arptables |
4 | Version: 0.0.3 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Networking/Daemons | |
c1c55fe6 | 8 | Source0: http://dl.sourceforge.net/ebtables/%{name}-v%{version}-2.tar.gz |
9 | # Source0-md5: 283d19292bd99913dc3a42842826c286 | |
c4abf26a | 10 | Patch0: %{name}-llh.patch |
11 | URL: http://ebtables.sourceforge.net/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
c1c55fe6 | 15 | arptables is used to set up and maintain the tables of ARP rules in |
16 | the Linux kernel. These rules inspect the ARP frames which they see. | |
c4abf26a | 17 | |
eba6ad0c JR |
18 | %description -l pl.UTF-8 |
19 | arptables służy do ustawiania i zarządzania tablicami reguł ARP w | |
20 | jądrze Linuksa. Reguły te dozorują ramki APR widziane przez system. | |
2abb5938 | 21 | |
c4abf26a | 22 | %prep |
23 | %setup -q -n %{name}-v%{version}-2 | |
24 | %patch0 -p1 | |
25 | ||
26 | %build | |
27 | %{__make} \ | |
28 | CC="%{__cc}" | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -D %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} | |
33 | install -D %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8 | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %attr(755,root,root) %{_sbindir}/* | |
41 | %{_mandir}/man8/* |