56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
Name: python-iwscan
|
|
Version: 20090609
|
|
Release: 3mamba
|
|
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
|
|
BuildRequires: libpython27-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libiw-devel >= 30.pre9-1mamba
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Python bindings for wireless scanning via iwlib.
|
|
|
|
%prep
|
|
%setup -q -n %{name}
|
|
sed -i 's|PROC_NET_WIRELESS|"/proc/net/wireless"|' pyiwscan.c
|
|
|
|
%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
|
|
* Sun Aug 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20090609-3mamba
|
|
- rebuilt by autoport with build requirements: libiw-devel>=30.pre9-1mamba
|
|
|
|
* 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
|