]> git.pld-linux.org Git - packages/arping.git/blobdiff - arping.spec
- release 3
[packages/arping.git] / arping.spec
index 2e35ed9d27a8aee98cd28174d59d7f9efe09648a..317f64414970f1ba0344542015e136282ae5e7ee 100644 (file)
@@ -1,15 +1,17 @@
-# TODO: optflags
 Summary:       ARPing - ping an address by ARP packets
-Summary(pl):   ARPing - pingowanie adresów pakietami ARP
+Summary(pl.UTF-8):     ARPing - pingowanie adresów pakietami ARP
 Name:          arping
-Version:       2.04
-Release:       0.1
-License:       GPL
+Version:       2.08
+Release:       3
+License:       GPL v2
 Group:         Networking/Admin
 Source0:       ftp://ftp.habets.pp.se/pub/synscan/%{name}-%{version}.tar.gz
-# Source0-md5: 5fbf10272dcb5040cbfb4d540179fb99
+# Source0-md5: 36dba82f8a6084b634aa6f4aac6225c6
+URL:           http://www.habets.pp.se/synscan/programs.php?prog=arping
 BuildRequires: libnet-devel
 BuildRequires: libpcap-devel
+BuildRequires: sed >= 4.0
+Requires:      bc
 Provides:      arping
 Obsoletes:     arping
 Obsoletes:     iputils-arping
@@ -20,15 +22,19 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 arping pings given address on given device by ARP packets, using given
 source address.
 
-%description -l pl
-arping pinguje podany adres na podanym interfejsie wysy³aj±c pakiety
+%description -l pl.UTF-8
+arping pinguje podany adres na podanym interfejsie wysyłając pakiety
 ARP.
 
 %prep
 %setup -q
+sed '/CC.*arping-2/s/-g/$(CFLAGS)/' \
+       -i Makefile
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.087378 seconds and 4 git commands to generate.