Blame SPECS/python-pyudev.spec

e3a9a7
%global modname pyudev
e3a9a7
e3a9a7
Name:             python-pyudev
e3a9a7
Version:          0.15
625fdd
Release:          7%{?dist}
e3a9a7
Summary:          A libudev binding
e3a9a7
Group:            Development/Languages
e3a9a7
License:          LGPLv2+
e3a9a7
URL:              http://pypi.python.org/pypi/pyudev
e3a9a7
Source0:          http://pypi.python.org/packages/source/p/pyudev/pyudev-0.15.tar.gz
e3a9a7
BuildArch:        noarch
e3a9a7
BuildRequires:    python-devel python-setuptools systemd-devel
e3a9a7
e3a9a7
%description
e3a9a7
###### pyudev ######
e3a9a7
e3a9a7
pyudev is a LGPL licensed, pure Python binding for libudev, the device
e3a9a7
and hardware management and information library for Linux.  It supports
e3a9a7
almost all libudev functionality, you can enumerate devices, query device
e3a9a7
properties and attributes or monitor devices, including asynchronous
e3a9a7
monitoring with threads, or within the event loops of Qt, Glib or wxPython.
e3a9a7
e3a9a7
The binding supports CPython_ 2 (2.6 or newer) and 3 (3.1 or newer), and
e3a9a7
PyPy_ 1.5 or newer.  It is tested against udev 151 or newer, earlier
e3a9a7
versions of udev as found on dated Linux systems may work, but are not
e3a9a7
officially supported.
e3a9a7
e3a9a7
%prep
e3a9a7
%setup -q -n %{modname}-%{version}
e3a9a7
e3a9a7
%build
e3a9a7
%{__python} setup.py build 
e3a9a7
e3a9a7
%install
e3a9a7
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
e3a9a7
e3a9a7
e3a9a7
%files
e3a9a7
%doc COPYING README.rst
e3a9a7
%{python_sitelib}/%{modname}
e3a9a7
%{python_sitelib}/%{modname}-%{version}*
e3a9a7
e3a9a7
e3a9a7
%changelog
625fdd
* Thu Apr  9 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 0.15-7
625fdd
- Dropped unneeded explicit dependencies
625fdd
  Resolves: rhbz#1095454
625fdd
c9afe6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.15-6
c9afe6
- Mass rebuild 2013-12-27
c9afe6
e3a9a7
* Wed Jul 31 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 0.15-5
e3a9a7
- Fixed license field
e3a9a7
e3a9a7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
e3a9a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e3a9a7
e3a9a7
* Mon Jul 23 2012 Chris Lockfort <clockfort@redhat.com> 0.15-3
e3a9a7
- Reflect rawhide merging udev into systemd
e3a9a7
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
e3a9a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e3a9a7
* Mon Jun 18 2012 Chris Lockfort <clockfort@redhat.com> 0.15-1
e3a9a7
- initial package