Name: iw Version: 0.9.5 Release: 1%{?dist} Summary: A nl80211 based wireless configuration tool Group: System Environment/Base License: BSD URL: http://www.linuxwireless.org/en/users/Documentation/iw # Generate tarball: # git clone http://git.sipsolutions.net/iw.git # cd iw # git-archive --format=tar --prefix=iw-%{version}/ v%{version} | bzip2 > iw-%{version}.tar.bz2 Source0: iw-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kernel-devel >= 2.6.24 BuildRequires: libnl-devel %description iw is a new nl80211 based CLI configuration utility for wireless devices. Currently you can only use this utility to configure devices which use a mac80211 driver as these are the new drivers being written - only because most new wireless devices being sold are now SoftMAC. %prep %setup -q %build cp defconfig .config make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT install -D -p -m 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/%{name} %doc COPYING %changelog * Sun Sep 28 2008 Adel Gadllah 0.9.5-1 - Update to 0.9.5 * Tue Jul 22 2008 Adel Gadllah 0.0-0.3.20080703gitf6fc7dc - Add commitid to version - Use versioned buildrequires for kernel-devel * Thu Jul 3 2008 Adel Gadllah 0.0-0.2.20080703git - Add tarball instructions - Fix install - Fix changelog * Thu Jul 3 2008 Adel Gadllah 0.0-0.1.20080703git - Initial build