%global _empty_manifest_terminate_build 0 Name: python-jeepney Version: 0.7.1 Release: 1 Summary: Low-level, pure Python DBus protocol wrapper. License: MIT License URL: https://gitlab.com/takluyver/jeepney Source0: https://files.pythonhosted.org/packages/09/0d/81744e179cf3aede2d117c20c6d5b97a62ffe16b2ca5d856e068e81c7a68/jeepney-0.7.1.tar.gz BuildArch: noarch Requires: python3-testpath Recommends: %{name}-help = %{version}-%{release} %description This is a low-level, pure Python DBus protocol client. It has an `I/O-free `__ core, and integration modules for different event loops. DBus is an inter-process communication system, mainly used in Linux. `Jeepney docs on Readthedocs `__ This project is experimental, and there are a number of `more mature Python DBus bindings `__. %package -n python3-jeepney Summary: Low-level, pure Python DBus protocol wrapper. Provides: python-jeepney BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-jeepney This is a low-level, pure Python DBus protocol client. It has an `I/O-free `__ core, and integration modules for different event loops. DBus is an inter-process communication system, mainly used in Linux. `Jeepney docs on Readthedocs `__ This project is experimental, and there are a number of `more mature Python DBus bindings `__. %package help Summary: Development documents and examples for jeepney Provides: python3-jeepney-doc %description help This is a low-level, pure Python DBus protocol client. It has an `I/O-free `__ core, and integration modules for different event loops. DBus is an inter-process communication system, mainly used in Linux. `Jeepney docs on Readthedocs `__ This project is experimental, and there are a number of `more mature Python DBus bindings `__. %prep %autosetup -n jeepney-0.7.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-jeepney -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_pkgdocdir} %changelog * Mon Jul 25 2022 renliang16 - 0.7.1-1 - Upgrade package python3-jeepney to version 0.7.1 * Thu Dec 3 2020 baizhonggui - Package init