177 lines
5.3 KiB
RPMSpec
177 lines
5.3 KiB
RPMSpec
#
|
|
# spec file for package dbus-1-glib (Version 0.73)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: dbus-1-glib
|
|
BuildRequires: dbus-1 dbus-1-devel dbus-1-x11 expat glib2-devel gtk-doc libxml2-devel
|
|
URL: http://dbus.freedesktop.org/
|
|
License: GNU General Public License (GPL), Other uncritical OpenSource License
|
|
Group: Development/Libraries/Other
|
|
Version: 0.73
|
|
Release: 1
|
|
Autoreqprov: on
|
|
Summary: GLib-based library for using D-Bus
|
|
Source0: dbus-glib-%{version}.tar.gz
|
|
Patch0: dbus-glib-nameownerchange-workaround-thoenig-01.patch
|
|
Patch1: dbus-glib-gvalue-utils-fix-thoenig-01.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
|
|
%package -n dbus-1-glib-devel
|
|
Summary: Developer package for D-Bus/GLib bindings
|
|
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
|
|
Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`)
|
|
Requires: dbus-1-glib = %{version}
|
|
Requires: glib2-devel
|
|
Autoreqprov: on
|
|
Group: Development/Libraries/Other
|
|
%package -n dbus-1-glib-doc
|
|
Summary: Documentation for the D-Bus/GLib bindings
|
|
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
|
|
Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`)
|
|
Requires: dbus-1-glib = %{version}
|
|
Autoreqprov: on
|
|
Group: Documentation/HTML
|
|
|
|
%description
|
|
D-Bus add-on library to integrate the standard D-Bus library with the
|
|
GLib thread abstraction and main loop.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Olivier Andrieu <oliv__a@users.sourceforge.net>
|
|
Philip Blundell <pb@nexus.co.uk>
|
|
Anders Carlsson <andersca@gnome.org>
|
|
Kristian Hogsberg <krh@redhat.com>
|
|
Alex Larsson <alexl@redhat.com>
|
|
Michael Meeks <michael@ximian.com>
|
|
Seth Nickell <seth@gnome.org>
|
|
Havoc Pennington <hp@redhat.com>
|
|
Harri Porten <porten@kde.org>
|
|
Matthew Rickard <mjricka@epoch.ncsc.mil>
|
|
Zack Rusin <zack@kde.org>
|
|
Joe Shaw <joe@assbarn.com>
|
|
Colin Walters <walters@gnu.org>
|
|
David Zeuthen <david@fubar.dk>
|
|
|
|
|
|
%description -n dbus-1-glib-devel
|
|
D-Bus add-on library to integrate the standard D-Bus library with the
|
|
GLib thread abstraction and main loop.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Olivier Andrieu <oliv__a@users.sourceforge.net>
|
|
Philip Blundell <pb@nexus.co.uk>
|
|
Anders Carlsson <andersca@gnome.org>
|
|
Kristian Hogsberg <krh@redhat.com>
|
|
Alex Larsson <alexl@redhat.com>
|
|
Michael Meeks <michael@ximian.com>
|
|
Seth Nickell <seth@gnome.org>
|
|
Havoc Pennington <hp@redhat.com>
|
|
Harri Porten <porten@kde.org>
|
|
Matthew Rickard <mjricka@epoch.ncsc.mil>
|
|
Zack Rusin <zack@kde.org>
|
|
Joe Shaw <joe@assbarn.com>
|
|
Colin Walters <walters@gnu.org>
|
|
David Zeuthen <david@fubar.dk>
|
|
|
|
|
|
%description -n dbus-1-glib-doc
|
|
D-Bus add-on library to integrate the standard D-Bus library with the
|
|
GLib thread abstraction and main loop.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Olivier Andrieu <oliv__a@users.sourceforge.net>
|
|
Philip Blundell <pb@nexus.co.uk>
|
|
Anders Carlsson <andersca@gnome.org>
|
|
Kristian Hogsberg <krh@redhat.com>
|
|
Alex Larsson <alexl@redhat.com>
|
|
Michael Meeks <michael@ximian.com>
|
|
Seth Nickell <seth@gnome.org>
|
|
Havoc Pennington <hp@redhat.com>
|
|
Harri Porten <porten@kde.org>
|
|
Matthew Rickard <mjricka@epoch.ncsc.mil>
|
|
Zack Rusin <zack@kde.org>
|
|
Joe Shaw <joe@assbarn.com>
|
|
Colin Walters <walters@gnu.org>
|
|
David Zeuthen <david@fubar.dk>
|
|
|
|
%prep
|
|
%setup -n dbus-glib-%{version} -q
|
|
%patch0 -p0
|
|
%patch1 -p0
|
|
|
|
%build
|
|
autoreconf -fi
|
|
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fno-strict-aliasing -fPIC"
|
|
./configure \
|
|
--prefix=%{_prefix} \
|
|
--exec_prefix=%{_exec_prefix} \
|
|
--sysconfdir=%{_sysconfdir} \
|
|
--datadir=%{_datadir} \
|
|
--localstatedir=%{_localstatedir} \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir}
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
%post
|
|
%{run_ldconfig}
|
|
|
|
%postun
|
|
%{run_ldconfig}
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%{_libdir}/*glib*.so.*
|
|
%{_libdir}/*glib*.so
|
|
|
|
%files -n dbus-1-glib-devel
|
|
%defattr(-, root, root)
|
|
%{_bindir}/dbus-binding-tool
|
|
%{_includedir}/dbus-1.0/dbus/*
|
|
%{_libdir}/*glib*.a
|
|
%{_libdir}/*glib*.la
|
|
%{_libdir}/pkgconfig/dbus-glib-1.pc
|
|
|
|
%files -n dbus-1-glib-doc
|
|
%defattr(-, root, root)
|
|
%dir %{_datadir}/gtk-doc/html/dbus-glib/
|
|
%{_datadir}/gtk-doc/html/dbus-glib/*
|
|
|
|
%changelog
|
|
* Thu Mar 01 2007 - thoenig@suse.de
|
|
- new upstream version 0.73
|
|
- new package dbus-1-glib-doc
|
|
- drop patch dbus-glib-introspect-fix-thoenig-01.patch
|
|
* Mon Nov 06 2006 - thoenig@suse.de
|
|
- loosen dependency to D-Bus
|
|
* Tue Aug 01 2006 - thoenig@suse.de
|
|
- new upstream version 0.71
|
|
- new package: dbus-1-glib-devel
|
|
- moved dbus-binding-tool from dbus-1-glib to dbus-1-glib-devel
|
|
- moved GLib header and .la files from dbus-1-devel to
|
|
dbus-1-glib-devel
|
|
* Tue Aug 01 2006 - thoenig@suse.de
|
|
- split out binings to sparate spec files
|