--- /dev/null
+%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