python 2.7 mass rebuild [release 20090609-2mamba;Fri May 17 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 11:18:57 +01:00
parent c2e765b951
commit 405c4bf3df
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-iwscan
Python bindings for wireless scanning via iwlib.

49
python-iwscan.spec Normal file
View File

@ -0,0 +1,49 @@
Name: python-iwscan
Version: 20090609
Release: 2mamba
Summary: Python bindings for wireless scanning via iwlib
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://projects.otaku42.de/browser/python-iwscan
Source: http://mirror.leaseweb.com/software/archlinux/other/python-iwscan/python-iwscan-%{version}.tar.gz
License: GPL
Requires: python >= %python_version
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libiw-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Python bindings for wireless scanning via iwlib.
%prep
%setup -q -n %{name}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{python_sitearch}/iwscan.so
%{python_sitearch}/iwscan-0.0.0-py*.egg-info
%changelog
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20090609-2mamba
- python 2.7 mass rebuild
* Sat Aug 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 20090609-1mamba
- package created by autospec