]> git.pld-linux.org Git - packages/arping.git/blob - arping.spec
- updated to 2.23
[packages/arping.git] / arping.spec
1 Summary:        ARPing - ping an address by ARP packets
2 Summary(pl.UTF-8):      ARPing - pingowanie adresów pakietami ARP
3 Name:           arping
4 Version:        2.23
5 Release:        1
6 License:        GPL v2
7 Group:          Networking/Admin
8 Source0:        https://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  538a27fcce5262331419518c032598da
10 Patch0:         %{name}-nolibs.patch
11 URL:            https://www.habets.pp.se/synscan/programs_arping.html
12 BuildRequires:  autoconf >= 2.61
13 BuildRequires:  automake
14 BuildRequires:  libcap-devel
15 BuildRequires:  libnet-devel > 1.1
16 BuildRequires:  libpcap-devel
17 BuildRequires:  libseccomp-devel
18 Requires:       bc
19 Obsoletes:      iputils-arping
20 Conflicts:      iputils <= 1:ss021109-2
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 arping pings given address on given device by ARP packets, using given
25 source address.
26
27 %description -l pl.UTF-8
28 arping pinguje podany adres na podanym interfejsie wysyłając pakiety
29 ARP.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__aclocal}
37 %{__autoconf}
38 %{__automake}
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 cp -p extra/arping-scan-net.sh \
49         $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README
57 %attr(4754,root,adm) %{_sbindir}/arping
58 %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh
59 %{_mandir}/man8/arping.8*
This page took 0.062269 seconds and 4 git commands to generate.