]> git.pld-linux.org Git - packages/arping.git/commitdiff
- add spec to cvs
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Sun, 23 Jan 2005 13:36:10 +0000 (13:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- TODO remove arping in ip-utils.spec

Changed files:
    arping.spec -> 1.1

arping.spec [new file with mode: 0644]

diff --git a/arping.spec b/arping.spec
new file mode 100644 (file)
index 0000000..8690f98
--- /dev/null
@@ -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/*
This page took 0.108341 seconds and 4 git commands to generate.