2006-07-18 21:28:06 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
2007-01-24 19:43:56 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
2006-07-18 17:11:08 +00:00
|
|
|
|
|
|
|
%define dbus_glib_version 0.70
|
2006-07-18 20:16:35 +00:00
|
|
|
%define dbus_version 0.90
|
2006-07-18 17:11:08 +00:00
|
|
|
|
|
|
|
Summary: D-Bus Python Bindings
|
|
|
|
Name: dbus-python
|
2007-06-23 01:03:18 +00:00
|
|
|
Version: 0.82.0
|
2007-10-23 01:38:21 +00:00
|
|
|
Release: 3%{?dist}
|
2006-07-18 17:11:08 +00:00
|
|
|
URL: http://www.freedesktop.org/software/dbus/
|
2007-10-20 02:36:38 +00:00
|
|
|
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
License: AFL/GPL
|
|
|
|
Group: System Environment/Libraries
|
2006-07-18 17:27:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2006-07-18 20:16:35 +00:00
|
|
|
BuildRequires: dbus-devel >= %{dbus_version}
|
2006-07-18 17:11:08 +00:00
|
|
|
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
|
2007-01-24 18:53:53 +00:00
|
|
|
BuildRequires: python-devel
|
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
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
Headers and static libraries for hooking up custom mainloops to the dbus python
|
|
|
|
bindings.
|
|
|
|
|
2006-07-18 17:11:08 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-01-24 18:18:14 +00:00
|
|
|
%configure
|
|
|
|
|
|
|
|
make
|
2006-07-18 17:11:08 +00:00
|
|
|
|
2007-01-24 18:18:14 +00:00
|
|
|
#CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
2006-07-18 17:11:08 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2007-01-24 18:18:14 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
#PKG_CONFIG_PATH=%{_libdir}/pkgconfig %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{python_sitearch}/*.la
|
2006-07-18 17:11:08 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
2007-06-23 01:03:18 +00:00
|
|
|
%doc COPYING ChangeLog README NEWS TODO
|
|
|
|
%doc doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
|
|
|
|
%exclude %{_datadir}/doc/dbus-python
|
2007-01-24 18:18:14 +00:00
|
|
|
|
2007-01-24 19:43:56 +00:00
|
|
|
%dir %{python_sitelib}/dbus
|
|
|
|
%dir %{python_sitelib}/dbus/mainloop
|
2007-01-24 18:18:14 +00:00
|
|
|
%{python_sitearch}/*.so
|
2007-01-24 19:43:56 +00:00
|
|
|
%{python_sitelib}/*.py*
|
|
|
|
%{python_sitelib}/dbus/*.py*
|
|
|
|
%{python_sitelib}/dbus/mainloop/*.py*
|
2007-01-24 18:18:14 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%{_includedir}/dbus-1.0/dbus/dbus-python.h
|
|
|
|
%{_libdir}/pkgconfig/dbus-python.pc
|
2006-07-18 17:11:08 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|