]> git.pld-linux.org Git - packages/arping.git/blob - arping.spec
f7a6ce4a10dfc206a202741eacffb8f75f8715b7
[packages/arping.git] / arping.spec
1 #
2
3 Summary:        ARPing
4 Summary(pl):    ARPing
5 Name:           arping
6 Version:        2.04
7 Release:        0.1
8 #Epoch:
9 License:        GPL
10 Group:          Networking/Admin
11 Source0:        ftp://ftp.habets.pp.se/pub/synscan/%{name}-%{version}.tar.gz
12 # Source0-md5:
13 #Patch0:
14 BuildRequires:  linux-libc-headers
15 BuildRequires:  libnet-devel
16 BuildRequires:  libpcap-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 - arping Ping <address> on device <interface> by ARP packets, using
21   source address <source>,
22
23 %description -l pl
24 - arping Pinguje <adres> na interfejsie <interfejs> wysy³aj±c pakiety
25   ARP,
26
27 %prep
28 %setup  -q -n %{name}-%{version}
29 #%patch0 -p0
30
31 %build
32
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
38 install -d -m 755 $RPM_BUILD_ROOT%{_usr}/doc
39 install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
40 install -c arping $RPM_BUILD_ROOT%{_sbindir}/arping
41 install -c arping $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
42 install -c README $RPM_BUILD_ROOT%{_usr}/doc/README
43 install -c arping.8 $RPM_BUILD_ROOT%{_mandir}/man8/arping.8
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %attr(4754,root,adm) %{_sbindir}/arping
51 %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh
52 %{_mandir}/man8/arping.8*
53 %doc %{_usr}/doc/*
This page took 0.077501 seconds and 2 git commands to generate.