File mingw32-dbus-1-installer.spec of Package mingw32-dbus-1

#
# spec file for package mingw32-dbus-1-installer
#
# 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/
#


%define _name   dbus-1
Name:           mingw32-%{_name}-installer
Version:        1.14.10
Release:        0
Summary:        DBus - Message Bus System
License:        GPL-2.0 and AFL-2.1
Group:          Development/Tools/Other
Url:            http://dbus.freedesktop.org/
Source:         dbus-%{version}.tar.xz
BuildRequires:  mingw32-installer-base
BuildRequires:  mingw32-%{_name}
BuildRequires:  mingw32-%{_name}-devel
# debug packages
BuildRequires:  mingw32-%{_name}-debug
BuildRequires:  mingw32-expat-debug

BuildRequires:  mingw32-libdbus-1-3
BuildRequires:  mingw32-libqt4
BuildRequires:  mingw32-libqt4-tools-dbus
BuildArch:      noarch

%description
This package contains a setup installer of DBus, a message bus system

%_mingw32_installer_package -n mingw32-%{_name} -p DBus-1 -P "DBus-1, a message bus system"

%prep
%_mingw32_installer_prep 

%build
# replace ยง, which is unsupported by nsis
license_file=$PWD/COPYING.txt
sed 's,\xc3\x82\xc2\xa7,clause,g' /usr/share/doc/packages/mingw32-dbus-1/COPYING > $license_file
%_mingw32_installer_build -p dbus-1 -P DBus-1 -l $license_file -r mingw32-%{_name} -s %{SOURCE0}

%install
%_mingw32_installer_install

%changelog
openSUSE Build Service is sponsored by