]> git.pld-linux.org Git - packages/python-pyusb.git/blame - python-pyusb.spec
- release 2
[packages/python-pyusb.git] / python-pyusb.spec
CommitLineData
699c8ec6
AM
1%define module pyusb
2Summary: PyUSB provides USB access on the Python language
aeccd4dd 3Summary(pl.UTF-8): PyUSB - dostęp do USB z poziomu języka Python
699c8ec6 4Name: python-%{module}
07b11337 5Version: 0.4.1
1a655de8 6Release: 2
07b11337 7License: BSD
699c8ec6 8Group: Development/Languages/Python
07b11337
PZ
9Source0: http://dl.sourceforge.net/pyusb/%{module}-%{version}.tar.gz
10# Source0-md5: 9576c3e471e40e021fa44f36712bbd04
cd5eea44 11URL: http://pyusb.sourceforge.net/
699c8ec6 12BuildRequires: libusb-devel
8093ecad 13BuildRequires: python-devel
e8cc6ead 14BuildRequires: rpm-pythonprov
699c8ec6 15BuildRequires: unzip
8093ecad 16%pyrequires_eq python
699c8ec6
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20PyUSB provides USB access on the Python language.
21
171e7b53
JR
22%description -l pl.UTF-8
23PyUSB daje dostęp do USB z poziomu języka Python.
8093ecad 24
699c8ec6 25%prep
07b11337 26%setup -q -n %{module}-%{version}
699c8ec6
AM
27
28%build
e8cc6ead 29%{__python} ./setup.py build
699c8ec6
AM
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
e8cc6ead 34%{__python} ./setup.py install \
699c8ec6
AM
35 --optimize 2 \
36 --root=$RPM_BUILD_ROOT
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%doc README
44%attr(755,root,root) %{py_sitedir}/*.so
This page took 0.093363 seconds and 4 git commands to generate.