]>
Commit | Line | Data |
---|---|---|
642984f6 | 1 | Summary: Ethernet Bridge Tables |
2 | Name: ebtables | |
3 | Version: 2.0.2 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Networking/Daemons | |
7 | URL: http://ebtables.sourceforge.net/ | |
8 | Source0: http://ebtables.sourceforge.net/v2.0/v2.0./%{name}-v%{version}.tar.gz | |
9 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
10 | ||
11 | %description | |
12 | The ebtables project is the Linux 2.5.x (and above) Link Layer | |
13 | firewalling subsystem, a patch for 2.4.x is maintained too. It | |
14 | delivers for Linux the functionality of Ethernet frame filtering, all | |
15 | kinds of frame NAT (Network Address Translation) and frame matching. | |
16 | The ebtables infrastructure is a part of the standard Linux 2.5.x (and | |
17 | above) kernels. | |
18 | ||
19 | %prep | |
20 | %setup -q -n %{name}-v%{version} | |
21 | ||
22 | %build | |
23 | %{__make} CC="%{__cc}" | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -D ebtables $RPM_BUILD_ROOT%{_sbindir}/ebtables | |
28 | install -D ebtables.8 $RPM_BUILD_ROOT%{_mandir}/man8/ebtables.8 | |
29 | ||
30 | %clean | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %files | |
34 | %defattr(644,root,root,755) | |
35 | %doc ChangeLog | |
36 | %attr(755,root,root) %{_sbindir}/* | |
37 | %{_mandir}/man8/* |