|
%define release %mkrel 2 |
|
|
%define glib2_version 2.26.0 |
|
|
%define dbus_version 1.2.16 |
|
|
|
|
1 |
%define lib_major 2 |
%define lib_major 2 |
2 |
%define lib_api 1 |
%define lib_api 1 |
3 |
%define lib_name %mklibname dbus-glib- %{lib_api} %{lib_major} |
%define lib_name %mklibname dbus-glib %{lib_api} %{lib_major} |
4 |
|
%define develname %mklibname %{name} |
5 |
|
|
6 |
%define git_url git://git.freedesktop.org/git/dbus/dbus-glib |
%define git_url git://git.freedesktop.org/git/dbus/dbus-glib |
7 |
|
|
8 |
|
|
9 |
Summary: D-Bus message bus |
Summary: D-Bus message bus |
10 |
Name: dbus-glib |
Name: dbus-glib |
11 |
Version: 0.94 |
Version: 0.96 |
12 |
Release: %release |
Release: %mkrel 1 |
13 |
URL: http://www.freedesktop.org/Software/dbus |
URL: http://www.freedesktop.org/Software/dbus |
14 |
Source0: http://dbus.freedesktop.org/releases/%name/%{name}-%{version}.tar.gz |
Source0: http://dbus.freedesktop.org/releases/%name/%{name}-%{version}.tar.gz |
|
# Patches from upstream to fix a regression after fixing FD.o #36811, which broke |
|
|
# NetworkManager |
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=37852 |
|
|
Patch0: dbus-glib-0.94-regression-test-for-fd.o-BUG37852.patch |
|
|
Patch1: dbus-glib-0.94-registrations-test-only-listen-for-signals-not-all-messages.patch |
|
|
Patch2: dbus-glib-0.94-fix-regression-in-marshalling-objects-as-object-paths.patch |
|
15 |
License: AFL and GPLv2 |
License: AFL and GPLv2 |
16 |
Group: System/Libraries |
Group: System/Libraries |
17 |
BuildRequires: glib2-devel >= %{glib2_version} |
BuildRequires: pkgconfig(dbus-1) >= 1.2.16 |
18 |
BuildRequires: dbus-devel >= %{dbus_version} |
BuildRequires: pkgconfig(gio-2.0) >= 2.26 |
19 |
BuildRequires: libxml2-devel |
BuildRequires: pkgconfig(gobject-2.0) >= 2.26 |
20 |
BuildRequires: libexpat-devel |
BuildRequires: pkgconfig(gthread-2.0) >= 2.6 |
21 |
# needed by patch0 |
BuildRequires: expat-devel |
|
BuildRequires: gtk-doc |
|
22 |
|
|
23 |
%description |
%description |
24 |
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 |
28 |
Summary: GLib-based library for using D-Bus |
Summary: GLib-based library for using D-Bus |
29 |
Group: System/Libraries |
Group: System/Libraries |
30 |
Provides: dbus-glib = %{version}-%{release} |
Provides: dbus-glib = %{version}-%{release} |
31 |
# keep this provides to be able Mdv 2007.0 using urpmi |
Obsoletes: %{_lib}dbus-glib-1_2 < 0.96 |
|
Provides: libdbus-glib = %{version}-%{release} |
|
32 |
|
|
33 |
%description -n %{lib_name} |
%description -n %{lib_name} |
34 |
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 |
35 |
the GLib thread abstraction and main loop. |
the GLib thread abstraction and main loop. |
36 |
|
|
37 |
%package -n %{lib_name}-devel |
%package -n %{develname} |
38 |
Summary: Libraries and headers for D-Bus |
Summary: Libraries and headers for D-Bus |
39 |
Group: Development/C |
Group: Development/C |
40 |
Requires: %{lib_name} = %{version} |
Requires: %{lib_name} = %{version} |
41 |
Provides: lib%{name}-1-devel = %{version}-%{release} |
Provides: lib%{name}-1-devel = %{version}-%{release} |
42 |
Provides: lib%{name}-devel = %{version}-%{release} |
Provides: lib%{name}-devel = %{version}-%{release} |
43 |
Provides: %{name}-devel = %{version}-%{release} |
Provides: %{name}-devel = %{version}-%{release} |
44 |
|
Obsoletes: %{_lib}dbus-glib-1_2-devel < 0.96 |
45 |
|
|
46 |
%description -n %{lib_name}-devel |
%description -n %{develname} |
47 |
Headers and static libraries for D-Bus. |
Headers and static libraries for D-Bus. |
48 |
|
|
49 |
|
|
52 |
%apply_patches |
%apply_patches |
53 |
|
|
54 |
%build |
%build |
|
autoreconf -fi |
|
55 |
%configure2_5x \ |
%configure2_5x \ |
56 |
--disable-tests \ |
--disable-tests \ |
57 |
--disable-verbose-mode \ |
--disable-verbose-mode \ |
77 |
%defattr(-,root,root) |
%defattr(-,root,root) |
78 |
%{_libdir}/*glib*.so.%{lib_major}* |
%{_libdir}/*glib*.so.%{lib_major}* |
79 |
|
|
80 |
%files -n %{lib_name}-devel |
%files -n %{develname} |
81 |
%defattr(-,root,root) |
%defattr(-,root,root) |
82 |
%{_bindir}/dbus-binding-tool |
%{_bindir}/dbus-binding-tool |
83 |
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh |
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh |
84 |
%{_libdir}/dbus-bash-completion-helper |
%{_libdir}/dbus-bash-completion-helper |
|
%{_libdir}/libdbus-glib-%{lib_api}.a |
|
85 |
%{_libdir}/libdbus-glib-%{lib_api}.so |
%{_libdir}/libdbus-glib-%{lib_api}.so |
86 |
%{_libdir}/pkgconfig/dbus-glib-%{lib_api}.pc |
%{_libdir}/pkgconfig/dbus-glib-%{lib_api}.pc |
87 |
%{_includedir}/dbus-1.0/dbus/dbus-glib-bindings.h |
%{_includedir}/dbus-1.0/dbus/dbus-glib-bindings.h |