]> git.pld-linux.org Git - packages/arping.git/blobdiff - arping.spec
- updated to 2.23
[packages/arping.git] / arping.spec
index c33aaf59094136dd600b27c29ce03adff0ecb6cb..62ab993908eb289690a5c040eedc24e4ea2eb56b 100644 (file)
@@ -1,52 +1,59 @@
-
-Summary:       ARPing
-Summary(pl):   ARPing
+Summary:       ARPing - ping an address by ARP packets
+Summary(pl.UTF-8):     ARPing - pingowanie adresów pakietami ARP
 Name:          arping
-Version:       2.04
-Release:       0.1
-License:       GPL
+Version:       2.23
+Release:       1
+License:       GPL v2
 Group:         Networking/Admin
-Source0:       ftp://ftp.habets.pp.se/pub/synscan/%{name}-%{version}.tar.gz
-# Source0-md5: 5fbf10272dcb5040cbfb4d540179fb99
-BuildRequires: linux-libc-headers
-BuildRequires: libnet-devel
+Source0:       https://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
+# Source0-md5: 538a27fcce5262331419518c032598da
+Patch0:                %{name}-nolibs.patch
+URL:           https://www.habets.pp.se/synscan/programs_arping.html
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake
+BuildRequires: libcap-devel
+BuildRequires: libnet-devel > 1.1
 BuildRequires: libpcap-devel
-Provides:      arping
-Obsoletes:     arping
+BuildRequires: libseccomp-devel
+Requires:      bc
 Obsoletes:     iputils-arping
+Conflicts:     iputils <= 1:ss021109-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-- arping Ping <address> on device <interface> by ARP packets, using
-  source address <source>,
+arping pings given address on given device by ARP packets, using given
+source address.
 
-%description -l pl
-- arping Pinguje <adres> na interfejsie <interfejs> wysy³aj±c pakiety
-  ARP,
+%description -l pl.UTF-8
+arping pinguje podany adres na podanym interfejsie wysyłając pakiety
+ARP.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
-install -d -m 755 $RPM_BUILD_ROOT%{_usr}/doc
-install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
-install -c arping $RPM_BUILD_ROOT%{_sbindir}/arping
-install -c arping $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
-install -c README $RPM_BUILD_ROOT%{_usr}/doc/README
-install -c arping.8 $RPM_BUILD_ROOT%{_mandir}/man8/arping.8
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+cp -p extra/arping-scan-net.sh \
+       $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(4754,root,adm) %{_sbindir}/arping
 %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh
 %{_mandir}/man8/arping.8*
-%doc %{_usr}/doc/*
This page took 0.181165 seconds and 4 git commands to generate.