From 33260f206f3ca2e3704c727c7795d9480ece8d26 Mon Sep 17 00:00:00 2001 From: John (J5) Palmieri Date: Aug 23 2005 21:42:14 +0000 Subject: - Upgrade to dbus-0.36 - Split modules that go into %{_lib}/python2.4/site-packages/dbus and those that go into %{python_sitelib}/dbus (they differ on 64bit) - Renable Qt bindings since packages in core can use them --- diff --git a/.cvsignore b/.cvsignore index cd9335b..f76c0e0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -5,3 +5,4 @@ dbus-0.32.tar.gz dbus-0.33.tar.gz dbus-0.34.tar.gz dbus-0.35.2.tar.gz +dbus-0.36.tar.gz diff --git a/dbus.spec b/dbus.spec index d607794..b41a62f 100644 --- a/dbus.spec +++ b/dbus.spec @@ -1,3 +1,6 @@ +%define pyver %(python -c 'import sys ; print sys.version[:3]') +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_pytho\n_lib()")} + %define gettext_package dbus %define expat_version 1.95.5 @@ -11,7 +14,7 @@ Summary: D-BUS message bus Name: dbus -Version: 0.35.2 +Version: 0.36 Release: 1 URL: http://www.freedesktop.org/software/dbus/ Source0: %{name}-%{version}.tar.gz @@ -75,8 +78,6 @@ D-BUS tools written using the gtk+ GUI libaries %endif -%if 0 - %package qt Summary: Qt-based library for using D-BUS Group: Development/Libraries @@ -87,8 +88,6 @@ Requires: %name = %{version}-%{release} D-BUS add-on library to integrate the standard D-BUS library with the Qt thread abstraction and main loop. -%endif - %package x11 Summary: X11-requiring add-ons for D-BUS Group: Development/Libraries @@ -114,9 +113,11 @@ D-BUS python bindings for use with python programs. %patch1 -p1 -b .selinux_chroot_workaround %patch2 -p1 -b .selinux-avc-audit +autoreconf -f -i + %build -COMMON_ARGS="--enable-glib=yes --enable-libaudit --enable-qt=no --enable-selinux=yes --disable-gtk --with-init-scripts=redhat --with-system-pid-file=%{_localstatedir}/run/messagebus.pid --with-dbus-user=%{dbus_user_uid}" +COMMON_ARGS="--enable-glib=yes --enable-libaudit --enable-qt=yes --enable-selinux=yes --disable-gtk --with-init-scripts=redhat --with-system-pid-file=%{_localstatedir}/run/messagebus.pid --with-dbus-user=%{dbus_user_uid}" if test -d %{_libdir}/qt-3.1 ; then export QTDIR=%{_libdir}/qt-3.1 @@ -160,16 +161,8 @@ rm -rf %{buildroot} rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -#hack to get around a bug in the python distutils on 64 bit archs -%if "%{_lib}" == "lib64" -cp -r $RPM_BUILD_ROOT/usr/lib/* $RPM_BUILD_ROOT%{_libdir}/ -rm -rf $RPM_BUILD_ROOT/usr/lib -perl -pi -e 's/\/usr\/lib\//\/usr\/lib64\//g' INSTALLED_FILES -%endif - rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/dbus/*.*a - ## %find_lang %{gettext_package} %clean @@ -237,14 +230,11 @@ fi %endif -%if 0 %files qt %defattr(-,root,root) %{_libdir}/*qt*.so.* -%endif - %files x11 %defattr(-,root,root) @@ -252,10 +242,17 @@ fi %files python %defattr(-,root,root) -%{_libdir}/python*/site-packages/dbus/*.py* %{_libdir}/python*/site-packages/dbus/*.so +%{_libdir}/python*/site-packages/dbus.pth +%{python_sitelib}/dbus/*.py* %changelog +* Tue Aug 23 2005 John (J5) Palmieri - 0.36-1 +- Upgrade to dbus-0.36 +- Split modules that go into %{_lib}/python2.4/site-packages/dbus +and those that go into %{python_sitelib}/dbus (they differ on 64bit) +- Renable Qt bindings since packages in core can use them + * Mon Jul 18 2005 John (J5) Palmieri - 0.35.2-1 - Upgrade to dbus-0.35.2 - removed dbus-0.34-kill-babysitter.patch diff --git a/sources b/sources index c0fd4f5..d4be95a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -414680dddd3dec84cc3b0c45cdfaafbc dbus-0.35.2.tar.gz +c969d0a11599e5950fb28eeed8b353ba dbus-0.36.tar.gz