summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2005-01-24 19:49:18 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit902dc5f6ad927c951cfa99d0033a3cc430d52d9c (patch)
tree21a410655a15fe71c02c59a154cb7330fd93c030
parentb29c7cef489badf1cca51b34615b75dd5bae3938 (diff)
downloadarping-902dc5f6ad927c951cfa99d0033a3cc430d52d9c.zip
arping-902dc5f6ad927c951cfa99d0033a3cc430d52d9c.tar.gz
- cleanups
- llh is already required by glibc-devel (required by rpm-build) - Conflicts with iputils containing arping Changed files: arping.spec -> 1.6
-rw-r--r--arping.spec27
1 files changed, 13 insertions, 14 deletions
diff --git a/arping.spec b/arping.spec
index f76014d..572871f 100644
--- a/arping.spec
+++ b/arping.spec
@@ -1,6 +1,6 @@
-
-Summary: ARPing
-Summary(pl): ARPing
+# TODO: optflags
+Summary: ARPing - ping an address by ARP packets
+Summary(pl): ARPing - pingowanie adresów pakietami ARP
Name: arping
Version: 2.04
Release: 0.1
@@ -8,36 +8,35 @@ License: GPL
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
BuildRequires: libpcap-devel
Provides: arping
Obsoletes: arping
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,
+arping pinguje podany adres na podanym interfejsie wysyłając pakiety
+ARP.
%prep
%setup -q
%build
-
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
-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 arping.8 $RPM_BUILD_ROOT%{_mandir}/man8/arping.8
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+
+install arping $RPM_BUILD_ROOT%{_sbindir}/arping
+install arping $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
+install arping.8 $RPM_BUILD_ROOT%{_mandir}/man8/arping.8
%clean
rm -rf $RPM_BUILD_ROOT