File mingw32-kmymoney-installer.spec of Package mingw32-kmymoney

#
# spec file for package mingw32-kmymoney-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   kmymoney
Name:           mingw32-%{_name}-installer

BuildRequires:  mingw32-dbus-1 >= 1.10.6
BuildRequires:  mingw32-gpg2
# not fetched by libgpgme
BuildRequires:  mingw32-gpgme
BuildRequires:  mingw32-installer-base
BuildRequires:  mingw32-kdebase4-runtime
BuildRequires:  mingw32-khelpcenter-online
BuildRequires:  mingw32-kmymoney
BuildRequires:  mingw32-kmymoney-bankdata
BuildRequires:  mingw32-libalkimia
BuildRequires:  mingw32-libchipcard
BuildRequires:  mingw32-libqt4-sql
BuildRequires:  mingw32-libqt4-sql-sqlite
BuildRequires:  mingw32-libqt4-sql-mysql
BuildRequires:  mingw32-libqt4-tools-dbus
BuildRequires:  mingw32-onlinequoteseditor

# language packages
BuildRequires:  mingw32-aqbanking6-lang
BuildRequires:  mingw32-gnutls-lang
BuildRequires:  mingw32-gwenhywfar5-lang
BuildRequires:  mingw32-kdebase4-runtime-lang
BuildRequires:  mingw32-kdelibs4-lang
BuildRequires:  mingw32-kmymoney-lang
BuildRequires:  mingw32-libalkimia-lang
BuildRequires:  mingw32-libgpg-error-lang

# for debug package
BuildRequires:  mingw32-aqbanking6-debug
BuildRequires:  mingw32-dbus-1-debug
BuildRequires:  mingw32-gpgme-debug
BuildRequires:  mingw32-gwenhywfar5-debug
BuildRequires:  mingw32-kdebase4-runtime-debug
BuildRequires:  mingw32-kdelibs4-debug
BuildRequires:  mingw32-kdepimlibs4-debug
BuildRequires:  mingw32-khelpcenter-online-debug
BuildRequires:  mingw32-kmymoney-debug
BuildRequires:  mingw32-ktoblzcheck-debug
BuildRequires:  mingw32-libalkimia-debug
BuildRequires:  mingw32-libical-debug
BuildRequires:  mingw32-libofx-debug
BuildRequires:  mingw32-opensp-debug

Summary:        Installer for KMymoney on Windows
License:        GPL-2.0-only and GFDL-1.2-only
Group:          Development/Tools/Other
Url:            https://kmymoney.org
Version:        4.8.5
Release:        0
Source0:        %{_name}-%{version}.tar.xz
BuildArch:      noarch

%description
This package contains a setup installer of KMyMoney

%_mingw32_installer_package -P "KMyMoney, a Personal Finance Manager" -n mingw32-kmymoney -p KMyMoney

%prep
%_mingw32_installer_prep

%build
%_mingw32_installer_build -P KMyMoney -a kmymoney,onlinequoteseditor -c -e kmymoney -f ".kmy;.xml" -h %{url}/support.php -p kmymoney -r mingw32-%{_name} -s %{SOURCE0} 

%install
%_mingw32_installer_install

%changelog
openSUSE Build Service is sponsored by