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