remove bin/iwlist symlink [release 30.pre9-2mamba;Tue Jul 11 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:28:05 +01:00
parent 05d501a923
commit 094c7ebbda

View File

@ -1,19 +1,21 @@
%define majver %(echo %version | cut -d. -f1) %define majver %(echo %version | cut -d. -f1)
Name: wireless_tools Name: wireless_tools
Version: 30.pre9 Version: 30.pre9
Release: 1mamba Release: 2mamba
Summary: A set of tools allowing to manipulate the Wireless Extensions Summary: A set of tools allowing to manipulate the Wireless Extensions
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html URL: https://hewlettpackard.github.io/wireless-tools/Tools.html
Source0: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.%{version}.tar.gz Source0: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.%{version}.tar.gz
Source1: wireless_tools-ifrename_iftab Source1: wireless_tools-ifrename_iftab
Patch0: %{name}-29-iwlib_h_fix.patch Patch0: %{name}-29-iwlib_h_fix.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: libiw = %{?epoch:%epoch:}%{version}-%{release} Requires: libiw = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A set of tools and a library allowing to manipulate the Wireless Extensions. A set of tools and a library allowing to manipulate the Wireless Extensions.
@ -32,7 +34,7 @@ Requires: libiw = %{?epoch:%epoch:}%{version}-%{release}
%description -n libiw-devel %description -n libiw-devel
A set of tools and a library allowing to manipulate the Wireless Extensions. A set of tools and a library allowing to manipulate the Wireless Extensions.
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%package -n ifrename %package -n ifrename
Summary: A tool allowing you to assign a consistent name to each of your network interface Summary: A tool allowing you to assign a consistent name to each of your network interface
@ -41,6 +43,8 @@ Group: System/Tools
%description -n ifrename %description -n ifrename
Ifrename is a tool allowing you to assign a consistent name to each of your network interface. Ifrename is a tool allowing you to assign a consistent name to each of your network interface.
%debug_package
%prep %prep
%setup -q -n wireless_tools.%{majver} %setup -q -n wireless_tools.%{majver}
sed -i "s|\(BUILD_STATIC = y\)|#\1|" Makefile sed -i "s|\(BUILD_STATIC = y\)|#\1|" Makefile
@ -58,8 +62,8 @@ sed -i "s|\(BUILD_STATIC = y\)|#\1|" Makefile
INSTALL_LIB=%{buildroot}%{_libdir} \ INSTALL_LIB=%{buildroot}%{_libdir} \
INSTALL_MAN=%{buildroot}%{_mandir} INSTALL_MAN=%{buildroot}%{_mandir}
install -d %{buildroot}%{_bindir} #install -d %{buildroot}%{_bindir}
ln -s ../sbin/iwlist %{buildroot}%{_bindir}/iwlist #ln -s ../sbin/iwlist %{buildroot}%{_bindir}/iwlist
install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab
%clean %clean
@ -76,7 +80,6 @@ install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab
%{_sbindir}/iwlist %{_sbindir}/iwlist
%{_sbindir}/iwpriv %{_sbindir}/iwpriv
%{_sbindir}/iwspy %{_sbindir}/iwspy
%{_bindir}/iwlist
%{_mandir}/man7/wireless.* %{_mandir}/man7/wireless.*
%{_mandir}/man8/iwconfig.* %{_mandir}/man8/iwconfig.*
%{_mandir}/man8/iwevent.* %{_mandir}/man8/iwevent.*
@ -105,6 +108,9 @@ install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab
%{_mandir}/man8/ifrename.* %{_mandir}/man8/ifrename.*
%changelog %changelog
* Tue Jul 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 30.pre9-2mamba
- remove bin/iwlist symlink
* Thu Sep 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 30.pre9-1mamba * Thu Sep 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 30.pre9-1mamba
- update to 30.pre9 - update to 30.pre9