diff --git a/README.md b/README.md index d6db061..23cb268 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-iwscan +Python bindings for wireless scanning via iwlib. + diff --git a/python-iwscan.spec b/python-iwscan.spec new file mode 100644 index 0000000..5d13aee --- /dev/null +++ b/python-iwscan.spec @@ -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 +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 20090609-2mamba +- python 2.7 mass rebuild + +* Sat Aug 01 2009 Silvan Calarco 20090609-1mamba +- package created by autospec