- 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
This commit is contained in:
parent
23b181f97a
commit
33260f206f
@ -5,3 +5,4 @@ dbus-0.32.tar.gz
|
|||||||
dbus-0.33.tar.gz
|
dbus-0.33.tar.gz
|
||||||
dbus-0.34.tar.gz
|
dbus-0.34.tar.gz
|
||||||
dbus-0.35.2.tar.gz
|
dbus-0.35.2.tar.gz
|
||||||
|
dbus-0.36.tar.gz
|
||||||
|
33
dbus.spec
33
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 gettext_package dbus
|
||||||
|
|
||||||
%define expat_version 1.95.5
|
%define expat_version 1.95.5
|
||||||
@ -11,7 +14,7 @@
|
|||||||
|
|
||||||
Summary: D-BUS message bus
|
Summary: D-BUS message bus
|
||||||
Name: dbus
|
Name: dbus
|
||||||
Version: 0.35.2
|
Version: 0.36
|
||||||
Release: 1
|
Release: 1
|
||||||
URL: http://www.freedesktop.org/software/dbus/
|
URL: http://www.freedesktop.org/software/dbus/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
@ -75,8 +78,6 @@ D-BUS tools written using the gtk+ GUI libaries
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0
|
|
||||||
|
|
||||||
%package qt
|
%package qt
|
||||||
Summary: Qt-based library for using D-BUS
|
Summary: Qt-based library for using D-BUS
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -87,8 +88,6 @@ Requires: %name = %{version}-%{release}
|
|||||||
D-BUS add-on library to integrate the standard D-BUS library with
|
D-BUS add-on library to integrate the standard D-BUS library with
|
||||||
the Qt thread abstraction and main loop.
|
the Qt thread abstraction and main loop.
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package x11
|
%package x11
|
||||||
Summary: X11-requiring add-ons for D-BUS
|
Summary: X11-requiring add-ons for D-BUS
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -114,9 +113,11 @@ D-BUS python bindings for use with python programs.
|
|||||||
%patch1 -p1 -b .selinux_chroot_workaround
|
%patch1 -p1 -b .selinux_chroot_workaround
|
||||||
%patch2 -p1 -b .selinux-avc-audit
|
%patch2 -p1 -b .selinux-avc-audit
|
||||||
|
|
||||||
|
autoreconf -f -i
|
||||||
|
|
||||||
%build
|
%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
|
if test -d %{_libdir}/qt-3.1 ; then
|
||||||
export QTDIR=%{_libdir}/qt-3.1
|
export QTDIR=%{_libdir}/qt-3.1
|
||||||
@ -160,16 +161,8 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
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
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/dbus/*.*a
|
||||||
|
|
||||||
|
|
||||||
## %find_lang %{gettext_package}
|
## %find_lang %{gettext_package}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -237,14 +230,11 @@ fi
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0
|
|
||||||
%files qt
|
%files qt
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%{_libdir}/*qt*.so.*
|
%{_libdir}/*qt*.so.*
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files x11
|
%files x11
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
@ -252,10 +242,17 @@ fi
|
|||||||
|
|
||||||
%files python
|
%files python
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/python*/site-packages/dbus/*.py*
|
|
||||||
%{_libdir}/python*/site-packages/dbus/*.so
|
%{_libdir}/python*/site-packages/dbus/*.so
|
||||||
|
%{_libdir}/python*/site-packages/dbus.pth
|
||||||
|
%{python_sitelib}/dbus/*.py*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 23 2005 John (J5) Palmieri <johnp@redhat.com> - 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 <johnp@redhat.com> - 0.35.2-1
|
* Mon Jul 18 2005 John (J5) Palmieri <johnp@redhat.com> - 0.35.2-1
|
||||||
- Upgrade to dbus-0.35.2
|
- Upgrade to dbus-0.35.2
|
||||||
- removed dbus-0.34-kill-babysitter.patch
|
- removed dbus-0.34-kill-babysitter.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user