2015-04-10 01:06:40 +00:00
|
|
|
#
|
|
|
|
# spec file for package plasma5-sdk
|
|
|
|
#
|
2022-01-05 11:02:44 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2015-04-10 01:06:40 +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-10-16 19:53:23 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-10 01:06:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-01-19 20:18:44 +00:00
|
|
|
%bcond_without released
|
2015-04-10 01:06:40 +00:00
|
|
|
Name: plasma5-sdk
|
2022-09-07 07:52:25 +00:00
|
|
|
Version: 5.25.5
|
2015-04-10 01:06:40 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Plasma SDK
|
2021-07-28 05:42:10 +00:00
|
|
|
License: GPL-2.0-only AND LGPL-2.0-or-later
|
2015-04-10 01:06:40 +00:00
|
|
|
Group: System/GUI/KDE
|
2020-02-25 18:30:13 +00:00
|
|
|
URL: https://cgit.kde.org/plasma-sdk.git
|
2022-06-22 06:34:50 +00:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/plasma-sdk-%{version}.tar.xz
|
2022-01-19 20:18:44 +00:00
|
|
|
%if %{with released}
|
2022-06-22 06:34:50 +00:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/plasma-sdk-%{version}.tar.xz.sig
|
2018-09-19 04:47:34 +00:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2015-08-09 08:58:46 +00:00
|
|
|
BuildRequires: breeze5-icons
|
2015-12-01 14:38:45 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.8.0
|
2015-04-10 01:06:40 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: xz
|
2017-04-07 19:54:50 +00:00
|
|
|
BuildRequires: cmake(Grantlee5)
|
2016-08-12 23:45:22 +00:00
|
|
|
BuildRequires: cmake(KF5Archive) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Completion) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Config) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= 5.25.0
|
2017-01-13 16:50:07 +00:00
|
|
|
BuildRequires: cmake(KF5DocTools) >= 5.25.0
|
2016-08-12 23:45:22 +00:00
|
|
|
BuildRequires: cmake(KF5I18n) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5KIO) >= 5.25.0
|
2017-01-13 16:50:07 +00:00
|
|
|
BuildRequires: cmake(KF5Kirigami2)
|
2016-08-12 23:45:22 +00:00
|
|
|
BuildRequires: cmake(KF5Plasma) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5PlasmaQuick) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Service) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5TextEditor) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= 5.25.0
|
2015-12-01 14:38:45 +00:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Svg) >= 5.4.0
|
2015-12-01 14:59:54 +00:00
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.4.0
|
2015-12-01 14:38:45 +00:00
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Xml) >= 5.4.0
|
2015-12-04 15:08:54 +00:00
|
|
|
Requires: bash
|
2017-01-13 16:50:07 +00:00
|
|
|
Requires: kirigami2 >= 2.0
|
2015-04-10 01:06:40 +00:00
|
|
|
Requires: plasmaengineexplorer5
|
2018-05-21 09:07:22 +00:00
|
|
|
Conflicts: plasmate
|
|
|
|
Recommends: %{name}-lang
|
2015-04-10 01:06:40 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Plasma SDK taylored for development of Plasma components,
|
|
|
|
such as Widgets, Runners, Dataengines.
|
|
|
|
|
|
|
|
%package -n plasmaengineexplorer5
|
|
|
|
Summary: Provides direct access to plasma data engines
|
2018-06-19 21:42:16 +00:00
|
|
|
License: GPL-2.0-only
|
2015-04-10 01:06:40 +00:00
|
|
|
Group: Development/Tools/Other
|
|
|
|
Conflicts: plasmate
|
|
|
|
|
|
|
|
%description -n plasmaengineexplorer5
|
|
|
|
Plasmaengineexplorer is a graphical tool allowing developers to
|
|
|
|
test Plasma data engines without writing a Plasma applet.
|
|
|
|
|
2015-04-10 01:17:03 +00:00
|
|
|
%lang_package
|
2018-05-21 09:07:22 +00:00
|
|
|
|
2015-04-10 01:06:40 +00:00
|
|
|
%prep
|
2020-01-17 13:03:51 +00:00
|
|
|
%setup -q -n plasma-sdk-%{version}
|
2015-04-10 01:06:40 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-08 00:13:37 +00:00
|
|
|
%cmake_build
|
2015-04-10 01:06:40 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2015-08-09 08:58:46 +00:00
|
|
|
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
|
2018-05-21 09:07:22 +00:00
|
|
|
cp -L %{_kf5_iconsdir}/breeze/apps/22/plasma.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
|
2017-05-11 08:36:40 +00:00
|
|
|
cp -L %{_kf5_iconsdir}/breeze/apps/48/cuttlefish.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
|
|
|
|
cp -L %{_kf5_iconsdir}/breeze/actions/24/tools-wizard.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
|
2015-08-09 08:58:46 +00:00
|
|
|
|
2017-07-12 14:30:49 +00:00
|
|
|
# Workaround for kde#382275, "The following applications are going to be removed: Cuttlefish".
|
|
|
|
# The package contains two appdata files with the same Name, which libzypp can't handle (boo#1038368)
|
|
|
|
rm %{buildroot}%{_kf5_appstreamdir}/org.kde.plasma.cuttlefish.appdata.xml
|
|
|
|
|
2022-01-19 20:18:44 +00:00
|
|
|
%if %{with released}
|
2015-08-09 10:17:16 +00:00
|
|
|
%find_lang cuttlefish %{name}.lang
|
|
|
|
%find_lang plasma_shell_org.kde.plasmoidviewershell %{name}.lang
|
2016-06-17 20:22:17 +00:00
|
|
|
%find_lang org.kde.plasma.themeexplorer %{name}.lang
|
2016-09-17 18:40:47 +00:00
|
|
|
%find_lang org.kde.plasma.lookandfeelexplorer %{name}.lang
|
2015-04-10 01:17:03 +00:00
|
|
|
%find_lang plasmoidviewer %{name}.lang
|
|
|
|
%find_lang plasmaengineexplorer %{name}.lang
|
2015-11-08 20:04:44 +00:00
|
|
|
%find_lang cuttlefish_editorplugin %{name}.lang
|
2015-04-11 18:58:35 +00:00
|
|
|
%endif
|
2015-04-10 01:17:03 +00:00
|
|
|
|
2022-01-19 20:18:44 +00:00
|
|
|
%if %{with released}
|
2015-04-10 01:17:03 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 18:58:35 +00:00
|
|
|
%endif
|
2015-04-10 01:17:03 +00:00
|
|
|
|
2015-04-10 01:06:40 +00:00
|
|
|
%files
|
2020-09-21 06:29:58 +00:00
|
|
|
%license LICENSES/*
|
2015-04-10 01:06:40 +00:00
|
|
|
%{_kf5_bindir}/cuttlefish
|
|
|
|
%{_kf5_bindir}/plasmoidviewer
|
|
|
|
%{_kf5_bindir}/plasmathemeexplorer
|
2016-09-17 18:40:47 +00:00
|
|
|
%{_kf5_bindir}/lookandfeelexplorer
|
2015-04-10 01:06:40 +00:00
|
|
|
%{_kf5_sharedir}/plasma/
|
|
|
|
%{_kf5_sharedir}/kpackage/
|
|
|
|
%{_kf5_plugindir}/
|
2015-08-09 08:58:46 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.plasma.themeexplorer.desktop
|
2016-09-17 18:40:47 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.plasma.lookandfeelexplorer.desktop
|
2016-06-17 20:31:24 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.cuttlefish.desktop
|
2018-05-21 09:07:22 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.plasmoidviewer.desktop
|
2015-08-09 08:58:46 +00:00
|
|
|
%dir %{_kf5_iconsdir}/hicolor/*
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/*/*
|
|
|
|
%{_kf5_iconsdir}/*/*/*/*.*
|
2018-05-21 09:07:22 +00:00
|
|
|
%{_mandir}/man1/plasmoidviewer.1%{ext_man}
|
|
|
|
%{_kf5_appstreamdir}/org.kde.cuttlefish.appdata.xml
|
|
|
|
%{_kf5_appstreamdir}/org.kde.plasmoidviewer.appdata.xml
|
|
|
|
%{_kf5_appstreamdir}/org.kde.plasma.plasmoidviewershell.appdata.xml
|
|
|
|
%{_kf5_appstreamdir}/org.kde.plasma.themeexplorer.appdata.xml
|
|
|
|
%{_kf5_appstreamdir}/org.kde.plasma.lookandfeelexplorer.appdata.xml
|
2021-12-10 18:19:02 +00:00
|
|
|
%{_kf5_servicesdir}/plasma-package-org.kde.plasma.cuttlefish.desktop
|
|
|
|
%{_kf5_servicesdir}/plasma-shell-org.kde.plasma.plasmoidviewershell.desktop
|
2015-04-10 01:06:40 +00:00
|
|
|
|
|
|
|
%files -n plasmaengineexplorer5
|
2020-09-21 06:29:58 +00:00
|
|
|
%license LICENSES/*
|
2015-04-10 01:06:40 +00:00
|
|
|
%{_kf5_bindir}/plasmaengineexplorer
|
2018-05-21 09:07:22 +00:00
|
|
|
%{_mandir}/man1/plasmaengineexplorer.1%{ext_man}
|
|
|
|
%{_kf5_applicationsdir}/org.kde.plasmaengineexplorer.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.plasmaengineexplorer.appdata.xml
|
2015-04-10 01:06:40 +00:00
|
|
|
|
|
|
|
%changelog
|