iw/iw.spec

64 lines
1.7 KiB
RPMSpec
Raw Normal View History

2008-07-22 17:21:23 +00:00
Name: iw
2008-09-28 13:11:10 +00:00
Version: 0.9.5
Release: 1%{?dist}
2008-07-22 17:21:23 +00:00
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
2008-09-28 13:11:10 +00:00
# git-archive --format=tar --prefix=iw-%{version}/ v%{version} | bzip2 > iw-%{version}.tar.bz2
Source0: iw-%{version}.tar.bz2
2008-07-22 17:21:23 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kernel-devel >= 2.6.24
2008-09-28 13:15:10 +00:00
BuildRequires: libnl-devel
BuildRequires: pkgconfig
2008-07-22 17:21:23 +00:00
%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
2008-09-28 13:11:10 +00:00
%setup -q
2008-07-22 17:21:23 +00:00
%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
2008-09-28 13:11:10 +00:00
* Sun Sep 28 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.9.5-1
- Update to 0.9.5
2008-07-22 17:21:23 +00:00
* Tue Jul 22 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.0-0.3.20080703gitf6fc7dc
- Add commitid to version
- Use versioned buildrequires for kernel-devel
* Thu Jul 3 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.0-0.2.20080703git
- Add tarball instructions
- Fix install
- Fix changelog
* Thu Jul 3 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.0-0.1.20080703git
- Initial build