-Summary: Arp Tables
-Summary(pl): Arp Tables - filtrowanie pakietów ARP
+Summary: Arp Tables - ARP packets filtering
+Summary(pl.UTF-8): Arp Tables - filtrowanie pakietów ARP
Name: arptables
-Version: 0.0.3
+Version: 0.0.5
Release: 1
-License: GPL
+License: GPL v2+
Group: Networking/Daemons
-Source0: http://dl.sourceforge.net/ebtables/%{name}-v%{version}-2.tar.gz
-# Source0-md5: 283d19292bd99913dc3a42842826c286
-Patch0: %{name}-llh.patch
+Source0: http://ftp.netfilter.org/pub/arptables/%{name}-%{version}.tar.gz
+# Source0-md5: ca6616bedd885ac14dd1af8757fb20fa
URL: http://ebtables.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
arptables is used to set up and maintain the tables of ARP rules in
the Linux kernel. These rules inspect the ARP frames which they see.
-%description -l pl
-arptables s³u¿y do ustawiania i zarz±dzania tablicami regu³ ARP w
-j±drze Linuksa. Regu³y te dozoruj± ramki APR widziane przez system.
+%description -l pl.UTF-8
+arptables służy do ustawiania i zarządzania tablicami reguł ARP w
+jądrze Linuksa. Reguły te dozorują ramki ARP widziane przez system.
%prep
-%setup -q -n %{name}-v%{version}-2
-%patch0 -p1
+%setup -q
%build
%{__make} \
- CC="%{__cc}"
+ CC="%{__cc}" \
+ COPT_FLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
-install -D %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
-install -D %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PREFIX=%{_prefix} \
+ MANDIR=%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%attr(755,root,root) %{_sbindir}/arptables-legacy
+%attr(755,root,root) %{_sbindir}/arptables-restore
+%attr(755,root,root) %{_sbindir}/arptables-save
+%{_mandir}/man8/arptables-legacy.8*
+%{_mandir}/man8/arptables-restore.8*
+%{_mandir}/man8/arptables-save.8*