Blame SPECS/dbus-python.spec

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