]> git.pld-linux.org Git - packages/dbus.git/commitdiff
- 0.91, now without bindings (available as separated tarballs),
authorfreetz <freetz@pld-linux.org>
Tue, 1 Aug 2006 18:57:12 +0000 (18:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  untested for now, due to braindamaged soname/API breakage

Changed files:
    dbus.spec -> 1.136

dbus.spec

index 86adb2961b2e9cad156554c3b52042e1a9765aa2..fedb7cbef6d9f1027630e9a11749eedf516460b3 100644 (file)
--- a/dbus.spec
+++ b/dbus.spec
@@ -1,82 +1,33 @@
 #
-# 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
@@ -137,204 +88,10 @@ Static D-BUS libraries.
 %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}
@@ -342,20 +99,8 @@ sed -i -e 's/example//' mono/Makefile.am
 %{__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 \
@@ -364,9 +109,7 @@ LDFLAGS="%{rpmldflags} -Wl,--as-needed"
        --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
@@ -378,19 +121,13 @@ install -d $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
 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
 
@@ -417,21 +154,13 @@ fi
 %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
@@ -447,6 +176,7 @@ fi
 %{_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
@@ -469,85 +199,3 @@ fi
 %files static
 %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
This page took 0.1575 seconds and 4 git commands to generate.