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

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

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

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

# for debug package
BuildRequires:  mingw32-umbrello-debug
BuildRequires:  mingw32-kdelibs4-debug
BuildRequires:  mingw32-kdebase4-runtime-debug
BuildRequires:  mingw32-khelpcenter-online-debug
BuildRequires:  mingw32-libqt4-debug
Summary:        UML Modeller Installer
License:        GPL-2.0-only and GFDL-1.2-only
Group:          Development/Tools/Other
Url:            https://umbrello.kde.org
Version:        2.25.2
Release:        0
Source0:        umbrello-%{_version}.tar.xz
BuildArch:      noarch

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

%_mingw32_installer_package -n mingw32-umbrello -p Umbrello -P "Umbrello, a UML modelling application"

%prep
%_mingw32_installer_prep

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

%install
%_mingw32_installer_install

%changelog
openSUSE Build Service is sponsored by