2013-07-08 16:47:49 +02:00
|
|
|
#
|
2013-07-22 17:21:31 +02:00
|
|
|
# spec file for package umbrello
|
2013-07-08 16:47:49 +02:00
|
|
|
#
|
2023-03-02 15:21:59 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-07-08 16:47:49 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-11-25 00:45:39 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-08 16:47:49 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 01:02:24 +02:00
|
|
|
|
2023-03-20 09:52:40 +01:00
|
|
|
%ifarch %{arm} aarch64 %{ix86} x86_64 %{riscv}
|
2021-08-26 09:09:08 +02:00
|
|
|
%bcond_without kdevelop
|
|
|
|
%endif
|
2022-01-06 13:45:17 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:45:39 +01:00
|
|
|
Name: umbrello
|
2023-04-20 11:27:18 +02:00
|
|
|
Version: 23.04.0
|
2018-11-25 00:45:39 +01:00
|
|
|
Release: 0
|
2013-07-22 17:21:31 +02:00
|
|
|
Summary: UML Modeller
|
2018-11-25 00:45:39 +01:00
|
|
|
License: GPL-2.0-only AND GFDL-1.2-only AND GPL-3.0-or-later
|
2021-04-19 15:31:17 +02:00
|
|
|
URL: https://apps.kde.org/umbrello
|
2023-04-20 11:27:18 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:45:17 +01:00
|
|
|
%if %{with released}
|
2023-04-20 11:27:18 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:31:17 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-03-26 09:26:56 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2021-08-26 09:09:08 +02:00
|
|
|
%if %{with kdevelop}
|
2020-03-28 14:58:45 +01:00
|
|
|
BuildRequires: kdevelop5-pg-qt
|
|
|
|
BuildRequires: kdevplatform-devel
|
2021-08-26 09:09:08 +02:00
|
|
|
%endif
|
2020-03-28 14:58:45 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 12:40:57 +01:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
2020-03-28 14:58:45 +01:00
|
|
|
BuildRequires: cmake(KF5ItemModels)
|
2020-01-09 16:59:31 +01:00
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
2020-03-28 14:58:45 +01:00
|
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
2019-11-29 12:40:57 +01:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5TextEditor)
|
2020-03-28 14:58:45 +01:00
|
|
|
BuildRequires: cmake(KF5ThreadWeaver)
|
2019-11-29 12:40:57 +01:00
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2017-03-26 09:26:56 +02:00
|
|
|
Obsoletes: umbrello5 < %{version}
|
|
|
|
Provides: umbrello5 = %{version}
|
2013-07-08 16:47:49 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Umbrello is a UML modelling application.
|
|
|
|
|
2017-09-08 06:52:15 +02:00
|
|
|
%lang_package
|
|
|
|
|
2013-07-08 16:47:49 +02:00
|
|
|
%prep
|
2021-04-19 15:31:17 +02:00
|
|
|
%autosetup -p1
|
2013-07-08 16:47:49 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc64
|
2017-03-26 09:26:56 +02:00
|
|
|
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2013-07-08 16:47:49 +02:00
|
|
|
%endif
|
2017-03-26 09:26:56 +02:00
|
|
|
export CXXFLAGS="%{optflags} -fPIC"
|
|
|
|
export CFLAGS="%{optflags} -fPIC"
|
|
|
|
|
2022-11-17 23:59:07 +01:00
|
|
|
%cmake_kf5 -d build -- -DBUILD_KF5=ON
|
|
|
|
%cmake_build
|
2013-07-08 16:47:49 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:59:07 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
|
|
|
%suse_update_desktop_file org.kde.umbrello Development Design
|
2013-07-08 16:47:49 +02:00
|
|
|
|
|
|
|
%files
|
2018-11-25 00:45:39 +01:00
|
|
|
%license COPYING COPYING.DOC
|
|
|
|
%doc README
|
2017-08-12 01:02:24 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/umbrello
|
2017-12-02 18:47:42 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.umbrello.desktop
|
2017-08-12 01:02:24 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.umbrello.appdata.xml
|
2017-03-26 20:09:23 +02:00
|
|
|
%{_kf5_bindir}/po2xmi5
|
2017-08-12 01:52:01 +02:00
|
|
|
%{_kf5_bindir}/umbrello5
|
2017-03-26 20:09:23 +02:00
|
|
|
%{_kf5_bindir}/xmi2pot5
|
2017-03-26 09:26:56 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/umbrello*
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-uml.png
|
2017-08-12 01:02:24 +02:00
|
|
|
%{_kf5_sharedir}/umbrello5/
|
2013-07-08 16:47:49 +02:00
|
|
|
|
2017-09-08 06:52:15 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2013-07-08 16:47:49 +02:00
|
|
|
%changelog
|