2024-01-05 16:59:11 +01:00
|
|
|
Name: pyudev
|
2024-01-05 16:59:11 +01:00
|
|
|
Version: 0.24.0
|
|
|
|
Release: 1mamba
|
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>
|
2024-01-05 16:59:11 +01:00
|
|
|
URL: https://pythonhosted.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
|
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.
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%define py_requires_append \
|
|
|
|
Requires: python-apipkg-%pyappend} \
|
2024-01-05 16:59:11 +01:00
|
|
|
Requires: udev
|
|
|
|
|
|
|
|
%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}}
|
2024-01-05 16:59:11 +01:00
|
|
|
Obsoletes: pyudev-qt4%{?with_pyver:-py%{pyver}} < 0.22.0-6mamba
|
2024-01-05 16:59:11 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
rm -f %{buildroot}%{python_sitearch}/pyudev/pyqt4*.py*
|
|
|
|
rm -f %{buildroot}%{python_sitearch}/pyudev/__pycache__/pyqt4.cpython-*.pyc
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
%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 qt5%{?with_pyver:-py%{pyver}}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:59:11 +01:00
|
|
|
%{python_sitearch}/pyudev/_qt_base*.py*
|
2024-01-05 16:59:11 +01:00
|
|
|
%{python_sitearch}/pyudev/pyqt5*.py*
|
2024-01-05 16:59:11 +01:00
|
|
|
%{python_sitearch}/pyudev/__pycache__/_qt_base.cpython-*
|
2024-01-05 16:59:11 +01:00
|
|
|
%{python_sitearch}/pyudev/__pycache__/pyqt5*.pyc
|
2024-01-05 16:59:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:59:11 +01:00
|
|
|
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 0.24.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
* Tue May 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-6mamba
|
|
|
|
- pyudev-qt5-py{X}: obsolete pyudev-qt4-py{X}
|
|
|
|
|
2024-01-05 16:59:11 +01:00
|
|
|
* Tue Apr 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-5mamba
|
|
|
|
- remove qt4 subpackage
|
|
|
|
|
|
|
|
* Mon Apr 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-4mamba
|
|
|
|
- fix conflicting provides/obsoletes since adding 3.10 subpackage
|
|
|
|
|
|
|
|
* Sun Apr 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-3mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
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
|