dbus-python 1.2.16-6 (aarch64;znver1) 2021-13429
9999
Status | published | ||||||||||
Submitter | angrypenguinpoland [@T] gmail.com | ||||||||||
Platform | rolling | ||||||||||
Repository | main | ||||||||||
URL | https://abf.openmandriva.org/build_lists/929262 | ||||||||||
Packages |
|
||||||||||
Build Date | 2021-01-03 14:17:52 +0000 UTC | ||||||||||
Last Updated | 2021-01-06 01:55:38.914383042 +0000 UTC |
$ git diff --patch-with-stat --summary e4724d1334aef5985f870b2f3f1c54e1b94c2d61..49fbcb718f0b2f31d16bdd392a3fd6d7332b530a dbus-python.spec | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/dbus-python.spec b/dbus-python.spec index 8bc4560..2dc1f22 100644 --- a/dbus-python.spec +++ b/dbus-python.spec @@ -3,15 +3,16 @@ Summary: D-Bus Python Bindings Name: dbus-python Version: 1.2.16 -Release: 2 +Release: 6 License: MIT Group: Development/Python Url: http://www.freedesktop.org/wiki/Software/DBusBindings Source0: http://dbus.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz Patch0: linking.patch +BuildRequires: python3dist(setuptools) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-glib-1) -BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(python) BuildRequires: dbus-x11 %description @@ -21,6 +22,7 @@ D-Bus python bindings for use with python programs. Summary: D-Bus Python 3 Bindings Group: Development/Python Requires: dbus-x11 +Provides: dbus-python = %{EVRD} %rename python3-dbus %rename python-dbus @@ -28,10 +30,10 @@ Requires: dbus-x11 D-Bus python bindings for use with python 3 programs. %package -n python-dbus-devel -Summary: Development files for python-dbus and python2-dbus +Summary: Development files for python-dbus Group: Development/Python -Requires: python3-dbus = %{EVRD} -BuildRequires: pkgconfig(python3) +Requires: python-dbus = %{EVRD} +BuildRequires: pkgconfig(python) %description -n python-dbus-devel Header files for python-dbus and python3-dbus. @@ -40,22 +42,28 @@ Header files for python-dbus and python3-dbus. %autosetup -p1 %build -sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure* -autoreconf -fi -%configure --disable-api-docs -%make_build + +autoreconf -vfi +%py_build %install -%make_install +%py_install + +mkdir -p %{buildroot}%{_libdir}/pkgconfig/ +install -p -m 0644 build/temp.linux-*-%{python_version}/dbus-python.pc %{buildroot}%{_libdir}/pkgconfig/ +sed -i 's\prefix=.*\prefix=/usr\g' %{buildroot}%{_libdir}/pkgconfig/dbus-python.pc +mkdir -p %{buildroot}%{_includedir}/dbus-1.0/dbus/ +install -p -m 0444 include/dbus/dbus-python.h %{buildroot}%{_includedir}/dbus-1.0/dbus/ #remove unpackaged files rm -rf %{buildroot}%{_datadir}/doc/dbus-python %files -n python-dbus -%doc COPYING NEWS doc/*.txt -%doc README -%{py_puresitedir}/dbus* -%{py_platsitedir}/_dbus_* +%doc README NEWS doc/*.txt +%{python_sitearch}/_dbus_* +%{python_sitearch}/dbus/* +%{python_sitearch}/dbus_python-%{version}-py*.*.egg-info/ +%{python_sitearch}/dbus_python-%{version}-py*.*.egg-info/PKG-INFO %files -n python-dbus-devel %{_includedir}/dbus-1.0/dbus/*.h
Not Available
benbullard79 [@T] cox.net | No Comment. | 1200d 09hrs |
benbullard79 [@T] cox.net | No Comment. | 1200d 09hrs |