2024-01-05 16:59:11 +01:00
|
|
|
Name: pyudev
|
2024-01-05 16:59:11 +01:00
|
|
|
Version: 0.22.0
|
2024-01-05 16:59:11 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:59:11 +01:00
|
|
|
Summary: Python binding for libudev
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:59:11 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://packages.python.org/pyudev
|
2024-01-05 16:59:11 +01:00
|
|
|
Source: https://pypi.debian.net/pyudev/pyudev-%{version}.tar.gz
|
2024-01-05 16:59:11 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:59:11 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(six)
|
2024-01-05 16:59:11 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: udev
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
pyudev is a Python binding for libudev.
|
|
|
|
|
|
|
|
%package qt4
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: PyQt4 binding for libudev
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: PyQt4
|
2024-01-05 16:59:11 +01:00
|
|
|
Provides: pyudev-qt4
|
|
|
|
Obsoletes: pyudev-qt4 <= 0.16.1
|
2024-01-05 16:59:11 +01:00
|
|
|
|
|
|
|
%description qt4
|
|
|
|
pyudev is a Python binding for libudev.
|
2024-01-05 16:59:11 +01:00
|
|
|
This package provides the PyQt4 binding.
|
|
|
|
|
|
|
|
%package qt5
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: PyQt5 binding for libudev
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: PyQt5
|
|
|
|
|
|
|
|
%description qt5
|
|
|
|
pyudev is a Python binding for libudev.
|
|
|
|
This package provides the PyQt5 binding.
|
|
|
|
|
|
|
|
%if "%?with_pyver"
|
|
|
|
%define pyver %{with_pyver}
|
|
|
|
%define pyappend py%{with_pyver}
|
|
|
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
|
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
|
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
|
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
|
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
|
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
|
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
|
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
|
|
|
|
|
|
%package py%{pyver}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: %{summary}.
|
|
|
|
Requires: python-apipkg-%{?pyappend}
|
|
|
|
Requires: udev
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
%description py%{pyver}
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package qt4%{?with_pyver:-py%{pyver}}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: PyQt4 binding for libudev
|
|
|
|
Requires: %{name}%{?with_pyver:-py%{pyver}} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: PyQt4%{?with_pyver:-py%{pyver}}
|
|
|
|
Provides: pyudev-qt4
|
|
|
|
Obsoletes: pyudev-qt4 <= 0.16.1
|
2024-01-05 16:59:11 +01:00
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%description qt4%{?with_pyver:-py%{pyver}}
|
|
|
|
pyudev is a Python binding for libudev.
|
2024-01-05 16:59:11 +01:00
|
|
|
This package provides the PyQt4 binding.
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%package qt5%{?with_pyver:-py%{pyver}}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: PyQt5 binding for libudev
|
|
|
|
Requires: %{name}%{?with_pyver:-py%{pyver}} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: PyQt5%{?with_pyver:-py%{pyver}}
|
|
|
|
|
|
|
|
%description qt5%{?with_pyver:-py%{pyver}}
|
|
|
|
pyudev is a Python binding for libudev.
|
|
|
|
This package provides the PyQt5 binding.
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,qt,d" %{name}.filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:59:11 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:59:11 +01:00
|
|
|
%dir %{python_sitearch}/pyudev-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/pyudev-%{version}-py*.egg-info/*
|
|
|
|
%doc COPYING
|
2024-01-05 16:59:11 +01:00
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%files qt4%{?with_pyver:-py%{pyver}}
|
2024-01-05 16:59:11 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:59:11 +01:00
|
|
|
%{python_sitearch}/pyudev/_qt_base*.py*
|
|
|
|
%{python_sitearch}/pyudev/pyqt4*.py*
|
|
|
|
%{python_sitearch}/pyudev/__pycache__/_qt_base.cpython-*
|
|
|
|
%{python_sitearch}/pyudev/__pycache__/pyqt4.cpython-*.pyc
|
|
|
|
|
|
|
|
%files qt5%{?with_pyver:-py%{pyver}}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/pyudev/pyqt5*.py*
|
|
|
|
%{python_sitearch}/pyudev/__pycache__/pyqt5*.pyc
|
2024-01-05 16:59:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:59:11 +01:00
|
|
|
* Mon May 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-1mamba
|
|
|
|
- update to 0.22.0
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 0.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 0.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue May 17 2011 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 06 2011 Automatic Build System <autodist@mambasoft.it> 0.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 30 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.5-1mamba
|
|
|
|
- package created by autospec
|