12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- %define dbus_glib_version 0.70
- %define dbus_version 1.6
- Name: dbus-python3
- Summary: D-Bus Python3 Bindings
- Summary(ja): D-Bus Python3 バインディング
- Group: system
- Version: 1.3.2
- Release: 1%{?_dist_release}
- Vendor: Project Vine
- Distribution: Vine Linux
- License: MIT
- URL: https://www.freedesktop.org/software/dbus/
- Source0: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: dbus-devel >= %{dbus_version}
- BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
- BuildRequires: python3-devel
- BuildRequires: python3-rpm-macros
- Requires: python3
- Provides: python3-dbus = %{version}-%{release}
- %description
- D-Bus python3 bindings for use with python programs.
- %description -l ja
- D-Bus を python3 プログラムから使う為のバインディングです。
- %prep
- %setup -q -n dbus-python-%{version}
- %debug_package
- %build
- %configure PYTHON=/usr/bin/python3
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %{__make} install DESTDIR=${RPM_BUILD_ROOT}
- # remove unnecessary *.la files
- find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \;
- # remove conflict files with dbus-python
- rm -f ${RPM_BUILD_ROOT}%{_includedir}/dbus-1.0/dbus/dbus-python.h
- rm -f ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig/dbus-python.pc
- rm -f ${RPM_BUILD_ROOT}%{_docdir}/dbus-python/*
- %clean
- rm -rf ${RPM_BUILD_ROOT}
- %files
- %defattr(-,root,root)
- %license COPYING
- %doc ChangeLog README NEWS
- %{python3_sitearch}/*.so
- %dir %{python3_sitelib}/dbus
- %{python3_sitelib}/dbus/*
- %changelog
- * Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
- - new upstream release.
- * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.16-1
- - new upstream release.
- * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-3
- - rebuild with python3-3.5.2
- * Sun May 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
- - rebuild with python3-3.4.3
- * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
- - initial build
|