2006-07-18 17:11:08 +00:00
|
|
|
Summary: D-Bus Python Bindings
|
2014-11-06 13:20:44 +00:00
|
|
|
Name: dbus-python
|
2013-10-28 15:06:48 +00:00
|
|
|
Version: 1.2.0
|
2015-06-17 03:46:12 +00:00
|
|
|
Release: 8%{?dist}
|
2012-08-08 16:10:12 +00:00
|
|
|
|
|
|
|
License: MIT
|
2014-11-06 13:19:40 +00:00
|
|
|
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
2007-10-20 02:36:38 +00:00
|
|
|
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
2013-10-28 15:06:48 +00:00
|
|
|
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2014-06-20 18:23:22 +00:00
|
|
|
# Added functionality for Fedora server dbus api requested by sgallagh
|
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=26903#c9
|
|
|
|
Patch0: object_manager.patch
|
2014-11-06 13:47:02 +00:00
|
|
|
# borrow centos7 patch to use sitearch properly
|
|
|
|
Patch2: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
2014-06-20 18:23:22 +00:00
|
|
|
|
2013-02-25 15:24:14 +00:00
|
|
|
BuildRequires: dbus-devel
|
|
|
|
BuildRequires: dbus-glib-devel
|
2014-11-06 13:19:40 +00:00
|
|
|
BuildRequires: python2-devel
|
2013-02-25 15:24:14 +00:00
|
|
|
BuildRequires: python-docutils
|
|
|
|
BuildRequires: python3-devel
|
2012-08-08 16:10:12 +00:00
|
|
|
# for %%check
|
|
|
|
BuildRequires: dbus-x11 pygobject3
|
2014-05-29 15:28:59 +00:00
|
|
|
# autoreconf and friends
|
|
|
|
BuildRequires: autoconf automake libtool
|
2008-09-16 15:31:02 +00:00
|
|
|
|
2013-02-25 15:24:14 +00:00
|
|
|
Provides: python-dbus = %{version}-%{release}
|
|
|
|
Provides: python-dbus%{?_isa} = %{version}-%{release}
|
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
%description
|
|
|
|
D-Bus python bindings for use with python programs.
|
|
|
|
|
2007-01-24 18:18:14 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for dbus-python
|
2012-08-08 16:10:12 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2007-01-24 18:18:14 +00:00
|
|
|
%description devel
|
|
|
|
Headers and static libraries for hooking up custom mainloops to the dbus python
|
|
|
|
bindings.
|
|
|
|
|
2013-02-25 15:24:14 +00:00
|
|
|
%package -n python3-dbus
|
|
|
|
Summary: D-Bus bindings for python3
|
|
|
|
%description -n python3-dbus
|
|
|
|
%{summary}.
|
|
|
|
|
2012-08-08 16:10:12 +00:00
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-11-06 13:47:02 +00:00
|
|
|
%patch0 -p1 -b .object_manager
|
|
|
|
%patch2 -p1 -b .sitearch
|
|
|
|
|
|
|
|
# For new arches (aarch64/ppc64le), and patch2
|
2014-05-29 15:28:59 +00:00
|
|
|
autoreconf -vif
|
2008-09-16 15:31:02 +00:00
|
|
|
|
2014-11-06 13:19:40 +00:00
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
%build
|
2013-02-25 15:24:14 +00:00
|
|
|
%global _configure ../configure
|
|
|
|
|
|
|
|
mkdir python2-build; pushd python2-build
|
2014-05-29 15:28:59 +00:00
|
|
|
%configure PYTHON=python
|
2013-02-25 15:24:14 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2013-02-25 15:24:14 +00:00
|
|
|
mkdir python3-build; pushd python3-build
|
2014-05-29 15:28:59 +00:00
|
|
|
%configure PYTHON=python3
|
2012-08-08 16:10:12 +00:00
|
|
|
make %{?_smp_mflags}
|
2013-02-25 15:24:14 +00:00
|
|
|
popd
|
2006-07-18 17:11:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2013-02-25 15:24:14 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT -C python3-build
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT -C python2-build
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2012-08-08 16:10:12 +00:00
|
|
|
# unpackaged files
|
2014-11-06 13:47:02 +00:00
|
|
|
rm -fv $RPM_BUILD_ROOT%{python2_sitearch}/*.la
|
|
|
|
rm -fv $RPM_BUILD_ROOT%{python3_sitearch}/*.la
|
2012-08-08 16:10:12 +00:00
|
|
|
rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
|
2012-08-08 16:10:12 +00:00
|
|
|
%check
|
2013-10-28 15:06:48 +00:00
|
|
|
make check -k -C python2-build
|
|
|
|
make check -k -C python3-build
|
2006-07-18 17:11:08 +00:00
|
|
|
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2012-08-08 16:10:12 +00:00
|
|
|
%files
|
2014-05-29 15:28:59 +00:00
|
|
|
%doc COPYING NEWS
|
2014-11-06 13:19:40 +00:00
|
|
|
%{python2_sitearch}/*.so
|
2014-11-06 13:47:02 +00:00
|
|
|
%{python2_sitearch}/dbus/
|
2007-01-24 18:18:14 +00:00
|
|
|
|
|
|
|
%files devel
|
2014-05-29 15:28:59 +00:00
|
|
|
%doc README ChangeLog doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
|
2007-01-24 18:18:14 +00:00
|
|
|
%{_includedir}/dbus-1.0/dbus/dbus-python.h
|
|
|
|
%{_libdir}/pkgconfig/dbus-python.pc
|
2006-07-18 17:11:08 +00:00
|
|
|
|
2013-02-25 15:24:14 +00:00
|
|
|
%files -n python3-dbus
|
2014-05-29 15:28:59 +00:00
|
|
|
%doc COPYING
|
2013-02-25 15:24:14 +00:00
|
|
|
%{python3_sitearch}/*.so
|
2014-11-06 13:47:02 +00:00
|
|
|
%{python3_sitearch}/dbus/
|
2013-02-25 15:24:14 +00:00
|
|
|
|
2012-08-08 16:10:12 +00:00
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
%changelog
|
2015-06-17 03:46:12 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-11-06 13:19:40 +00:00
|
|
|
* Thu Nov 06 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-7
|
2014-11-06 13:47:02 +00:00
|
|
|
- python2_sitelib should be python2_sitearch (#1161121)
|
2014-11-06 13:19:40 +00:00
|
|
|
- update URL, s/python/python2/ a bit
|
|
|
|
|
2014-08-16 02:20:19 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-20 18:23:22 +00:00
|
|
|
* Fri Jun 20 2014 Dan Mashal <dan.mashal@fedoraproject.org> - 1.2.0-5
|
|
|
|
- Add patch needed that adds Object Manager functionality for Fedora server dbus api.
|
|
|
|
|
2014-06-07 06:54:17 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-29 15:28:59 +00:00
|
|
|
* Thu May 29 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-3
|
|
|
|
- Drop old python3 conditionals, SPEC cleanups
|
|
|
|
|
2014-05-12 12:35:56 +00:00
|
|
|
* Mon May 12 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-2
|
|
|
|
- rebuild (f21-python)
|
|
|
|
|
2013-10-28 15:06:48 +00:00
|
|
|
* Mon Oct 28 2013 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-1
|
|
|
|
- dbus-python-1.2.0 is available (#1021817)
|
|
|
|
|
2013-08-03 06:46:47 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-25 12:56:17 +00:00
|
|
|
* Thu Apr 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-5
|
|
|
|
- Add upstream patch to fix pygobject 3.8
|
|
|
|
|
2013-03-29 09:03:04 +00:00
|
|
|
* Fri Mar 29 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.1.1-4
|
|
|
|
- Apply patch to support aarch64 (#925236)
|
|
|
|
- Fix URL
|
|
|
|
|
2013-02-25 15:24:14 +00:00
|
|
|
* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-3
|
|
|
|
- python3-dbus subpkg (#892474)
|
|
|
|
- (main) Provides: python-dbus
|
|
|
|
- BR: python-docutils
|
|
|
|
- .spec cosmetics
|
|
|
|
- skip failed tests on rawhide (#913936)
|
|
|
|
|
2013-02-13 19:29:38 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-08 16:10:12 +00:00
|
|
|
* Tue Aug 07 2012 Rex Dieter <rdieter@fedoraproject.org> 1.1.1-1
|
|
|
|
- dbus-python-1.1.1 (#800487)
|
|
|
|
|
2012-07-18 20:22:28 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 00:21:37 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 13:09:57 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-22 01:02:21 +00:00
|
|
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.83.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2009-07-24 20:02:50 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-24 11:03:46 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 16:36:48 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.83.0-4
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-16 15:31:02 +00:00
|
|
|
* Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
|
|
|
|
- Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
|
|
|
|
|
2008-08-05 06:10:28 +00:00
|
|
|
* Tue Aug 05 2008 Huang Peng <phuang@redhat.com> - 0.83.0-2
|
2008-08-05 05:36:18 +00:00
|
|
|
- Update to 0.83.0.
|
|
|
|
|
2008-07-16 15:27:39 +00:00
|
|
|
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-19 00:22:41 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-20 22:20:20 +00:00
|
|
|
* Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1
|
|
|
|
- Update to 0.82.4
|
|
|
|
|
2007-10-23 01:38:21 +00:00
|
|
|
* Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3
|
|
|
|
- Rebuild against new dbus-glib
|
|
|
|
|
2007-08-29 03:52:15 +00:00
|
|
|
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-06-23 01:03:18 +00:00
|
|
|
* Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1
|
|
|
|
- Update to 0.82.0
|
|
|
|
- Put all docs in the usual place
|
|
|
|
|
2007-04-04 02:51:45 +00:00
|
|
|
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2
|
2007-04-04 02:47:44 +00:00
|
|
|
- Don't examine args for functions declared METH_NOARGS (#235017)
|
|
|
|
|
2007-02-13 18:17:19 +00:00
|
|
|
* Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1
|
|
|
|
- upgrade to 0.80.2 which fixes some memleaks
|
|
|
|
|
2007-01-24 18:18:14 +00:00
|
|
|
* Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1
|
|
|
|
- upgrade to 0.80.1
|
|
|
|
- remove dependency on Pyrex and libxml2
|
|
|
|
- some API breakage,
|
|
|
|
please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html
|
|
|
|
for notes on changes
|
|
|
|
|
2007-01-03 21:13:09 +00:00
|
|
|
* Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist}
|
|
|
|
- rebuild against new Pyrex
|
|
|
|
|
2006-12-06 23:09:31 +00:00
|
|
|
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8
|
|
|
|
- rebuild against python 2.5
|
|
|
|
|
2006-11-07 14:27:33 +00:00
|
|
|
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7
|
|
|
|
- Fix a typo in the spec file
|
|
|
|
|
2006-08-18 12:38:33 +00:00
|
|
|
* Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6
|
|
|
|
- require libxml2-python for site-packages/dbus/introspect_parser.py
|
|
|
|
|
2006-07-20 17:56:50 +00:00
|
|
|
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5
|
|
|
|
- Remove unnecessary obsoletes
|
|
|
|
|
2006-07-18 21:28:06 +00:00
|
|
|
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4
|
|
|
|
- Try python_sitearch this time
|
|
|
|
|
2006-07-18 20:16:35 +00:00
|
|
|
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
|
|
|
|
- Add a BR on dbus-devel
|
|
|
|
|
2006-07-18 17:27:02 +00:00
|
|
|
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
|
|
|
|
- Spec file cleanups
|
2006-07-18 20:09:22 +00:00
|
|
|
- Add PKG_CONFIG_PATH
|
2006-07-18 17:27:02 +00:00
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
|
|
|
|
- Initial package import
|