Name: pyusb Version: 0.4.1 Release: %mkrel 8 Summary: Python bindings for libusb Group: Development/Languages License: BSD URL: http://pyusb.berlios.de/ Source0: http://prdownload.berlios.de/pyusb/pyusb-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel BuildRequires: libusb-devel %description PyUSB provides easy USB access to python. The module contains classes and methods to support most USB operations. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build sed -i -e 's/\r//g' README %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README license.txt %{python_sitearch}/* %changelog * Fri May 06 2011 Herbert Poetzl - 0.4.1-8 - Initial Mageia RPM Package * Wed Feb 09 2011 Fedora Release Engineering - 0.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 22 2010 David Malcolm - 0.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jul 26 2009 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.4.1-3 - Rebuild for Python 2.6 * Mon Jun 16 2008 Jeremy Katz - 0.4.1-2 - Fix end-of-line in README * Mon Jun 16 2008 Jeremy Katz - 0.4.1-1 - Initial packaging