2014-09-26 11:12:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package plasma5-addons
|
|
|
|
#
|
2019-01-08 19:46:47 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-11 19:02:53 +02:00
|
|
|
%bcond_without lang
|
2014-09-26 11:12:12 +02:00
|
|
|
Name: plasma5-addons
|
2019-07-09 21:58:15 +02:00
|
|
|
Version: 5.16.3
|
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)
|
2018-09-15 14:29:45 +02:00
|
|
|
%{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
|
|
|
|
# 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
|
2018-06-19 23:42:14 +02:00
|
|
|
License: LGPL-2.1-only AND GPL-2.0-or-later AND GPL-3.0-only
|
2014-09-26 11:12:12 +02:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org/
|
2019-06-18 22:33:46 +02:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/kdeplasma-addons-%{version}.tar.xz
|
2018-09-19 06:47:33 +02:00
|
|
|
%if %{with lang}
|
2019-06-18 22:33:46 +02: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
|
2016-08-13 01:40:00 +02:00
|
|
|
BuildRequires: cmake(KF5Activities) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Config) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= 5.25.0
|
2018-05-21 11:07:20 +02:00
|
|
|
BuildRequires: cmake(KF5Declarative) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Holidays) >= 5.25.0
|
2016-08-13 01:40:00 +02:00
|
|
|
BuildRequires: cmake(KF5I18n) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5KIO) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Kross) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5NewStuff) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Plasma) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Runner) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5Service) >= 5.25.0
|
|
|
|
BuildRequires: cmake(KF5UnitConversion) >= 5.25.0
|
2017-10-21 15:43:26 +02:00
|
|
|
#!BuildIgnore: kwin5
|
2016-09-23 20:23:37 +02:00
|
|
|
BuildRequires: cmake(LibTaskManager) >= %{_plasma5_version}
|
2015-08-09 14:17:29 +02:00
|
|
|
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
|
2015-11-27 18:41:51 +01:00
|
|
|
BuildRequires: cmake(KDEExperimentalPurpose)
|
2015-08-09 10:10:06 +02:00
|
|
|
%endif
|
2014-09-26 11:12:12 +02:00
|
|
|
BuildRequires: xz
|
2015-11-27 18:41:51 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
2015-11-27 20:39:38 +01:00
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.4.0
|
2015-11-27 18:41:51 +01:00
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.4.0
|
2015-11-27 20:39:38 +01:00
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.4.0
|
2018-01-17 16:26:24 +01:00
|
|
|
BuildRequires: cmake(Qt5WebEngine) >= 5.7.0
|
2015-11-27 20:39:38 +01:00
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
2015-11-27 18:41:51 +01:00
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.4.0
|
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
|
|
|
|
This package contains development files to develop additional widgets for
|
|
|
|
the Plasma desktop.
|
|
|
|
|
2014-09-26 11:12:12 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n kdeplasma-addons-%{version}
|
|
|
|
|
|
|
|
%build
|
2016-07-06 18:38:21 +02:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2014-09-26 11:12:12 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2016-07-06 18:38:21 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%kf5_find_lang
|
|
|
|
%endif
|
2014-09-26 11:12:12 +02:00
|
|
|
|
2015-04-11 19:04:30 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-09-26 11:12:12 +02:00
|
|
|
%files
|
2018-05-21 11:07:20 +02:00
|
|
|
%license COPYING*
|
2019-06-06 23:10:57 +02:00
|
|
|
%{_kf5_knsrcfilesdir}/comic.knsrc
|
2015-04-11 19:04:30 +02:00
|
|
|
%{_kf5_libdir}/libplasmacomicprovidercore.so.*
|
2017-01-13 17:45:40 +01:00
|
|
|
%{_libdir}/libplasmapotdprovidercore.so*
|
2015-04-11 19:04:30 +02:00
|
|
|
%{_kf5_servicetypesdir}/
|
2014-09-26 11:12:12 +02:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_qmldir}/
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_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}/
|
2018-05-21 11:07:20 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license COPYING*
|
|
|
|
%dir %{_includedir}/plasma
|
|
|
|
%dir %{_includedir}/plasma/potdprovider
|
|
|
|
%{_includedir}/plasma/potdprovider/plasma_potd_export.h
|
|
|
|
%{_includedir}/plasma/potdprovider/potdprovider.h
|
|
|
|
%dir %{_kf5_cmakedir}/PlasmaPotdProvider/
|
|
|
|
%{_kf5_cmakedir}/PlasmaPotdProvider/PlasmaPotdProviderConfig.cmake
|
|
|
|
%{_kf5_cmakedir}/PlasmaPotdProvider/PlasmaPotdProviderConfigVersion.cmake
|
|
|
|
%{_kf5_cmakedir}/PlasmaPotdProvider/PlasmaPotdProviderTargets-none.cmake
|
|
|
|
%{_kf5_cmakedir}/PlasmaPotdProvider/PlasmaPotdProviderTargets.cmake
|
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard
|
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard/templates/
|
|
|
|
%{_kf5_sharedir}/kdevappwizard/templates/plasmapotdprovider.tar.bz2
|
2014-09-26 11:12:12 +02:00
|
|
|
|
2015-04-11 20:58:27 +02:00
|
|
|
%if %{with lang}
|
2016-07-06 18:38:21 +02:00
|
|
|
%files lang -f %{name}.lang
|
2018-05-21 11:07:20 +02:00
|
|
|
%license COPYING*
|
2015-04-11 20:58:27 +02:00
|
|
|
%endif
|
2014-09-26 11:12:12 +02:00
|
|
|
|
|
|
|
%changelog
|