SPECS: dbus.spec - 0.91, now without bindings (available as separa...

freetz freetz at pld-linux.org
Tue Aug 1 20:57:18 CEST 2006


Author: freetz                       Date: Tue Aug  1 18:57:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.91, now without bindings (available as separated tarballs),
  untested for now, due to braindamaged soname/API breakage

---- Files affected:
SPECS:
   dbus.spec (1.135 -> 1.136) 

---- Diffs:

================================================================
Index: SPECS/dbus.spec
diff -u SPECS/dbus.spec:1.135 SPECS/dbus.spec:1.136
--- SPECS/dbus.spec:1.135	Mon Jul 17 18:55:17 2006
+++ SPECS/dbus.spec	Tue Aug  1 20:57:12 2006
@@ -1,83 +1,34 @@
 # $Revision$, $Date$
 #
-# TODO:
-# - qt4 bindings
-#
-# Conditional build:
-%bcond_without	dotnet	# without .NET support
-%bcond_without	gcj	# without Java support
-%bcond_without	glib	# without glib support
-%bcond_without	gtk	# without GTK+ programs
-%bcond_without	python	# without Python support
-%bcond_without	qt	# without Qt 3.x support
-%bcond_with	qt4	# with Qt 4.x support (broken)
-#
-%{?with_dotnet:%include	/usr/lib/rpm/macros.mono}
-
-%if %{without glib}
-%undefine	with_gtk
-%endif
-
-%ifarch i386 alpha sparc sparc64
-%undefine with_dotnet
-%endif
-
 %define		expat_version	1:1.95.5
-%define		glib2_version	1:2.2.0
-%define		gtk2_version	2:2.4.0
-%define		qt_version	6:3.1.0
-
+#
 Summary:	D-BUS message bus
 Summary(pl):	Magistrala przesyłania komunikatów D-BUS
 Name:		dbus
-Version:	0.62
-Release:	4
+Version:	0.91
+Release:	1
 License:	AFL v2.1 or GPL v2
 Group:		Libraries
 Source0:	http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5:	ba7692f63d0e9f1ef06703dff56cb650
+# Source0-md5:	3f641bf73bcc538d3871622799ce2cd0
 Source1:	messagebus.init
 Source2:	%{name}-daemon-1-profile.d-sh
 Source3:	%{name}-sysconfig
 Source4:	%{name}-xinitrc.sh
 Patch0:		%{name}-nolibs.patch
 Patch1:		%{name}-config.patch
-Patch2:		%{name}-mint.patch
-Patch3:		%{name}-python_fixes.patch
-Patch4:		%{name}-monodir.patch
-Patch5:		%{name}-gcj.patch
 URL:		http://www.freedesktop.org/Software/dbus
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
-%{?with_python:BuildRequires:	cpp}
 BuildRequires:	doxygen
 BuildRequires:	expat-devel >= %{expat_version}
-%{?with_gcj:BuildRequires:	gcc-java >= 5:4.0}
-%{?with_glib:BuildRequires:	glib2-devel >= %{glib2_version}}
-%{?with_gtk:BuildRequires:	gtk+2-devel >= %{gtk2_version}}
-BuildRequires:	xorg-lib-libX11-devel
-%if %{with dotnet}
-BuildRequires:	mono-csharp >= 1.1.7
-BuildRequires:	monodoc >= 1.0.7-2
-%endif
 BuildRequires:	libselinux-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-%if %{with python}
-BuildRequires:	python-Pyrex >= 0.9.3
-BuildRequires:	python-devel >= 2.2
-%endif
-%{?with_qt:BuildRequires:	qt-devel >= %{qt_version}}
-%{?with_python:BuildRequires:	rpm-pythonprov}
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
 BuildRequires:	xmlto
-%if %{with qt4}
-BuildRequires:	QtCore-devel >= 4.1
-BuildRequires:	QtTest-devel >= 4.1
-BuildRequires:	QtXml-devel >= 4.1
-BuildRequires:	qt4-build
-%endif
+BuildRequires:	xorg-lib-libX11-devel
 Requires(post,postun):	/sbin/ldconfig
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
@@ -138,204 +89,10 @@
 %description static -l pl
 Statyczne biblioteki D-BUS.
 
-%package glib
-Summary:	GLib-based library for using D-BUS
-Summary(pl):	Biblioteka do używania D-BUS oparta o GLib
-Group:		Libraries
-Requires:	%{name}-libs = %{version}-%{release}
-Requires:	glib2 >= %{glib2_version}
-
-%description glib
-D-BUS add-on library to integrate the standard D-BUS library with the
-GLib thread abstraction and main loop.
-
-%description glib -l pl
-Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
-z abstrakcją wątków i główną pętlą GLib.
-
-%package glib-devel
-Summary:	Header files for GLib-based library for using D-BUS
-Summary(pl):	Pliki nagłówkowe biblioteki do używania D-BUS opartej o GLib
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-glib = %{version}-%{release}
-Requires:	glib2-devel >= %{glib2_version}
-
-%description glib-devel
-Header files for GLib-based library for using D-BUS.
-
-%description glib-devel -l pl
-Pliki nagłówkowe biblioteki do używania D-BUS opartej o GLib.
-
-%package glib-static
-Summary:	Static GLib-based library for using D-BUS
-Summary(pl):	Statyczna biblioteka do używania D-BUS oparta o GLib
-Group:		Development/Libraries
-Requires:	%{name}-glib-devel = %{version}-%{release}
-
-%description glib-static
-Static GLib-based library for using D-BUS.
-
-%description glib-static -l pl
-Statyczna biblioteka do używania D-BUS oparta o GLib.
-
-%package glib-tools
-Summary:	GLib-based tools for D-BUS
-Summary(pl):	Narzędzia dla D-BUS oparte o GLib
-Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
-Requires:	%{name}-glib = %{version}-%{release}
-
-%description glib-tools
-GLib-based tools for D-BUS.
-
-%description glib-tools -l pl
-Narzędzia dla D-BUS oparte o GLib
-
-%package gtk
-Summary:	GTK+-based graphical D-BUS frontend utility
-Summary(pl):	Oparte na GTK+ graficzne narzędzie do D-BUS
-Group:		X11/Applications
-Requires:	%{name} = %{version}-%{release}
-Requires:	%{name}-glib = %{version}-%{release}
-
-%description gtk
-GTK+-based graphical D-BUS frontend utility.
-
-%description gtk -l pl
-Oparte na GTK+ graficzne narzędzie do D-BUS.
-
-%package -n dotnet-%{name}-sharp
-Summary:	.NET library for using D-BUS
-Summary(pl):	Biblioteka .NET do używania D-BUS
-Group:		Development/Libraries
-Requires:	%{name}-libs = %{version}-%{release}
-Requires:	mono >= 1.1.7
-
-%description -n dotnet-%{name}-sharp
-.NET library for using D-BUS.
-
-%description -n dotnet-%{name}-sharp -l pl
-Biblioteka .NET do używania D-BUS.
-
-%package -n dotnet-%{name}-sharp-devel
-Summary:	.NET library for using D-BUS with API documentation
-Summary(pl):	Biblioteka .NET do używania D-BUS, zawiera dokumentację API
-Group:		Development/Libraries
-Requires:	dotnet-%{name}-sharp = %{version}-%{release}
-
-%description -n dotnet-%{name}-sharp-devel
-.NET library for using D-BUS, with API documentation.
-
-%description -n dotnet-%{name}-sharp-devel -l pl
-Biblioteka .NET do używania D-BUS, zawiera dokumentację API.
-
-%package qt
-Summary:	Qt-based library for using D-BUS
-Summary(pl):	Biblioteka do używania D-BUS oparta o Qt
-Group:		Libraries
-Requires:	%{name}-libs = %{version}-%{release}
-
-%description qt
-D-BUS add-on library to integrate the standard D-BUS library with the
-Qt thread abstraction and main loop.
-
-%description qt -l pl
-Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
-z abstrakcją wątków i główną pętlą Qt.
-
-%package qt-devel
-Summary:	Header files for Qt-based library for using D-BUS
-Summary(pl):	Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-qt = %{version}-%{release}
-
-%description qt-devel
-Header files for Qt-based library for using D-BUS.
-
-%description qt-devel -l pl
-Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt.
-
-%package qt-static
-Summary:	Static Qt-based library for using D-BUS
-Summary(pl):	Statyczna biblioteka do używania D-BUS oparta o Qt
-Group:		Development/Libraries
-Requires:	%{name}-qt-devel = %{version}-%{release}
-
-%description qt-static
-Static Qt-based library for using D-BUS.
-
-%description qt-static -l pl
-Statyczna biblioteka do używania D-BUS oparta o Qt.
-
-%package gcj
-Summary:	Java library for using D-BUS
-Summary(pl):	Biblioteka do używania D-BUS oparta o Javę
-Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
-
-%description gcj
-D-BUS add-on library to integrate the standard D-BUS library with
-Java.
-
-%description gcj -l pl
-Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
-z Javą.
-
-%package gcj-devel
-Summary:	Header files for Java-based library for using D-BUS
-Summary(pl):	Pliki nagłówkowe biblioteki do używania D-BUS opartej o Javę
-Group:		Development/Libraries
-Requires:	%{name}-gcj = %{version}-%{release}
-
-%description gcj-devel
-Header files for Java-based library for using D-BUS.
-
-%description gcj-devel -l pl
-Pliki nagłówkowe biblioteki do używania D-BUS opartej o Javę.
-
-%package gcj-static
-Summary:	Static Java-based library for using D-BUS
-Summary(pl):	Statyczna biblioteka do używania D-BUS oparta o Javę
-Group:		Development/Libraries
-Requires:	%{name}-gcj-devel = %{version}-%{release}
-
-%description gcj-static
-Static Java-based library for using D-BUS.
-
-%description gcj-static -l pl
-Statyczna biblioteka do używania D-BUS oparta o Javę.
-
-%package -n python-dbus
-Summary:	Python library for using D-BUS
-Summary(pl):	Biblioteka do używania D-BUS oparta o Pythona
-Group:		Libraries
-Requires:	%{name}-libs = %{version}-%{release}
-%pyrequires_eq	python
-Requires:	python-libxml2
-
-%description -n python-dbus
-D-BUS add-on library to integrate the standard D-BUS library with
-Python.
-
-%description -n python-dbus -l pl
-Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
-z Pythonem.
-
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p0
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-sed -i -e 's/DBUS_QT3_LIBS=.*/DBUS_QT3_LIBS="-lqt-mt"/' configure.in
-
-# don't build dotnet-gtk-sharp based examples
-# (depends on old gtk-sharp)
-sed -i -e 's/example//' mono/Makefile.am
 
 %build
 %{__libtoolize}
@@ -343,20 +100,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
-	GCJFLAGS="%{rpmcflags}" \
-	QTDIR=/usr \
 	%{?debug:--enable-verbose-mode} \
-	%{?with_dotnet:--enable-mono} \
-	%{?with_dotnet:--enable-mono-docs} \
-	%{!?with_gcj:--disable-gcj} \
-	%{?with_gcj:--enable-gcj} \
-	%{!?with_glib:--disable-glib} \
-	%{!?with_gtk:--disable-gtk} \
-	%{!?with_python:--disable-python} \
-	%{?with_qt:--enable-qt3 --with-qt3-moc=/usr/bin/moc} \
-	%{?with_qt4:--enable-qt --with-qt-moc=%{_libdir}/qt4/bin/moc}%{!?with_qt4:--with-qt-moc=/NOWHERE} \
 	--disable-asserts \
 	--disable-tests \
 	--enable-abstract-sockets \
@@ -365,9 +110,7 @@
 	--with-session-socket-dir=/tmp \
 	--with-system-pid-file=%{_localstatedir}/run/dbus.pid \
 	--with-xml=expat
-%{__make} \
-	JAR=fastjar \
-	pythondir=%{py_sitedir}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -379,19 +122,13 @@
 install -d $RPM_BUILD_ROOT%{_localstatedir}/run/dbus
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	JAR=fastjar \
-	pythondir=%{py_sitedir}
+	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/messagebus
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/dbus-daemon-1.sh
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/dbus
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d
 
-%if %{with python}
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{name}/*.{py,la,a}
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -418,21 +155,13 @@
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
-%post	glib -p /sbin/ldconfig
-%postun	glib -p /sbin/ldconfig
-
-%post	qt -p /sbin/ldconfig
-%postun	qt -p /sbin/ldconfig
-
-%post	gcj -p /sbin/ldconfig
-%postun	gcj -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/dbus-cleanup-sockets
 %attr(755,root,root) %{_bindir}/dbus-daemon
 # R: libX11
 %attr(755,root,root) %{_bindir}/dbus-launch
+%attr(755,root,root) %{_bindir}/dbus-monitor
 %attr(755,root,root) %{_bindir}/dbus-send
 %dir %{_sysconfdir}/dbus-1
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/*.conf
@@ -448,6 +177,7 @@
 %{_mandir}/man1/dbus-cleanup-sockets.1*
 %{_mandir}/man1/dbus-daemon.1*
 %{_mandir}/man1/dbus-launch.1*
+%{_mandir}/man1/dbus-monitor.1*
 %{_mandir}/man1/dbus-send.1*
 
 %files libs
@@ -471,94 +201,16 @@
 %defattr(644,root,root,755)
 %{_libdir}/libdbus-1.a
 
-%if %{with glib}
-%files glib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
-
-%files glib-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/dbus-binding-tool
-%attr(755,root,root) %{_libdir}/libdbus-glib-1.so
-%{_libdir}/libdbus-glib-1.la
-%{_includedir}/dbus*/dbus/dbus-glib*.h
-%{_pkgconfigdir}/dbus-glib-1.pc
-
-%files glib-static
-%defattr(644,root,root,755)
-%{_libdir}/libdbus-glib-1.a
-
-%files glib-tools
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/dbus-monitor
-%{_mandir}/man1/dbus-monitor.1*
-%endif
-
-%if %{with gtk}
-%files gtk
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/dbus-viewer
-%endif
-
-%if %{with dotnet}
-%files -n dotnet-%{name}-sharp
-%defattr(644,root,root,755)
-%{_prefix}/lib/mono/gac/dbus-sharp
-
-%files -n dotnet-%{name}-sharp-devel
-%defattr(644,root,root,755)
-%{_prefix}/lib/mono/dbus-sharp
-%{_libdir}/monodoc/sources/*
-%{_pkgconfigdir}/dbus-sharp.pc
-%endif
-
-%if %{with qt}
-%files qt
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdbus-qt-1.so.*.*.*
-
-%files qt-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdbus-qt-1.so
-%{_libdir}/libdbus-qt-1.la
-%{_includedir}/dbus*/dbus/dbus-qt.h
-
-%files qt-static
-%defattr(644,root,root,755)
-%{_libdir}/libdbus-qt-1.a
-%endif
-
-%if %{with gcj}
-%files gcj
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*gcj*.so.*.*.*
-
-%files gcj-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*gcj*.so
-%{_libdir}/lib*gcj*.la
-%{_datadir}/java/*.jar
-
-%files gcj-static
-%defattr(644,root,root,755)
-%{_libdir}/lib*gcj*.a
-%endif
-
-%if %{with python}
-%files -n python-dbus
-%defattr(644,root,root,755)
-%dir %{py_sitedir}/%{name}
-%attr(755,root,root) %{py_sitedir}/%{name}/*.so
-%{py_sitedir}/dbus.pth
-%{py_sitedir}/%{name}/*.py[co]
-%endif
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.136  2006/08/01 18:57:12  freetz
+- 0.91, now without bindings (available as separated tarballs),
+  untested for now, due to braindamaged soname/API breakage
+
 Revision 1.135  2006/07/17 16:55:17  freetz
 - rel.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dbus.spec?r1=1.135&r2=1.136&f=u



More information about the pld-cvs-commit mailing list