File mingw64-dbus-1-glib.spec of Package mingw64-dbus-1-glib

#
# spec file for package mingw64-dbus-1-glib
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           mingw64-dbus-1-glib
Version:        0.100.2
Release:        0
Summary:        D-Bus Message Bus System
License:        GPL-2.0-only OR AFL-2.1
Group:          Development/Libraries
Url:            http://dbus.freedesktop.org/
Source:         http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-%{version}.tar.gz
#!BuildIgnore: post-build-checks
BuildRequires:  dbus-1-glib-devel
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-dbus-1-devel
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-glib2-devel
BuildRequires:  mingw64-libexpat-devel
%_mingw64_package_header_debug
BuildArch:      noarch

%description
D-Bus is a message bus system, a simple way for applications to talk to
one another. D-Bus supplies both a system daemon and a
per-user-login-session daemon. Also, the message bus is built on top of
a general one-to-one message passing framework, which can be used by
any two apps to communicate directly (without going through the message
bus daemon).

%package -n mingw64-libdbus-glib-1-2
Summary:        Glib bindings for the Desktop Bus Message System
Group:          System/Libraries

%description -n mingw64-libdbus-glib-1-2
D-Bus is a message bus system, a simple way for applications to talk to
one another. D-Bus supplies both a system daemon and a

%package devel
Summary:        Developer package for D-Bus
Group:          Development/Libraries

%description devel
D-Bus is a message bus system, a simple way for applications to talk to
one another. D-Bus supplies both a system daemon and a
per-user-login-session daemon. Also, the message bus is built on top of
a general one-to-one message passing framework, which can be used by
any two apps to communicate directly (without going through the message
bus daemon).

%_mingw64_debug_package

%prep
%setup -q -n dbus-glib-%{version}

%build
echo "ac_cv_have_abstract_sockets=no" >>%{_mingw64_cache}
echo "lt_cv_deplibs_check_method=pass_all" >>%{_mingw64_cache}
%{_mingw64_configure} \
	--enable-shared --disable-static \
	--with-dbus-binding-tool=`which dbus-binding-tool`
make %{?_smp_mflags} || make

%install

make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files
%defattr(-,root,root)
%{_mingw64_libexecdir}/dbus-bash-completion-helper.exe
%{_mingw64_sysconfdir}/bash_completion.d/dbus-bash-completion.sh

%files -n mingw64-libdbus-glib-1-2
%defattr(-,root,root)
%{_mingw64_bindir}/libdbus-glib-1-2.dll

%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/dbus-1.0/dbus/*.h
%{_mingw64_libdir}/libdbus-glib-1.dll.a
%{_mingw64_libdir}/pkgconfig/dbus-glib-1.pc
%{_mingw64_datadir}/gtk-doc/html/dbus-glib
%{_mingw64_bindir}/dbus-binding-tool.exe
%{_mingw64_mandir}/man1/dbus-binding-tool.1*

%changelog
openSUSE Build Service is sponsored by