|
|
5424bf |
|
|
|
5424bf |
%if 0%{?fedora} > 17
|
|
|
5424bf |
%global python3 1
|
|
|
5424bf |
%endif
|
|
|
5424bf |
|
|
|
5424bf |
Summary: D-Bus Python Bindings
|
|
|
5424bf |
Name: dbus-python
|
|
|
5424bf |
Version: 1.1.1
|
|
|
5424bf |
Release: 5%{?dist}
|
|
|
5424bf |
|
|
|
5424bf |
License: MIT
|
|
|
5424bf |
URL: http://www.freedesktop.org/software/dbus-python
|
|
|
5424bf |
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
|
|
5424bf |
|
|
|
5424bf |
Patch0: dbus-python-aarch64.patch
|
|
|
5424bf |
# http://cgit.freedesktop.org/dbus/dbus-python/commit/?id=423ee853dfbb4ee9ed89a21e1cf2b6a928e2fc4d
|
|
|
5424bf |
Patch1: dbus-python-pygobject38.patch
|
|
|
5424bf |
|
|
|
5424bf |
BuildRequires: dbus-devel
|
|
|
5424bf |
BuildRequires: dbus-glib-devel
|
|
|
5424bf |
BuildRequires: python-devel
|
|
|
5424bf |
BuildRequires: python-docutils
|
|
|
5424bf |
%if 0%{?python3}
|
|
|
5424bf |
BuildRequires: python3-devel
|
|
|
5424bf |
%endif
|
|
|
5424bf |
# for %%check
|
|
|
5424bf |
BuildRequires: dbus-x11 pygobject3
|
|
|
5424bf |
|
|
|
5424bf |
Provides: python-dbus = %{version}-%{release}
|
|
|
5424bf |
Provides: python-dbus%{?_isa} = %{version}-%{release}
|
|
|
5424bf |
|
|
|
5424bf |
%description
|
|
|
5424bf |
D-Bus python bindings for use with python programs.
|
|
|
5424bf |
|
|
|
5424bf |
%package devel
|
|
|
5424bf |
Summary: Libraries and headers for dbus-python
|
|
|
5424bf |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
5424bf |
|
|
|
5424bf |
%description devel
|
|
|
5424bf |
Headers and static libraries for hooking up custom mainloops to the dbus python
|
|
|
5424bf |
bindings.
|
|
|
5424bf |
|
|
|
5424bf |
%package -n python3-dbus
|
|
|
5424bf |
Summary: D-Bus bindings for python3
|
|
|
5424bf |
%description -n python3-dbus
|
|
|
5424bf |
%{summary}.
|
|
|
5424bf |
|
|
|
5424bf |
|
|
|
5424bf |
%prep
|
|
|
5424bf |
%setup -q
|
|
|
5424bf |
%patch0 -p1
|
|
|
5424bf |
%patch1 -p1
|
|
|
5424bf |
|
|
|
5424bf |
%build
|
|
|
5424bf |
%global _configure ../configure
|
|
|
5424bf |
|
|
|
5424bf |
mkdir python2-build; pushd python2-build
|
|
|
5424bf |
%configure PYTHON=%{__python}
|
|
|
5424bf |
make %{?_smp_mflags}
|
|
|
5424bf |
popd
|
|
|
5424bf |
|
|
|
5424bf |
%if 0%{?python3}
|
|
|
5424bf |
mkdir python3-build; pushd python3-build
|
|
|
5424bf |
%configure PYTHON=%{__python3}
|
|
|
5424bf |
make %{?_smp_mflags}
|
|
|
5424bf |
popd
|
|
|
5424bf |
%endif
|
|
|
5424bf |
|
|
|
5424bf |
|
|
|
5424bf |
%install
|
|
|
5424bf |
%if 0%{?python3}
|
|
|
5424bf |
make install DESTDIR=$RPM_BUILD_ROOT -C python3-build
|
|
|
5424bf |
%endif
|
|
|
5424bf |
|
|
|
5424bf |
make install DESTDIR=$RPM_BUILD_ROOT -C python2-build
|
|
|
5424bf |
|
|
|
5424bf |
# unpackaged files
|
|
|
5424bf |
rm -fv $RPM_BUILD_ROOT%{python_sitearch}/*.la
|
|
|
5424bf |
rm -fv $RPM_BUILD_ROOT%{python3_sitearch}/*.la
|
|
|
5424bf |
rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/
|
|
|
5424bf |
|
|
|
5424bf |
|
|
|
5424bf |
%check
|
|
|
5424bf |
# FIXME: seeing failures on f19+, http://bugzilla.redhat.com/913936
|
|
|
5424bf |
make check -k -C python2-build ||:
|
|
|
5424bf |
%if 0%{?python3}
|
|
|
5424bf |
make check -k -C python3-build ||:
|
|
|
5424bf |
%endif
|
|
|
5424bf |
|
|
|
5424bf |
|
|
|
5424bf |
%files
|
|
|
5424bf |
%doc COPYING ChangeLog README NEWS
|
|
|
5424bf |
%{python_sitearch}/*.so
|
|
|
5424bf |
%{python_sitelib}/dbus/
|
|
|
5424bf |
|
|
|
5424bf |
%files devel
|
|
|
5424bf |
%doc doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
|
|
|
5424bf |
%{_includedir}/dbus-1.0/dbus/dbus-python.h
|
|
|
5424bf |
%{_libdir}/pkgconfig/dbus-python.pc
|
|
|
5424bf |
|
|
|
5424bf |
%if 0%{?python3}
|
|
|
5424bf |
%files -n python3-dbus
|
|
|
5424bf |
%{python3_sitearch}/*.so
|
|
|
5424bf |
%{python3_sitelib}/dbus/
|
|
|
5424bf |
%endif
|
|
|
5424bf |
|
|
|
5424bf |
|
|
|
5424bf |
%changelog
|
|
|
5424bf |
* Thu Apr 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-5
|
|
|
5424bf |
- Add upstream patch to fix pygobject 3.8
|
|
|
5424bf |
|
|
|
5424bf |
* Fri Mar 29 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.1.1-4
|
|
|
5424bf |
- Apply patch to support aarch64 (#925236)
|
|
|
5424bf |
- Fix URL
|
|
|
5424bf |
|
|
|
5424bf |
* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-3
|
|
|
5424bf |
- python3-dbus subpkg (#892474)
|
|
|
5424bf |
- (main) Provides: python-dbus
|
|
|
5424bf |
- BR: python-docutils
|
|
|
5424bf |
- .spec cosmetics
|
|
|
5424bf |
- skip failed tests on rawhide (#913936)
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Aug 07 2012 Rex Dieter <rdieter@fedoraproject.org> 1.1.1-1
|
|
|
5424bf |
- dbus-python-1.1.1 (#800487)
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-10
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-9
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-8
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.83.0-7
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-6
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-5
|
|
|
5424bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.83.0-4
|
|
|
5424bf |
- Rebuild for Python 2.6
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
|
|
|
5424bf |
- Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Aug 05 2008 Huang Peng <phuang@redhat.com> - 0.83.0-2
|
|
|
5424bf |
- Update to 0.83.0.
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3
|
|
|
5424bf |
- fix license tag
|
|
|
5424bf |
|
|
|
5424bf |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2
|
|
|
5424bf |
- Autorebuild for GCC 4.3
|
|
|
5424bf |
|
|
|
5424bf |
* Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1
|
|
|
5424bf |
- Update to 0.82.4
|
|
|
5424bf |
|
|
|
5424bf |
* Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3
|
|
|
5424bf |
- Rebuild against new dbus-glib
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2
|
|
|
5424bf |
- Rebuild for selinux ppc32 issue.
|
|
|
5424bf |
|
|
|
5424bf |
* Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1
|
|
|
5424bf |
- Update to 0.82.0
|
|
|
5424bf |
- Put all docs in the usual place
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3
|
|
|
5424bf |
- Rebuild
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2
|
|
|
5424bf |
- Don't examine args for functions declared METH_NOARGS (#235017)
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1
|
|
|
5424bf |
- upgrade to 0.80.2 which fixes some memleaks
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1
|
|
|
5424bf |
- upgrade to 0.80.1
|
|
|
5424bf |
- remove dependency on Pyrex and libxml2
|
|
|
5424bf |
- some API breakage,
|
|
|
5424bf |
please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html
|
|
|
5424bf |
for notes on changes
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist}
|
|
|
5424bf |
- rebuild against new Pyrex
|
|
|
5424bf |
|
|
|
5424bf |
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8
|
|
|
5424bf |
- rebuild against python 2.5
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7
|
|
|
5424bf |
- Fix a typo in the spec file
|
|
|
5424bf |
|
|
|
5424bf |
* Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6
|
|
|
5424bf |
- require libxml2-python for site-packages/dbus/introspect_parser.py
|
|
|
5424bf |
|
|
|
5424bf |
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5
|
|
|
5424bf |
- Remove unnecessary obsoletes
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4
|
|
|
5424bf |
- Try python_sitearch this time
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
|
|
|
5424bf |
- Add a BR on dbus-devel
|
|
|
5424bf |
|
|
|
5424bf |
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
|
|
|
5424bf |
- Spec file cleanups
|
|
|
5424bf |
- Add PKG_CONFIG_PATH
|
|
|
5424bf |
|
|
|
5424bf |
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
|
|
|
5424bf |
- Initial package import
|