diff --git a/.cvsignore b/.cvsignore index e69de29..3eabba5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +iw-0.0.20080703gitf6fc7dc.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..b32ee56 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +iw-0_0-0_3_20080703gitf6fc7dc_fc9:HEAD:iw-0.0-0.3.20080703gitf6fc7dc.fc9.src.rpm:1216747228 diff --git a/iw.spec b/iw.spec new file mode 100644 index 0000000..89d0d17 --- /dev/null +++ b/iw.spec @@ -0,0 +1,61 @@ +%define git_date 20080703 +%define git_version f6fc7dc +Name: iw +Version: 0.0 +Release: 0.3.%{git_date}git%{git_version}%{?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/ %{git_version} | bzip2 > iw-0.0.`date +%Y%m%d`git%{git_version}.tar.bz2 +Source0: iw-0.0.%{git_date}git%{git_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 -n %{name} + + +%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 +* 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 diff --git a/sources b/sources index e69de29..78b9300 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +afb357f3eb058c72385e7256a36660a2 iw-0.0.20080703gitf6fc7dc.tar.bz2