rpms/pyusb/F-9 pyusb.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Mon Jun 23 18:12:15 UTC 2008


Author: katzj

Update of /cvs/pkgs/rpms/pyusb/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16078

Modified Files:
	.cvsignore sources 
Added Files:
	pyusb.spec 
Log Message:
initial build for f9


--- NEW FILE pyusb.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name: pyusb
Version: 0.4.1
Release: 2%{?dist}
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
* Mon Jun 16 2008 Jeremy Katz <katzj at redhat.com> - 0.4.1-2
- Fix end-of-line in README

* Mon Jun 16 2008 Jeremy Katz <katzj at redhat.com> - 0.4.1-1
- Initial packaging



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyusb/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Jun 2008 17:19:01 -0000	1.1
+++ .cvsignore	23 Jun 2008 18:11:32 -0000	1.2
@@ -0,0 +1 @@
+pyusb-0.4.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyusb/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Jun 2008 17:19:01 -0000	1.1
+++ sources	23 Jun 2008 18:11:32 -0000	1.2
@@ -0,0 +1 @@
+9576c3e471e40e021fa44f36712bbd04  pyusb-0.4.1.tar.gz




More information about the fedora-extras-commits mailing list