File mingw32-dbus-1.spec of Package mingw32-dbus-1
#
# spec file for package mingw32-dbus-1
#
# 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: mingw32-dbus-1
Version: 1.8.16
Release: 0
Summary: D-Bus Message Bus System
License: GPL-2.0+ or AFL-2.1
Group: Development/Libraries/C and C++
Url: http://dbus.freedesktop.org/
Source: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-libexpat-devel
BuildRequires: mingw32-win_iconv-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%_mingw32_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.
%package -n mingw32-libdbus-1-3
Summary: MinGW Windows port of the D-Bus library
Group: System/Libraries
%description -n mingw32-libdbus-1-3
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 devel
Summary: Developer package for D-Bus
Group: Development/Libraries/C and C++
%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).
%_mingw32_debug_package
%prep
%setup -q -n dbus-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} \
--enable-maintainer-mode --disable-static \
--enable-verbose-mode --disable-tests \
--enable-checks --enable-asserts \
--disable-xml-docs --disable-doxygen-docs
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_mingw32_bindir}/dbus-monitor.exe
%{_mingw32_bindir}/dbus-launch.exe
%{_mingw32_bindir}/dbus-send.exe
%{_mingw32_bindir}/dbus-daemon.exe
%{_mingw32_sysconfdir}/dbus-1/session.conf
%{_mingw32_sysconfdir}/dbus-1/system.conf
%files -n mingw32-libdbus-1-3
%defattr(-,root,root)
%{_mingw32_bindir}/libdbus-1-3.dll
%dir %{_mingw32_sysconfdir}/dbus-1/session.d
%dir %{_mingw32_sysconfdir}/dbus-1/system.d
%dir %{_mingw32_datadir}/dbus-1/services
%dir %{_mingw32_datadir}/dbus-1/system-services
%dir %{_mingw32_localstatedir}/lib/dbus
%dir %{_mingw32_localstatedir}/run/dbus
%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/dbus-1.0/dbus/*.h
%{_mingw32_libdir}/libdbus-1.dll.a
%{_mingw32_libdir}/pkgconfig/dbus-1.pc
%{_mingw32_libdir}/dbus-1.0/include/dbus/dbus-arch-deps.h
%{_mingw32_datadir}/doc/dbus/diagram.png
%{_mingw32_datadir}/doc/dbus/diagram.svg
%{_mingw32_datadir}/doc/dbus/system-activation.txt
%changelog