2 Summary: PyUSB provides USB access on the Python language
7 Group: Development/Languages/Python
8 Source0: http://dl.sourceforge.net/%{module}/%{module}-%{version}-src.tar.gz
9 # Source0-md5: b86333284659f15986206413df61123e
10 URL: http://pyusb.sf.net/
12 BuildRequires: python-devel
13 BuildRequires: libusb-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 PyUSB provides USB access on the Python language.
21 %setup -q -n %{module}
24 python ./setup.py build
27 rm -rf $RPM_BUILD_ROOT
29 python ./setup.py install \
31 --root=$RPM_BUILD_ROOT
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
39 %attr(755,root,root) %{py_sitedir}/*.so