packages: python-iwscan/python-iwscan.spec (NEW) - new

glen glen at pld-linux.org
Fri Nov 6 18:52:31 CET 2009


Author: glen                         Date: Fri Nov  6 17:52:31 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/python-iwscan:
   python-iwscan.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-iwscan/python-iwscan.spec
diff -u /dev/null packages/python-iwscan/python-iwscan.spec:1.1
--- /dev/null	Fri Nov  6 18:52:31 2009
+++ packages/python-iwscan/python-iwscan.spec	Fri Nov  6 18:52:26 2009
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+%define 	module	iwscan
+Summary:	A Python extension for iwscan access
+Name:		python-%{module}
+Version:	20090609
+Release:	1
+License:	GPL v2
+Group:		Development/Languages/Python
+Source0:	http://mirror.leaseweb.com/archlinux/other/python-iwscan/python-iwscan-%{version}.tar.gz
+# Source0-md5:	30fbe8ad3b07e67c1c35db2de16077d8
+URL:		http://projects.otaku42.de/browser/python-iwscan
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python
+Requires:	python-modules
+Requires:	wireless-tools
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python interface to iwlist, using the iwlib library This module
+makes the iwlib (Linux Wireless Extensions) functions available in
+Python for wireless network scanning.
+
+%prep
+%setup -q -n %{name}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/iwscan-*.egg-info
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/11/06 17:52:26  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list