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