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

#
# spec file for package mingw64-umbrello-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   umbrello
%define _version %(find -name 'umbrello-[0-9]*.tar.*' | sed 's,^.*-,,g;s,.tar.*$,,g')

Name:           mingw64-%{_name}-installer

BuildRequires:  mingw64-installer-base
BuildRequires:  mingw64-kdebase4-runtime
BuildRequires:  mingw64-khelpcenter-online
BuildRequires:  mingw64-%{_name}
BuildRequires:  mingw64-libktexteditor
BuildRequires:  mingw64-libqt4-tools-dbus
BuildRequires:  mingw64-dbus-1 >= 1.10.6
BuildRequires:  mingw64-shared-mime-info

# language packages
BuildRequires:  mingw64-kdebase4-runtime-lang
BuildRequires:  mingw64-kdelibs4-lang
BuildRequires:  mingw64-kdevplatform4-lang
BuildRequires:  mingw64-shared-mime-info-lang
BuildRequires:  mingw64-umbrello-lang

# for debug package
BuildRequires:  mingw64-umbrello-debug
BuildRequires:  mingw64-kdelibs4-debug
BuildRequires:  mingw64-kdebase4-runtime-debug
BuildRequires:  mingw64-khelpcenter-online-debug
BuildRequires:  mingw64-qt4-debug
Summary:        UML Modeller Installer
License:        GPL-2.0 and GFDL-1.2
Group:          Development/Tools/Other
Url:            https://umbrello.kde.org
Version:        1.0.0
Release:        0
Source0:        umbrello-%{_version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains a setup installer of Umbrello, a UML modelling application.

%_mingw64_installer_package -n mingw64-umbrello -p Umbrello -P "Umbrello, a UML modelling application"

%prep
%_mingw64_installer_prep

%build
%_mingw64_installer_build -c -a umbrello -e umbrello -p umbrello -P Umbrello -r mingw64-%{_name} -s %{SOURCE0}

%install
%_mingw64_installer_install
%changelog
openSUSE Build Service is sponsored by