2014-09-26 11:12:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package plasma5-addons
|
|
|
|
#
|
2023-01-04 21:25:24 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-09-26 11:12:12 +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-10-16 21:53:22 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-09-26 11:12:12 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-01-19 21:18:42 +01:00
|
|
|
%bcond_without released
|
2014-09-26 11:12:12 +02:00
|
|
|
Name: plasma5-addons
|
2023-12-06 17:21:50 +01:00
|
|
|
Version: 5.27.10
|
2014-09-26 11:12:12 +02:00
|
|
|
Release: 0
|
2017-05-16 13:56:22 +02:00
|
|
|
# Full Plasma 5 version (e.g. 5.8.95)
|
2021-07-07 09:53:01 +02:00
|
|
|
%{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
|
2018-09-15 14:29:45 +02:00
|
|
|
# Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.95 in KUF)
|
|
|
|
%{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')}
|
2014-09-26 11:12:12 +02:00
|
|
|
Summary: Additional Plasma5 Widgets
|
2021-07-28 07:42:09 +02:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-only AND GPL-3.0-only
|
2014-09-26 11:12:12 +02:00
|
|
|
Group: System/GUI/KDE
|
2020-02-25 19:30:11 +01:00
|
|
|
URL: http://www.kde.org/
|
2023-02-22 21:25:31 +01:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/kdeplasma-addons-%{version}.tar.xz
|
2022-01-19 21:18:42 +01:00
|
|
|
%if %{with released}
|
2023-02-22 21:25:31 +01:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/kdeplasma-addons-%{version}.tar.xz.sig
|
2018-09-19 06:47:33 +02:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2015-11-27 20:39:38 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2022-09-17 12:40:27 +02:00
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: cmake(KF5Activities) >= 5.98.0
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Declarative)
|
|
|
|
BuildRequires: cmake(KF5Holidays)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Kross)
|
|
|
|
BuildRequires: cmake(KF5NetworkManagerQt)
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5Plasma)
|
|
|
|
BuildRequires: cmake(KF5Purpose)
|
|
|
|
BuildRequires: cmake(KF5Runner)
|
|
|
|
BuildRequires: cmake(KF5Service)
|
|
|
|
BuildRequires: cmake(KF5UnitConversion)
|
2017-10-21 15:43:26 +02:00
|
|
|
#!BuildIgnore: kwin5
|
2014-09-26 11:12:12 +02:00
|
|
|
BuildRequires: xz
|
2020-10-24 08:48:28 +02:00
|
|
|
BuildRequires: cmake(LibTaskManager) >= %{_plasma5_version}
|
2022-09-17 12:40:27 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
2020-10-24 08:48:28 +02:00
|
|
|
%ifnarch ppc ppc64 ppc64le s390 s390x riscv64
|
2022-09-17 12:40:27 +02:00
|
|
|
BuildRequires: cmake(Qt5WebEngine)
|
2020-10-24 08:48:28 +02:00
|
|
|
%endif
|
2022-09-17 12:40:27 +02:00
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
2022-05-25 07:38:12 +02:00
|
|
|
%if 0%{?suse_version} < 1550
|
2022-09-17 12:40:27 +02:00
|
|
|
BuildRequires: gcc10-PIE
|
2022-05-25 07:38:12 +02:00
|
|
|
BuildRequires: gcc10-c++
|
|
|
|
%endif
|
2015-11-27 20:39:38 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-11-27 18:41:51 +01:00
|
|
|
BuildRequires: pkgconfig(xcb)
|
2015-08-09 10:10:06 +02:00
|
|
|
Requires: purpose
|
2014-10-25 19:46:22 +02:00
|
|
|
Recommends: %{name}-lang
|
2015-08-09 10:44:45 +02:00
|
|
|
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
|
2015-04-27 02:21:00 +02:00
|
|
|
Provides: plasma-addons = %{version}
|
|
|
|
Obsoletes: plasma-addons < %{version}
|
|
|
|
%else
|
2015-01-22 18:02:53 +01:00
|
|
|
Conflicts: plasma-addons
|
2015-04-27 02:21:00 +02:00
|
|
|
%endif
|
2014-09-26 11:12:12 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Additional plasmoids from upstream for use on the Plasma workspace.
|
|
|
|
|
|
|
|
%lang_package
|
2018-05-21 11:07:20 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Additional plasmoid widgets - development files
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2021-07-28 07:42:09 +02:00
|
|
|
This package contains development files to develop additional widgets for
|
2018-05-21 11:07:20 +02:00
|
|
|
the Plasma desktop.
|
|
|
|
|
2014-09-26 11:12:12 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n kdeplasma-addons-%{version}
|
|
|
|
|
|
|
|
%build
|
2022-05-25 07:38:12 +02:00
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
export CXX=g++-10
|
|
|
|
%endif
|
2023-01-23 14:55:04 +01:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
|
|
|
%cmake_build
|
2014-09-26 11:12:12 +02:00
|
|
|
|
|
|
|
%install
|
2023-01-23 14:55:04 +01:00
|
|
|
%kf5_makeinstall -C build
|
2014-09-26 11:12:12 +02:00
|
|
|
|
2023-01-23 14:55:04 +01:00
|
|
|
%kf5_find_lang
|
2015-04-11 19:04:30 +02:00
|
|
|
|
2023-01-23 14:55:04 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2015-04-11 19:04:30 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-09-26 11:12:12 +02:00
|
|
|
%files
|
2021-01-24 22:11:10 +01:00
|
|
|
%license LICENSES/*
|
2019-06-06 23:10:57 +02:00
|
|
|
%{_kf5_knsrcfilesdir}/comic.knsrc
|
2020-10-24 08:48:28 +02:00
|
|
|
%{_kf5_libdir}/libplasmapotdprovidercore.so.*
|
2014-09-26 11:12:12 +02:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_qmldir}/
|
|
|
|
%{_kf5_plasmadir}/
|
2015-01-08 19:59:58 +01:00
|
|
|
%{_kf5_sharedir}/kwin/
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/*.*
|
2016-08-13 01:40:00 +02:00
|
|
|
%{_kf5_appstreamdir}/
|
2021-09-20 08:13:46 +02:00
|
|
|
%{_kf5_debugdir}/plasma_comic.categories
|
2022-05-25 07:38:12 +02:00
|
|
|
%{_kf5_servicetypesdir}/plasma-comic.desktop
|
2018-05-21 11:07:20 +02:00
|
|
|
|
|
|
|
%files devel
|
2021-01-24 22:11:10 +01:00
|
|
|
%license LICENSES/*
|
2018-05-21 11:07:20 +02:00
|
|
|
%dir %{_includedir}/plasma
|
2022-09-17 12:40:27 +02:00
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard/
|
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard/templates
|
2020-10-24 08:48:28 +02:00
|
|
|
%{_includedir}/plasma/potdprovider
|
|
|
|
%{_kf5_cmakedir}/PlasmaPotdProvider/
|
|
|
|
%{_kf5_libdir}/libplasmapotdprovidercore.so
|
2022-09-17 12:40:27 +02:00
|
|
|
%{_kf5_sharedir}/kdevappwizard/templates/plasmapotdprovider.tar.bz2
|
2014-09-26 11:12:12 +02:00
|
|
|
|
2016-07-06 18:38:21 +02:00
|
|
|
%files lang -f %{name}.lang
|
2014-09-26 11:12:12 +02:00
|
|
|
|
|
|
|
%changelog
|