Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 1a4bd8cff6f0c5b6ae330508fd1692d0 > files > 2

arptables-0.0.3-2mdk.src.rpm

%define	name	arptables
%define version 0.0.3
%define release 2mdk

Summary:	Userspace control program for the arptables network filter
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source:		%{name}-v%{version}-2.tar.bz2
Group:		System/Kernel and hardware
URL:		http://ebtables.sourceforge.net/
License:	GPL
#BuildRequires:  kernel-source >= 2.6.0
Requires:	kernel >= 2.6.0
BuildRoot:	%{_tmppath}/%{name}-v%{version}-root

%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 -q -n %{name}-v%{version}-2

%build

%make COPT_FLAGS="%{optflags}"

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_mandir}/man8
install -d %{buildroot}/sbin

install -m644 arptables.8 %{buildroot}%{_mandir}/man8/
install -m755 arptables %{buildroot}/sbin/

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root,0755)
#%doc ChangeLog INSTALL THANKS
%attr(0755,root,root) /sbin/arptables
%attr(0644,root,root) %{_mandir}/man8/arptables.8*

%changelog
* Fri Dec 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.0.3-2mdk
- x-mas rebuild :)

* Tue Dec 09 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.0.3-1mdk
- initial cooker contrib