This commit is contained in:
committed by
Git OBS Bridge
parent
b231335f43
commit
ee8fd853d0
@@ -14,7 +14,7 @@ Name: wireless-tools
|
||||
BuildRequires: openssl-devel
|
||||
Summary: Tools for a wireless LAN
|
||||
Version: 29pre17
|
||||
Release: 1
|
||||
Release: 2
|
||||
%define wlanng_version 0.2.5
|
||||
Group: Hardware/Other
|
||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), No license agreement found in package
|
||||
@@ -28,10 +28,7 @@ Source2: suse-files.tar.gz
|
||||
Source3: prism2.modprobe
|
||||
Source4: ipw2200.modprobe
|
||||
Source5: README.ipw3945
|
||||
Source30: linux-wlan-ng-%{wlanng_version}.tar.bz2
|
||||
Patch30: linux-wlan-ng.diff
|
||||
Source31: linux-wlan-ng.config
|
||||
Source32: linux-wlan-ng-mkversionh.sh
|
||||
Source6: lwepgen.tar.bz2
|
||||
|
||||
%description
|
||||
This package contain the wireless tools, used to manipulate the
|
||||
@@ -45,19 +42,14 @@ Authors:
|
||||
Jean Tourrilhes <jt@hpl.hp.com>
|
||||
|
||||
%prep
|
||||
%setup30 -q -T -b 30 -n linux-wlan-ng-%{wlanng_version}
|
||||
%patch30
|
||||
cp %{SOURCE31} config.mk
|
||||
cp %{SOURCE32} mkversionh.sh
|
||||
%setup6 -q -T -b 6 -n lwepgen
|
||||
%setup -q -n wireless_tools.29
|
||||
%patch
|
||||
%patch1 -p0
|
||||
|
||||
%build
|
||||
make all
|
||||
(cd ../linux-wlan-ng-%{wlanng_version} ; ./mkversionh.sh )
|
||||
make CFLAGS="$RPM_OPT_FLAGS" HOST_CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
-C ../linux-wlan-ng-%{wlanng_version}
|
||||
make CFLAGS="$RPM_OPT_FLAGS"
|
||||
make CFLAGS="$RPM_OPT_FLAGS" -C ../lwepgen
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_sbindir}
|
||||
@@ -69,16 +61,11 @@ make INSTALL_DIR="${RPM_BUILD_ROOT}/%{_sbindir}" \
|
||||
DOCDIR=%{_defaultdocdir}/wireless-tools \
|
||||
PREFIX="${RPM_BUILD_ROOT}/usr" \
|
||||
install
|
||||
make -C ../linux-wlan-ng-%{wlanng_version} \
|
||||
TARGET_ROOT_ON_HOST=%{buildroot} \
|
||||
TARGET_INST_EXEDIR=%{buildroot}/%{_sbindir} install
|
||||
mkdir -p ../wlan-ng
|
||||
cp -a ../linux-wlan-ng-%{wlanng_version}/etc/wlan/{wlan*,shared} ../wlan-ng
|
||||
cp -a ../linux-wlan-ng-%{wlanng_version}/etc/rc.wlan ../wlan-ng
|
||||
tar xvvzf %{SOURCE2}
|
||||
install -m755 install_intersil_firmware %{buildroot}/usr/sbin
|
||||
install -m755 install_acx100_firmware %{buildroot}/usr/sbin
|
||||
install -m755 switch_prism_driver %{buildroot}/usr/sbin
|
||||
install -m755 ../lwepgen/lwepgen %{buildroot}/usr/sbin
|
||||
mkdir -p %{buildroot}/etc/modprobe.d
|
||||
install -m644 %{SOURCE3} %{buildroot}/etc/modprobe.d/prism2
|
||||
install -m644 %{SOURCE4} %{buildroot}/etc/modprobe.d/ipw2200
|
||||
@@ -98,9 +85,13 @@ test -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/*
|
||||
/etc/modprobe.d/*
|
||||
%doc %attr(644,root,root) %{_mandir}/man*/*
|
||||
%doc CHANGELOG.h INSTALL PCMCIA.txt README* ../wlan-ng
|
||||
%doc CHANGELOG.h INSTALL PCMCIA.txt README*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 22 2007 - jg@suse.de
|
||||
- removed linux-wlan-ng (separate package now)
|
||||
- added lwepgen
|
||||
- updated README.ipw3945
|
||||
* Mon Mar 19 2007 - jg@suse.de
|
||||
- update to version 29pre17, changes:
|
||||
* Tweak man pages : interface is often optional [iwlist.8/iwspy.8]
|
||||
|
Reference in New Issue
Block a user