summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƂ 'Wolvverine' Panasiewicz2005-01-23 13:36:10 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commiteb0be973c37d32e5d882593a81ee496a3a82fbe2 (patch)
tree69c9f524dad4ee3b9710fb156c0ca934c58072a3
downloadarping-eb0be973c37d32e5d882593a81ee496a3a82fbe2.zip
arping-eb0be973c37d32e5d882593a81ee496a3a82fbe2.tar.gz
- add spec to cvs
- TODO remove arping in ip-utils.spec Changed files: arping.spec -> 1.1
-rw-r--r--arping.spec53
1 files changed, 53 insertions, 0 deletions
diff --git a/arping.spec b/arping.spec
new file mode 100644
index 0000000..8690f98
--- /dev/null
+++ b/arping.spec
@@ -0,0 +1,53 @@
+#
+
+Summary: ARPing
+Summary(pl): ARPing
+Name: arping
+Version: 2.04
+Release: 0.1
+#Epoch:
+License: GPL
+Group: Networking/Admin
+Source0: ftp://ftp.habets.pp.se/pub/synscan/%{name}-%{version}.tar.gz
+# Source0-md5:
+#Patch0:
+BuildRequires: linux-libc-headers
+BuildRequires: libnet-devel
+BuildRequires: libpcap-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+- arping Ping <address> on device <interface> by ARP packets, using
+ source address <source>,
+
+%description -l pl
+- arping Pinguje <adres> na interfejsie <interfejs> wysyłaj±c pakiety
+ ARP,
+
+%prep
+%setup -q -n %{name}-%{version}
+#%patch0 -p0
+
+%build
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}/arping
+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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(4754,root,adm) %{_sbindir}/arping
+%attr(754,root,adm) %{_sbindir}/arping-scan-net.sh
+%{_mandir}/man8/arping.8*
+%doc %{_usr}/doc/*