File mingw32-umbrello.spec of Package mingw32-umbrello

# spec file for package umbrello5
# 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

%define _name   umbrello
%define _version %(find -name 'umbrello-[0-9]*.tar.*' | sed 's,^.*-,,g;s,.tar.*$,,g')

Name:           mingw32-%{_name}

BuildRequires:  cmake >= 2.8.12
BuildRequires:  kdevelop4-pg-qt
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc-c++
BuildRequires:  mingw32-cross-kde4-tools
BuildRequires:  mingw32-cross-qmake
BuildRequires:  mingw32-kdevelop4-pg-qt

BuildRequires:  mingw32-libqt4-devel >= 4.8.0
BuildRequires:  mingw32-libqt4-tools
BuildRequires:  mingw32-libqt4-tools-devel >= 4.8.0
BuildRequires:  mingw32-libkde4-devel
BuildRequires:  mingw32-libkdevplatform4-devel
BuildRequires:  mingw32-libxml2-devel
BuildRequires:  mingw32-libxslt-devel
BuildRequires:  mingw32-oxygen-icon-theme
BuildRequires:  gettext-tools
# docbook export
Requires:       mingw32-docbook-xsl-stylesheets
Requires:       mingw32-kate4-parts
Requires:       mingw32-khelpcenter-online
Requires:       mingw32-oxygen-icon-theme
# ui_standards.rc
Requires:       mingw32-kdelibs4
Summary:        UML Modeller
License:        GPL-2.0 and GFDL-1.2
Group:          Development/Tools/Other
Version:        2.25.2
Release:        0
Source0:        umbrello-%{_version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{_version}-build
BuildArch:      noarch

Umbrello is a UML modelling application.

Requires:       mingw32-kdelibs4-lang


%setup -q -n %{_name}-%{_version}

  %_mingw32_cmake_kde4 -d build -- -DKDEVPGQT_EXECUTABLE=/usr/bin/kdev-pg-qt -DBUILD_PARSER_ONLY=TRUE -Wno-dev -DGETTEXT_FOUND=1 -DBUILD_KF5=0

  %_mingw32_kde4_makeinstall -C build
  %_mingw32_find_lang %{_name} %{_name}.lang --all-name || true
  #%suse_update_desktop_file    umbrello       Development Design
  # kde uses oxygen theme as default, installing icons in 


%dir %{_mingw32_datadir}/icons
%dir %{_mingw32_kde4_appsdir}

%files lang -f %{_name}.lang
%exclude %{_mingw32_kde4_htmldir}/en

openSUSE Build Service is sponsored by