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

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

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

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

# for debug package
BuildRequires:  mingw64-aqbanking6-debug
BuildRequires:  mingw64-dbus-1-debug
BuildRequires:  mingw64-gpgme-debug
BuildRequires:  mingw64-gwenhywfar5-debug
BuildRequires:  mingw64-kdebase4-runtime-debug
BuildRequires:  mingw64-kdelibs4-debug
BuildRequires:  mingw64-kdepimlibs4-debug
BuildRequires:  mingw64-khelpcenter-online-debug
BuildRequires:  mingw64-kmymoney-debug
BuildRequires:  mingw64-ktoblzcheck-debug
BuildRequires:  mingw64-libalkimia-debug
BuildRequires:  mingw64-libical-debug
BuildRequires:  mingw64-libofx-debug
BuildRequires:  mingw64-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

%_mingw64_installer_package -P "KMyMoney, a Personal Finance Manager" -n mingw64-kmymoney -p KMyMoney 

%prep
%_mingw64_installer_prep

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

%install
%_mingw64_installer_install

%changelog
openSUSE Build Service is sponsored by