2014-09-26 09:12:12 +00:00
|
|
|
#
|
|
|
|
# spec file for package plasma5-addons
|
|
|
|
#
|
2016-01-06 14:29:06 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-09-26 09:12:12 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-11 17:02:53 +00:00
|
|
|
%bcond_without lang
|
2014-09-26 09:12:12 +00:00
|
|
|
Name: plasma5-addons
|
2016-10-12 05:24:19 +00:00
|
|
|
Version: 5.8.1
|
2014-09-26 09:12:12 +00:00
|
|
|
Release: 0
|
2016-09-29 19:41:04 +00:00
|
|
|
%{!?_plasma5_version: %global _plasma5_version %{version}}
|
2014-09-26 09:12:12 +00:00
|
|
|
Summary: Additional Plasma5 Widgets
|
2014-09-30 13:26:45 +00:00
|
|
|
License: LGPL-2.1 and GPL-2.0+ and GPL-3.0
|
2014-09-26 09:12:12 +00:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org/
|
2016-10-05 08:08:36 +00:00
|
|
|
Source: http://download.kde.org/stable/plasma/%{version}/kdeplasma-addons-%{version}.tar.xz
|
2015-11-27 19:39:38 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
2016-09-17 18:19:35 +00: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
|
|
|
|
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
|
2016-09-21 16:47:14 +00:00
|
|
|
BuildRequires: cmake(LibTaskManager) >= %{_plasma5_version}
|
2015-08-09 12:17:29 +00:00
|
|
|
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
|
2015-11-27 17:41:51 +00:00
|
|
|
BuildRequires: cmake(KDEExperimentalPurpose)
|
2015-08-09 08:10:06 +00:00
|
|
|
%endif
|
2014-09-26 09:12:12 +00:00
|
|
|
BuildRequires: xz
|
2015-11-27 17:41:51 +00:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
2015-11-27 19:39:38 +00:00
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.4.0
|
2015-11-27 17:41:51 +00:00
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.4.0
|
2015-11-27 19:39:38 +00:00
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
2015-11-27 17:41:51 +00:00
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.4.0
|
2015-11-27 19:39:38 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-11-27 17:41:51 +00:00
|
|
|
BuildRequires: pkgconfig(xcb)
|
2015-08-09 12:17:29 +00:00
|
|
|
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
|
2015-08-09 08:10:06 +00:00
|
|
|
Requires: purpose
|
|
|
|
%endif
|
2015-04-11 18:58:27 +00:00
|
|
|
%if %{with lang}
|
2014-10-25 17:46:22 +00:00
|
|
|
Recommends: %{name}-lang
|
2015-04-11 18:58:27 +00:00
|
|
|
%endif
|
2015-08-09 08:44:45 +00:00
|
|
|
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
|
2015-04-27 00:21:00 +00:00
|
|
|
Provides: plasma-addons = %{version}
|
|
|
|
Obsoletes: plasma-addons < %{version}
|
|
|
|
%else
|
2015-01-22 17:02:53 +00:00
|
|
|
Conflicts: plasma-addons
|
2015-04-27 00:21:00 +00:00
|
|
|
%endif
|
2014-09-26 09:12:12 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Additional plasmoids from upstream for use on the Plasma workspace.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q -n kdeplasma-addons-%{version}
|
|
|
|
|
|
|
|
%build
|
2016-07-06 16:38:21 +00:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2014-09-26 09:12:12 +00:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2016-07-06 16:38:21 +00:00
|
|
|
%if %{with lang}
|
|
|
|
%kf5_find_lang
|
|
|
|
%endif
|
2014-09-26 09:12:12 +00:00
|
|
|
|
2015-04-11 17:04:30 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-09-26 09:12:12 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
2015-04-11 17:04:30 +00:00
|
|
|
%config %{_kf5_configdir}/comic.knsrc
|
|
|
|
%{_kf5_libdir}/libplasmacomicprovidercore.so.*
|
2016-03-06 13:59:06 +00:00
|
|
|
%{_kf5_libdir}/libplasmaweather.so*
|
2015-04-11 17:04:30 +00:00
|
|
|
%{_kf5_servicetypesdir}/
|
2014-09-26 09:12:12 +00:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_qmldir}/
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_plasmadir}/
|
2015-01-08 18:59:58 +00:00
|
|
|
%{_kf5_sharedir}/kwin/
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/*.*
|
2016-08-12 23:40:00 +00:00
|
|
|
%{_kf5_appstreamdir}/
|
2014-09-26 09:12:12 +00:00
|
|
|
|
2015-04-11 18:58:27 +00:00
|
|
|
%if %{with lang}
|
2016-07-06 16:38:21 +00:00
|
|
|
%files lang -f %{name}.lang
|
2014-09-26 09:12:12 +00:00
|
|
|
%doc COPYING*
|
2015-04-11 18:58:27 +00:00
|
|
|
%endif
|
2014-09-26 09:12:12 +00:00
|
|
|
|
|
|
|
%changelog
|