50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
|
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
|