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