SPECS: python-pyusb.spec (NEW) - new
arekm
arekm at pld-linux.org
Thu Aug 4 23:24:38 CEST 2005
Author: arekm Date: Thu Aug 4 21:24:38 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-pyusb.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pyusb.spec
diff -u /dev/null SPECS/python-pyusb.spec:1.1
--- /dev/null Thu Aug 4 23:24:38 2005
+++ SPECS/python-pyusb.spec Thu Aug 4 23:24:29 2005
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+%define module pyusb
+Summary: PyUSB provides USB access on the Python language
+Name: python-%{module}
+Version: 0.1
+Release: 1
+License: GPL
+Group: Development/Languages/Python
+Source0: http://dl.sourceforge.net/%{module}/%{module}-%{version}-src.tar.gz
+# Source0-md5: b2e11ffa387801f5f24b4aea0fa7d742
+URL: http://pyusb.sf.net/
+%pyrequires_eq python
+BuildRequires: python-devel
+BuildRequires: libusb-devel
+BuildRequires: unzip
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyUSB provides USB access on the Python language.
+
+%prep
+%setup -q -n %{module}
+
+%build
+python ./setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{py_sitedir}/*.so
+
+%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 2005/08/04 21:24:29 arekm
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list