]> git.pld-linux.org Git - packages/arpscan.git/commitdiff
- initital pld version auto/ac/arpscan-0_5-1
authorundefine <undefine@pld-linux.org>
Fri, 12 Nov 2004 16:14:25 +0000 (16:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arpscan.spec -> 1.1

arpscan.spec [new file with mode: 0644]

diff --git a/arpscan.spec b/arpscan.spec
new file mode 100644 (file)
index 0000000..b62c216
--- /dev/null
@@ -0,0 +1,46 @@
+Summary:       Very simple ARP scanner
+Summary(pl):   Prosty skaner ARP
+Name:          arpscan
+Version:       0.5
+Release:       1
+License:       GPL
+Group:         Networking/Admin
+URL:           http://wizard.ae.krakow.pl/~jb/arpscan/
+Source0:       http://wizard.ae.krakow.pl/~jb/arpscan/%{name}-%{version}.tar.gz
+# Source0-md5: 681fdb51baa8f52492e2275dafca3307
+Source1:       http://standards.ieee.org/regauth/oui/oui.txt
+BuildRequires: gawk
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Arpscan is a utility that scans local network using ARP protocol and
+reports alive hosts. Program is designed for Linux.
+
+%description -l pl
+Arpscan jest narzêdziem skanuj±cym sieæ lokaln± korzystaj±c z
+protoko³u ARP i wypisuj±cym aktywne komputery. Program jest
+przeznaczony dla linuksa.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+       CC=%{__cc} \
+       CFLAGS="%{rpmcflags} -DVER=\$(VERSION) -DOUI=\$(OUI)" \
+       OUI=%{_datadir}/%{name}/oui
+
+gawk -f oui.awk %{SOURCE1} >oui
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
+install -D oui $RPM_BUILD_ROOT%{_datadir}/%{name}/oui
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+%{_datadir}/%{name}
This page took 0.085429 seconds and 4 git commands to generate.