2020-12-03 17:51:52 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-jeepney
|
2022-11-02 10:36:33 +08:00
|
|
|
Version: 0.8.0
|
2023-05-04 17:10:29 +08:00
|
|
|
Release: 2
|
2020-12-03 17:51:52 +08:00
|
|
|
Summary: Low-level, pure Python DBus protocol wrapper.
|
2022-11-02 10:36:33 +08:00
|
|
|
License: MIT
|
2020-12-03 17:51:52 +08:00
|
|
|
URL: https://gitlab.com/takluyver/jeepney
|
2022-11-02 10:36:33 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/d6/f4/154cf374c2daf2020e05c3c6a03c91348d59b23c5366e968feb198306fdf/jeepney-0.8.0.tar.gz
|
2020-12-03 17:51:52 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Requires: python3-testpath
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a low-level, pure Python DBus protocol client. It has an `I/O-free
|
|
|
|
|
<https://sans-io.readthedocs.io/>`__ core, and integration modules for different
|
|
|
|
|
event loops.
|
|
|
|
|
|
|
|
|
|
DBus is an inter-process communication system, mainly used in Linux.
|
|
|
|
|
|
|
|
|
|
`Jeepney docs on Readthedocs <https://jeepney.readthedocs.io/en/latest/>`__
|
|
|
|
|
|
|
|
|
|
This project is experimental, and there are a
|
|
|
|
|
number of `more mature Python DBus bindings <https://www.freedesktop.org/wiki/Software/DBusBindings/#python>`__.
|
|
|
|
|
|
|
|
|
|
%package -n python3-jeepney
|
|
|
|
|
Summary: Low-level, pure Python DBus protocol wrapper.
|
|
|
|
|
Provides: python-jeepney
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2023-05-04 17:10:29 +08:00
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-flit-core
|
2022-11-02 10:36:33 +08:00
|
|
|
|
2020-12-03 17:51:52 +08:00
|
|
|
%description -n python3-jeepney
|
|
|
|
|
This is a low-level, pure Python DBus protocol client. It has an `I/O-free
|
|
|
|
|
<https://sans-io.readthedocs.io/>`__ core, and integration modules for different
|
|
|
|
|
event loops.
|
|
|
|
|
|
|
|
|
|
DBus is an inter-process communication system, mainly used in Linux.
|
|
|
|
|
|
|
|
|
|
`Jeepney docs on Readthedocs <https://jeepney.readthedocs.io/en/latest/>`__
|
|
|
|
|
|
|
|
|
|
This project is experimental, and there are a
|
|
|
|
|
number of `more mature Python DBus bindings <https://www.freedesktop.org/wiki/Software/DBusBindings/#python>`__.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for jeepney
|
|
|
|
|
Provides: python3-jeepney-doc
|
2022-11-02 10:36:33 +08:00
|
|
|
|
2020-12-03 17:51:52 +08:00
|
|
|
%description help
|
|
|
|
|
This is a low-level, pure Python DBus protocol client. It has an `I/O-free
|
|
|
|
|
<https://sans-io.readthedocs.io/>`__ core, and integration modules for different
|
|
|
|
|
event loops.
|
|
|
|
|
|
|
|
|
|
DBus is an inter-process communication system, mainly used in Linux.
|
|
|
|
|
|
|
|
|
|
`Jeepney docs on Readthedocs <https://jeepney.readthedocs.io/en/latest/>`__
|
|
|
|
|
|
|
|
|
|
This project is experimental, and there are a
|
|
|
|
|
number of `more mature Python DBus bindings <https://www.freedesktop.org/wiki/Software/DBusBindings/#python>`__.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-05-04 17:10:29 +08:00
|
|
|
%autosetup -n jeepney-%{version} -p1
|
2020-12-03 17:51:52 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-05-04 17:10:29 +08:00
|
|
|
%pyproject_build
|
2020-12-03 17:51:52 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-05-04 17:10:29 +08:00
|
|
|
%pyproject_install jeepney==%{version}
|
2020-12-03 17:51:52 +08:00
|
|
|
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
|
2022-07-25 07:14:49 +00:00
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-03 17:51:52 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
2022-07-25 07:14:49 +00:00
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-03 17:51:52 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
2022-07-25 07:14:49 +00:00
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-03 17:51:52 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
2022-07-25 07:14:49 +00:00
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
2020-12-03 17:51:52 +08:00
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
2022-07-25 07:14:49 +00:00
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
2020-12-03 17:51:52 +08:00
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
|
|
|
|
|
|
|
|
|
%files -n python3-jeepney -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
2023-05-04 17:10:29 +08:00
|
|
|
%{python3_sitelib}/jeepney
|
2020-12-03 17:51:52 +08:00
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-05-04 17:10:29 +08:00
|
|
|
* Thu May 4 2023 caodongxia <caodongxia@h-partners.com> - 0.8.0-2
|
|
|
|
|
- Adapting to the pyproject.toml compilation mode
|
|
|
|
|
|
2022-11-02 10:36:33 +08:00
|
|
|
* Wed Nov 02 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.8.0-1
|
|
|
|
|
- Update package to version 0.8.0
|
|
|
|
|
|
2022-07-25 07:14:49 +00:00
|
|
|
* Mon Jul 25 2022 renliang16 <renliang@uniontech.com> - 0.7.1-1
|
|
|
|
|
- Upgrade package python3-jeepney to version 0.7.1
|
|
|
|
|
|
2020-12-03 17:51:52 +08:00
|
|
|
* Thu Dec 3 2020 baizhonggui <baizhonggui@huawei.com>
|
|
|
|
|
- Package init
|
2022-11-02 10:36:33 +08:00
|
|
|
|