]> git.pld-linux.org Git - packages/iw.git/blobdiff - iw.spec
- updated to 3.11
[packages/iw.git] / iw.spec
diff --git a/iw.spec b/iw.spec
index e0fd7307393427ad35d267d831b6706784d0643a..db5bfa9be8336c2cfae6c74e5073ad5b4106312b 100644 (file)
--- a/iw.spec
+++ b/iw.spec
@@ -1,13 +1,16 @@
-Summary:       nl80211 based CLI
+Summary:       iw - utility to show or manipulate wireless devices and their configuration
+Summary(pl.UTF-8):     iw - narzędzie do wyświetlania i modyfikowania konfiguracji urządzeń bezprzewodowych
 Name:          iw
-Version:       0.9.15
+Version:       3.11
 Release:       1
 License:       BSD
 Group:         Networking/Admin
-Source0:       http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
-# Source0-md5: 98ba12eceec5a4ae8aa2d51abd56fa14
+# note: as of 3.11, .bz2 is smaller than .xz
+Source0:       http://kernel.org/pub/software/network/iw/%{name}-%{version}.tar.bz2
+# Source0-md5: e633cf7c875c7d8b547abafc0d95f6c4
 URL:           http://wireless.kernel.org/en/users/Documentation/iw
-BuildRequires: libnl-devel
+BuildRequires: libnl-devel >= 1:3.2
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
@@ -16,13 +19,20 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 iw is a new nl80211 based CLI configuration utility for wireless
 devices.
 
+%description -l pl.UTF-8
+iw to nowe, oparte na sterowniku nl80211, działające z linii poleceń
+narzędzie do konfiguracji urządzeń bezprzewodowych.
+
 %prep
 %setup -q
 
+sed -i -e 's#git rev-parse#false#g' version.sh
+
 %build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
 %{__make} \
-       V=1 \
-       CC="%{__cc}"
+       V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -36,6 +46,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%doc COPYING README
+%attr(755,root,root) %{_sbindir}/iw
+%{_mandir}/man8/iw.8*
This page took 0.072731 seconds and 4 git commands to generate.