89e6ba
Summary: D-Bus Python Bindings
89e6ba
Name:    dbus-python
89e6ba
Version: 1.2.18
89e6ba
Release: 2%{?dist}
89e6ba
89e6ba
License: MIT
89e6ba
URL:     http://www.freedesktop.org/wiki/Software/DBusBindings/
89e6ba
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
89e6ba
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
89e6ba
# gpg --keyserver keyring.debian.org --recv-keys 36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F
89e6ba
# gpg --export --export-options export-minimal > gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
89e6ba
Source2: gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
89e6ba
89e6ba
# borrow centos7 patch to use sitearch properly
89e6ba
Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
89e6ba
89e6ba
BuildRequires: gnupg2
89e6ba
BuildRequires: pkgconfig(dbus-1)
89e6ba
BuildRequires: pkgconfig(glib-2.0)
89e6ba
# for %%check
89e6ba
BuildRequires: dbus-x11
89e6ba
BuildRequires: python%{python3_pkgversion}-gobject
89e6ba
# autoreconf and friends
89e6ba
BuildRequires: autoconf-archive automake libtool
89e6ba
89e6ba
%global _description\
89e6ba
D-Bus python bindings for use with python programs.
89e6ba
89e6ba
%description %_description
89e6ba
89e6ba
%package -n python%{python3_pkgversion}-dbus
89e6ba
Summary: D-Bus bindings for python3
89e6ba
%{?python_provide:%python_provide python%{python3_pkgversion}-dbus}
89e6ba
BuildRequires: python%{python3_pkgversion}-devel
89e6ba
# for py3_build
89e6ba
BuildRequires: python3dist(setuptools)
89e6ba
BuildRequires: make
89e6ba
89e6ba
%description -n python%{python3_pkgversion}-dbus
89e6ba
%{summary}.
89e6ba
89e6ba
%package devel
89e6ba
Summary: Libraries and headers for dbus-python
89e6ba
89e6ba
%description devel
89e6ba
Headers and static libraries for hooking up custom mainloops to the dbus python
89e6ba
bindings.
89e6ba
89e6ba
%prep
89e6ba
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
89e6ba
%autosetup -p1
89e6ba
89e6ba
# For new arches (aarch64/ppc64le), and patch0
89e6ba
autoreconf -vif
89e6ba
89e6ba
%build
89e6ba
%set_build_flags
89e6ba
%py3_build
89e6ba
%configure PYTHON="%{__python3}"
89e6ba
%make_build
89e6ba
89e6ba
%install
89e6ba
%py3_install
89e6ba
%make_install
89e6ba
89e6ba
# unpackaged files
89e6ba
rm -fv  $RPM_BUILD_ROOT%{python3_sitearch}/*.la
89e6ba
rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/
89e6ba
89e6ba
%check
89e6ba
make check -k || (cat test-suite.log && false)
89e6ba
89e6ba
%files -n python%{python3_pkgversion}-dbus
89e6ba
%doc NEWS
89e6ba
%license COPYING
89e6ba
%{python3_sitearch}/*.so
89e6ba
%{python3_sitearch}/dbus/
89e6ba
%{python3_sitearch}/dbus_python*egg-info
89e6ba
89e6ba
%files devel
89e6ba
%doc README ChangeLog doc/API_CHANGES.txt doc/tutorial.txt
89e6ba
%{_includedir}/dbus-1.0/dbus/dbus-python.h
89e6ba
%{_libdir}/pkgconfig/dbus-python.pc
89e6ba
89e6ba
%changelog
89e6ba
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.18-2
89e6ba
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
89e6ba
  Related: rhbz#1991688
89e6ba
89e6ba
* Mon Jul 26 2021 David King <amigadave@amigadave.com> - 1.2.18-1
89e6ba
- Update to 1.2.18 (#1985856)
89e6ba
- Verify GPG signature of sources
89e6ba
89e6ba
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.16-5
89e6ba
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
89e6ba
89e6ba
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.16-4
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
89e6ba
89e6ba
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.16-3
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
89e6ba
89e6ba
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.16-2
89e6ba
- Rebuilt for Python 3.9
89e6ba
89e6ba
* Tue Feb 11 2020 Leigh Scott <leigh123linux@gmail.com> - 1.2.16-1
89e6ba
- Update to 1.2.16 (#1788491)
89e6ba
89e6ba
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
89e6ba
89e6ba
* Thu Jan 16 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-9
89e6ba
- Subpackage python2-dbus has been removed
89e6ba
  See https://fedoraproject.org/wiki/Changes/RetirePython2
89e6ba
89e6ba
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-8
89e6ba
- Rebuilt for Python 3.8.0rc1 (#1748018)
89e6ba
89e6ba
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-7
89e6ba
- Rebuilt for Python 3.8
89e6ba
89e6ba
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-6
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
89e6ba
89e6ba
* Mon Feb 11 2019 Neal Gompa <ngompa13@gmail.com> - 1.2.8-5
89e6ba
- Run setuptools build to generate pythonXdist() metadata (#1663693)
89e6ba
89e6ba
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-4
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
89e6ba
89e6ba
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-3
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
89e6ba
89e6ba
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-2
89e6ba
- Rebuilt for Python 3.7
89e6ba
89e6ba
* Wed May 23 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-1
89e6ba
- Update to 1.2.8 (#1539950) (#1578726)
89e6ba
- Cat the logs if tests failed
89e6ba
89e6ba
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-13
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
89e6ba
89e6ba
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.4-12
89e6ba
- Update Python 2 dependency declarations to new packaging standards
89e6ba
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
89e6ba
89e6ba
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.4-11
89e6ba
- Cleanups in packaging
89e6ba
89e6ba
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-10
89e6ba
- Also add Provides for the old name without %%_isa
89e6ba
- Use %%python_provide for the python3 subpackage and drop manual Provide which
89e6ba
  conflicts with %%python_provide in the python2 subpackage.
89e6ba
89e6ba
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-9
89e6ba
- Python 2 binary package renamed to python2-dbus
89e6ba
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
89e6ba
89e6ba
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-8
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
89e6ba
89e6ba
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
89e6ba
89e6ba
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
89e6ba
89e6ba
* Wed Dec 21 2016 Kevin Fenzi <kevin@scrye.com> - 1.2.4-5
89e6ba
- Rebuild again for Python 3.6
89e6ba
89e6ba
* Sun Dec 11 2016 leigh scott <leigh123linux@googlemail.com> - 1.2.4-4
89e6ba
- Add missing build requires needed for check
89e6ba
89e6ba
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.2.4-3
89e6ba
- Rebuild for Python 3.6
89e6ba
89e6ba
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-2
89e6ba
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
89e6ba
89e6ba
* Mon Mar 07 2016 Leigh Scott <leigh123linux@googlemail.com> - 1.2.4-1
89e6ba
- Update to 1.2.4 (#1310915)
89e6ba
89e6ba
* Tue Feb 23 2016 Leigh Scott <leigh123linux@googlemail.com> - 1.2.2-1
89e6ba
- Update to 1.2.2 (#1310915)
89e6ba
- add build requires autoconf-archive
89e6ba
89e6ba
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-13
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
89e6ba
89e6ba
* Mon Nov 16 2015 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-12
89e6ba
- Drop object manager patch
89e6ba
89e6ba
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.0-11
89e6ba
- Rebuilt for Python3.5 rebuild
89e6ba
89e6ba
* Wed Aug 19 2015 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-10
89e6ba
- rebuilt
89e6ba
89e6ba
* Wed Aug 19 2015 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-9
89e6ba
- rebuilt
89e6ba
89e6ba
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
89e6ba
89e6ba
* Thu Nov 06 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-7
89e6ba
- python2_sitelib should be python2_sitearch (#1161121)
89e6ba
- update URL, s/python/python2/ a bit
89e6ba
89e6ba
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
89e6ba
89e6ba
* Fri Jun 20 2014 Dan Mashal <dan.mashal@fedoraproject.org> - 1.2.0-5
89e6ba
- Add patch needed that adds Object Manager functionality for Fedora server dbus api.
89e6ba
89e6ba
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
89e6ba
89e6ba
* Thu May 29 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-3
89e6ba
- Drop old python3 conditionals, SPEC cleanups
89e6ba
89e6ba
* Mon May 12 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-2
89e6ba
- rebuild (f21-python)
89e6ba
89e6ba
* Mon Oct 28 2013 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-1
89e6ba
- dbus-python-1.2.0 is available (#1021817)
89e6ba
89e6ba
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89e6ba
89e6ba
* Thu Apr 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-5
89e6ba
- Add upstream patch to fix pygobject 3.8
89e6ba
89e6ba
* Fri Mar 29 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.1.1-4
89e6ba
- Apply patch to support aarch64 (#925236)
89e6ba
- Fix URL
89e6ba
89e6ba
* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-3
89e6ba
- python3-dbus subpkg (#892474)
89e6ba
- (main) Provides: python-dbus
89e6ba
- BR: python-docutils
89e6ba
- .spec cosmetics
89e6ba
- skip failed tests on rawhide (#913936)
89e6ba
89e6ba
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
89e6ba
89e6ba
* Tue Aug 07 2012 Rex Dieter <rdieter@fedoraproject.org> 1.1.1-1
89e6ba
- dbus-python-1.1.1 (#800487)
89e6ba
89e6ba
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-10
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
89e6ba
89e6ba
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-9
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
89e6ba
89e6ba
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-8
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
89e6ba
89e6ba
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.83.0-7
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
89e6ba
89e6ba
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-6
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89e6ba
89e6ba
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-5
89e6ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
89e6ba
89e6ba
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.83.0-4
89e6ba
- Rebuild for Python 2.6
89e6ba
89e6ba
* Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
89e6ba
- Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
89e6ba
89e6ba
* Tue Aug 05 2008  Huang Peng <phuang@redhat.com> - 0.83.0-2
89e6ba
- Update to 0.83.0.
89e6ba
89e6ba
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3
89e6ba
- fix license tag
89e6ba
89e6ba
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2
89e6ba
- Autorebuild for GCC 4.3
89e6ba
89e6ba
* Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1
89e6ba
- Update to 0.82.4
89e6ba
89e6ba
* Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3
89e6ba
- Rebuild against new dbus-glib
89e6ba
89e6ba
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2
89e6ba
- Rebuild for selinux ppc32 issue.
89e6ba
89e6ba
* Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1
89e6ba
- Update to 0.82.0
89e6ba
- Put all docs in the usual place
89e6ba
89e6ba
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3
89e6ba
- Rebuild
89e6ba
89e6ba
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2
89e6ba
- Don't examine args for functions declared METH_NOARGS (#235017)
89e6ba
89e6ba
* Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1
89e6ba
- upgrade to 0.80.2 which fixes some memleaks
89e6ba
89e6ba
* Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1
89e6ba
- upgrade to 0.80.1
89e6ba
- remove dependency on Pyrex and libxml2
89e6ba
- some API breakage,
89e6ba
  please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html
89e6ba
  for notes on changes
89e6ba
89e6ba
* Wed Jan  3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist}
89e6ba
- rebuild against new Pyrex
89e6ba
89e6ba
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8
89e6ba
- rebuild against python 2.5
89e6ba
89e6ba
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7
89e6ba
- Fix a typo in the spec file
89e6ba
89e6ba
* Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6
89e6ba
- require libxml2-python for site-packages/dbus/introspect_parser.py
89e6ba
89e6ba
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5
89e6ba
- Remove unnecessary obsoletes
89e6ba
89e6ba
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4
89e6ba
- Try python_sitearch this time
89e6ba
89e6ba
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
89e6ba
- Add a BR on dbus-devel
89e6ba
89e6ba
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
89e6ba
- Spec file cleanups
89e6ba
- Add PKG_CONFIG_PATH
89e6ba
89e6ba
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
89e6ba
- Initial package import