diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-24 16:30:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-24 16:30:12 +0000 |
commit | 3f182baef530be5055d5969d1b493d4d547cd1f7 (patch) | |
tree | 51f89101aa82c93ef32f9de4fec1fc5b2f285b0a /dbus-python.spec | |
parent | f2b706711520d42bcff3236c0b1c52a0de046fe0 (diff) |
automatic import of dbus-python
Diffstat (limited to 'dbus-python.spec')
-rw-r--r-- | dbus-python.spec | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/dbus-python.spec b/dbus-python.spec new file mode 100644 index 0000000..5037aea --- /dev/null +++ b/dbus-python.spec @@ -0,0 +1,122 @@ +Name: dbus-python +Version: 1.4.0 +Release: 1 +Summary: original Python binding for dbus +License: MIT and (AFL-2.1 or GPL-2.0-or-later) +URL: https://www.freedesktop.org/wiki/Software/DBusBindings/ +Source0: https://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.xz +Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch +Patch1: Fix-deprecation-warnings-due-to-invalid-escape-seque.patch + +BuildRequires: meson >= 0.60 +BuildRequires: pkgconfig(dbus-1) >= 1.8 +BuildRequires: python3-devel + +%description +Dbus-python is the original Python binding for dbus, the reference +implementation of the D-Bus protocol. + +%package -n python3-dbus +Summary: Python3 bindings for dbus +BuildRequires: python3-devel +Provides: dbus-python = %{version}-%{release} +Obsoletes: dbus-python < %{version}-%{release} +%{?python_provide:%python_provide python3-dbus} + +%description -n python3-dbus +Python3 bindings for dbus + +%package devel +Summary: Development files for %{name} +Requires: python3-dbus = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%meson -D +%meson_build + +%install +%meson_install + +%check +%meson_test + +%files -n python3-dbus +%license COPYING +%{python3_sitearch}/*.so +%{python3_sitearch}/dbus/ +%{python3_sitearch}/dbus_python*egg-info + +%files devel +%{_includedir}/dbus-1.0/dbus/%{name}.h +%{_libdir}/pkgconfig/%{name}.pc + +%files help +%doc NEWS ChangeLog README doc/API_CHANGES.txt doc/tutorial.txt + +%changelog +* Tue Mar 25 2025 Funda Wang <fundawang@yeah.net> - 1.4.0-1 +- update to 1.4.0 + +* Mon Oct 17 2022 dillon chen <dillon.chen@gmail.com> - 1.3.2-1 +- update to 1.3.2 + +* Mon Dec 06 2021 herengui <herengui@uniontech.com> - 1.2.18-3 +- Type:update +- ID:NA +- SUG:NA +- DESC: 1. correct licenses; 2. provides pythonXdist + +* Fri Aug 27 2021 panxiaohe <panxiaohe@huawei.com> - 1.2.18-2 +- Fix deprecation warnings due to invalid escape sequences + +* Fri Jul 30 2021 panxiaohe <panxiaohe@huawei.com> - 1.2.18-1 +- update to 1.2.18 +- remove unnecessary BuildRequires: gdb + +* Thu Oct 29 2020 panxiaohe <panxiaohe@huawei.com> - 1.2.16-2 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:remove subpackage python2-dbus + +* Fri Jul 31 2020 Liquor <lirui130@huawei.com> - 1.2.16-1 +- Type:update +- ID:NA +- SUG:NA +- DESC:update to 1.2.16 + +* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.8-8 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:add build requires of gdb + +* Wed Oct 30 2019 jiangchuangang<jiangchuangang@huawei.com> - 1.2.8-7 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:modify provides + +* Sat Oct 12 2019 shenyangyang <shenyangyang4@huawei.com> - 1.2.8-6 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC:add python-provides + +* Mon Sep 30 2019 luhuaxin <luhuaxin@huawei.com> - 1.2.8-5 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: package rebuild + +* Fri Aug 30 2019 luhuaxin <luhuaxin@huawei.com> - 1.2.8-4 +- Package init |