38899bb
%define pre_release 0
dac21d5
%if %{pre_release}
259eab8
%define pre_version .pre22
08c6800
%endif
8bacf55
cvsdist d61f580
Summary: Wireless ethernet configuration tools
cvsdist d61f580
Group: System Environment/Base
259eab8
License: GPL+
cvsdist d61f580
Name: wireless-tools
841a215
Version: 29
765d3a0
Release: 14.1%{?pre_version}%{?dist}
cvsdist 280ab51
Epoch: 1
cvsdist d61f580
URL: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
dac21d5
Source: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.%{version}%{?pre_version}.tar.gz
841a215
Patch1: wireless-tools-29-makefile.patch
cvsdist d61f580
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist d61f580
11a1671
# This is artificial, for packaging purposes.  The presumption is that
11a1671
# wireless users will install this package, so they will want crda too.
11a1671
# This avoids adding a Requires to the kernel package that would affect
11a1671
# non-wireless users as well.
11a1671
Requires: crda
11a1671
cvsdist d61f580
%description
cvsdist d61f580
This package contain the Wireless tools, used to manipulate
cvsdist d61f580
the Wireless Extensions. The Wireless Extension is an interface
cvsdist d61f580
allowing you to set Wireless LAN specific parameters and get the
dac21d5
specific stats for wireless networking equipment.
dac21d5
dac21d5
%package devel
dac21d5
Summary: Development headers for the wireless-tools package
dac21d5
Group: Development/Libraries
dac21d5
Requires: wireless-tools = %{epoch}:%{version}-%{release}
dac21d5
dac21d5
%description devel
dac21d5
Development headers for the wireless-tools package.
dac21d5
cvsdist d61f580
cvsdist d61f580
%prep
dac21d5
%if %{pre_release}
dac21d5
if [ "$(echo %{release} | sed -e 's/\..*$//')" -ne "0" ]; then
dac21d5
  echo "*** The Release: value for a pre-release version must be less than 1. ***"
dac21d5
  exit 1
dac21d5
fi
dac21d5
%endif
dac21d5
38899bb
%setup -q -n wireless_tools.%{version}
cvsdist 60acd71
%patch1 -p1 -b .makefile
cvsdist d61f580
cvsdist d61f580
%build
cvsdist d61f580
make clean
cvsdist 99e8d7b
make OPT_FLAGS="$RPM_OPT_FLAGS" BUILD_SHARED=1 FORCE_WEXT_VERSION=16
cvsdist d61f580
cvsdist d61f580
%install
dac21d5
%{__rm} -rf $RPM_BUILD_ROOT
cvsdist d61f580
dac21d5
%{__mkdir_p} $RPM_BUILD_ROOT{/sbin,/%{_lib},%{_mandir}/man8,%{_includedir},%{_libdir}}
cvsdist d61f580
cvsdist 0478dbe
make install INSTALL_DIR=$RPM_BUILD_ROOT/sbin \
cvsdist 66ef989
	INSTALL_LIB=$RPM_BUILD_ROOT/%{_lib} \
cvsdist 0478dbe
	INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \
cvsdist 0478dbe
	INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir}
dac21d5
%{__rm} -f $RPM_BUILD_ROOT/%{_lib}/libiw.{a,so}
38899bb
ln -sf ../../%{_lib}/libiw.so.%{version} \
38899bb
       $RPM_BUILD_ROOT%{_libdir}/libiw.so
cvsdist d61f580
cvsdist 4627356
%clean
dac21d5
%{__rm} -rf $RPM_BUILD_ROOT
cvsdist 4627356
cvsdist 0478dbe
%post -p /sbin/ldconfig
cvsdist 0478dbe
%postun -p /sbin/ldconfig
cvsdist 0478dbe
cvsdist d61f580
%files
dac21d5
%defattr(-,root,root,-)
cvsdist b08a0b1
%doc INSTALL README DISTRIBUTIONS.txt
cvsdist d61f580
/sbin/*
cvsdist d61f580
%{_mandir}/man*/*
dac21d5
/%{_lib}/*.so.*
dac21d5
dac21d5
%files devel
dac21d5
%defattr(-,root,root,-)
cvsdist 0478dbe
%{_includedir}/*
cvsdist 66ef989
%{_libdir}/*.so
dac21d5
cvsdist d61f580
cvsdist d61f580
%changelog
765d3a0
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:29-14.1
765d3a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
765d3a0
c2533e4
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-13.1
c2533e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c2533e4
7e3ad90
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-12.1
7e3ad90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7e3ad90
d1c0fd8
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-11.1
d1c0fd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d1c0fd8
4823a85
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-10.1
4823a85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4823a85
613a1d4
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-9.1
613a1d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
613a1d4
b66ae61
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-8.1
b66ae61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b66ae61
80ee069
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-7.1
80ee069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
80ee069
7510b3c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-6.1
7510b3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7510b3c
15be3ec
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 29-5.1
15be3ec
- drop excludearch s390x as at least the headers are required to build p.e. NetworkManager
15be3ec
11c6a35
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-5
11c6a35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
11c6a35
10271f7
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:29-4
10271f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
10271f7
11a1671
* Fri Feb 20 2009 John W. Linville <linville@redhat.com> - 1:29-3
11a1671
- Add artificial crda requirement for packaging reasons
11a1671
7066f31
* Mon Feb 18 2008 Christopher Aillon <caillon@redhat.com> - 1:29-2
7066f31
- Rebuild to celebrate my birthday (and GCC 4.3)
7066f31
38899bb
* Sat Dec 22 2007 Christopher Aillon <caillon@redhat.com> - 1:29-1
38899bb
- Update to v29 stable release
38899bb
- Some minor cleanups for merge review
38899bb
38899bb
* Fri Aug 24 2007 Christopher Aillon <caillon@redhat.com> - 1:29-0.2.pre22
9469e78
- Rebuild
9469e78
259eab8
* Mon Aug 13 2007 Christopher Aillon <caillon@redhat.com> - 1:29-0.1.pre22
259eab8
- Update to 29pre22
259eab8
- Update the license tag
259eab8
841a215
* Tue May 22 2007 Christopher Aillon <caillon@redhat.com> - 1:29-0.1.pre21
841a215
- Update to 29pre21
841a215
427310f
* Mon May 14 2007 Christopher Aillon <caillon@redhat.com> - 1:28-3
427310f
- Only the sscanf fixes this time.
427310f
031f0a3
* Mon Apr 30 2007 Christopher Aillon <caillon@redhat.com> - 1:28-2
031f0a3
- Backport a few 64bit alignment fixes from the latest betas.
031f0a3
dac21d5
* Tue Aug 29 2006 Christopher Aillon <caillon@redhat.com> - 1:28-1
dac21d5
- Update to the latest stable release
dac21d5
- Create -devel subpackage for headers
dac21d5
85bdedf
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:28-0.pre16.1.6.1
85bdedf
- rebuild
85bdedf
c8bbb51
* Thu Apr  6 2006 Dan Williams <dcbw@redhat.com> - 1:28-0.pre16.1
c8bbb51
- Update to 28 pre16
c8bbb51
- Rebuild for WE-20
c8bbb51
7c806b9
* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 1:28-0.pre13.5.1
7c806b9
- Update to 28 pre13
7c806b9
1656f13
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:28-0.pre10.5.2
1656f13
- rebuilt for new gcc4.1 snapshot and glibc changes
1656f13
eded5a6
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
eded5a6
- rebuilt
eded5a6
8a5caa2
* Mon Oct 17 2005 Christopher Aillon <caillon@redhat.com> 28-0pre10
8a5caa2
- Update to version 28 pre10
8a5caa2
768d181
* Mon Sep 12 2005 Dan Williams <dcbw@redhat.com> 28-0.pre9
768d181
- Update to version 28 pre9
768d181
08c6800
* Wed Aug 17 2005 Dan Williams <dcbw@redhat.com> 28-0.pre8
08c6800
- Update to 28 pre8
08c6800
Florian La Roche b1da58a
* Fri Aug 05 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche b1da58a
- build with current rpm
Florian La Roche b1da58a
e8623c6
* Mon Jan 17 2005 Dan Williams <dcbw@redhat.com> 28-0.pre4
e8623c6
- Update to latest wireless-tools
e8623c6
8c47057
* Mon Nov 08 2004 Dan Williams <dcbw@redhat.com> 27-0.pre25-4
a5a2119
- Fix massive leak in iw_process_scan()
a5a2119
riel 78ebf41
* Mon Sep 27 2004 Rik van Riele <riel@redhat.com> 27-0.pre25-2
riel 78ebf41
- compile with RPM_OPT_FLAGS (bz#133651)
riel 78ebf41
cvsdist 280ab51
* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> 27-0.pre25.1
cvsdist 280ab51
- update to 27.pre25
cvsdist 280ab51
cvsdist 60acd71
* Wed Jun 23 2004 Dan Williams <dcbw@redhat.com>
cvsdist 60acd71
- Upgrade to 27.pre23 to get new wireless scanning API
cvsdist 60acd71
cvsdist 444f207
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 444f207
- rebuilt
cvsdist 444f207
cvsdist 99e8d7b
* Mon Mar 15 2004 Bill Nottingham <notting@redhat.com>
cvsdist 99e8d7b
- force wireless extensions to current (#115707)
cvsdist 99e8d7b
cvsdist 99e8d7b
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 99e8d7b
- rebuilt
cvsdist 99e8d7b
cvsdist 99e8d7b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 99e8d7b
- rebuilt
cvsdist 99e8d7b
cvsdist 99e8d7b
* Sun Aug 31 2003 Bill Nottingham <notting@redhat.com> 26-2
cvsdist 99e8d7b
- rebuild in different environment (#103475)
cvsdist 99e8d7b
cvsdist bd98b7a
* Sun Aug 10 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist bd98b7a
- release 26
cvsdist bd98b7a
cvsdist bd98b7a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist bd98b7a
- rebuilt
cvsdist bd98b7a
cvsdist bd98b7a
* Sun Mar 09 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist bd98b7a
- also change destination of the symlink
cvsdist bd98b7a
cvsdist 66ef989
* Mon Feb 17 2003 Bill Nottingham <notting@redhat.com> 25-8
cvsdist 66ef989
- fix symlink (#84021)
cvsdist 66ef989
cvsdist 66ef989
* Mon Feb 10 2003 Bill Nottingham <notting@redhat.com> 25-7
cvsdist 66ef989
- fix symlink (#84021)
cvsdist 66ef989
cvsdist 66ef989
* Fri Feb  7 2003 Bill Nottingham <notting@redhat.com> 25-6
cvsdist 66ef989
- remove broken specfile defines, fix makefile (#82423)
cvsdist 66ef989
cvsdist 66ef989
* Wed Feb  5 2003 Bill Nottingham <notting@redhat.com> 25-5
cvsdist 66ef989
- rebuild against new glibc-kernheaders (#82423)
cvsdist 66ef989
cvsdist 66ef989
* Fri Jan 31 2003 Elliot Lee <sopwith@redhat.com> 25-4
cvsdist 66ef989
- Fix for multilib, and fix the .so symlink location.
cvsdist 66ef989
cvsdist 66ef989
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 66ef989
- rebuilt
cvsdist 66ef989
cvsdist 66ef989
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 25-2
cvsdist 66ef989
- rebuild on all arches
cvsdist 66ef989
38899bb
* Mon Aug 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 25-1
cvsdist b08a0b1
- v25 - fixes encryption usage display, eternal loops for unknown 
cvsdist b08a0b1
  events and matches the v13 wireless extensions as shipped in
cvsdist b08a0b1
  kernel (#72582)
cvsdist b08a0b1
cvsdist 00d3f91
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 00d3f91
- automated rebuild
cvsdist 00d3f91
38899bb
* Thu Jun 20 2002 Trond Eivind Glomsrød <teg@redhat.com> 24-1
cvsdist 1a71c9d
- v24
cvsdist 1a71c9d
cvsdist 1a71c9d
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 1a71c9d
- automated rebuild
cvsdist 1a71c9d
cvsdist 3654785
* Thu Mar 21 2002 Bill Nottingham <notting@redhat.com> 23-2
cvsdist 3654785
- rebuild against new headers
cvsdist 3654785
cvsdist 0478dbe
* Thu Feb 28 2002 Elliot Lee <sopwith@redhat.com> 23-1
cvsdist 0478dbe
- Update to version 23, with associated fixes.
cvsdist 0478dbe
cvsdist 74768b0
* Sun Jul  8 2001 Bill Nottingham <notting@redhat.com>
cvsdist 74768b0
- rebuild against new kernel
cvsdist 74768b0
cvsdist b7a995a
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist b7a995a
- add ExcludeArch: s390 s390x
cvsdist 4c21826
cvsdist f18c1c7
* Sun Apr 22 2001 Bill Nottingham <notting@redhat.com>
cvsdist f18c1c7
- update to version 21
cvsdist f18c1c7
cvsdist 4627356
* Wed Feb 14 2001 Bill Nottingham <notting@redhat.com>
cvsdist 4627356
- fix build with glibc-2.2
cvsdist 4627356
- also, rebuild so it no longer dumps core. :)
cvsdist 4627356
cvsdist 4627356
* Tue Dec 05 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 4627356
- added a clean section in the spec file
cvsdist 4627356
cvsdist d61f580
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist d61f580
- automatic rebuild
cvsdist d61f580
cvsdist d61f580
* Fri Mar 10 2000 Bill Nottingham <notting@redhat.com>
cvsdist d61f580
- initial build