# $Id$ # Authority: dag ##ExclusiveDist: fc2 fc3 # ExcludeDist: el3 %define _sbindir /sbin %define real_version 0.0.3-2 Summary: Userspace control program for the arptables network filter Name: arptables Version: 0.0.3.2 Release: 1.2 Group: System Environment/Base License: GPL URL: http://ebtables.sourceforge.net/ Source: http://dl.sf.net/ebtables/arptables-v%{real_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root #BuildRequires: kernel-source >= 2.6.0 Requires: kernel >= 2.6.0 %description The arptables utility controls the arpfilter network packet filtering code in the Linux kernel. You do not need this program for normal network firewalling. If you need to manually control which arp requests and/or replies this machine accepts and sends, you should install this package. %prep %setup -n %{name}-v%{real_version} %build %{__make} %{?_smp_mflags} \ COPT_FLAGS="%{optflags}" %install %{__rm} -rf %{buildroot} %{__install} -Dp -m0644 arptables.8 %{buildroot}%{_mandir}/man8/arptables.8 %{__install} -Dp -m0755 arptables %{buildroot}%{_sbindir}/arptables %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc %{_mandir}/man?/arptables.8* %{_sbindir}/arptables %changelog * Sat Apr 08 2006 Dries Verachtert - 0.0.3.2-1.2 - Rebuild for Fedora Core 5. * Thu Jul 22 2004 Dag Wieers - 0.0.3.2-1 - Initial package. (using DAR)