2016-03-06 09:38:07 +00:00
#
# spec file for package plasma5-integration
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
%bcond_without lang
Name : plasma5-integration
2016-12-28 22:09:37 +00:00
Version : 5.8.5
2016-03-06 09:38:07 +00:00
Release : 0
2016-12-28 22:09:37 +00:00
# Full Plasma 5 version (e.g. 5.8.5)
2016-11-06 14:06:11 +00:00
%{!?_plasma5_bugfix: %global _plasma5_bugfix %{version} }
# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.90 in KUF)
%{!?_plasma5_version: %global _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}' )}
2016-03-06 09:38:07 +00:00
Summary : Plugins responsible for better integration of Qt applications in KDE Workspace
License : GPL-2.0+
Group : System/GUI/KDE
Url : http://www.kde.org
2016-10-19 08:31:25 +00:00
Source : http://download.kde.org/stable/plasma/%{version} /plasma-integration-%{version} .tar.xz
2017-01-05 12:51:42 +00:00
# PATCH-FIX-UPSTREAM 0001-Fix-regression-in-which-the-Save-dialog-appears-as-a.patch aacid@kde.org -- Fix regression in which the Save dialog appears as an Open dialog
Patch1 : 0001-Fix-regression-in-which-the-Save-dialog-appears-as-a.patch
2016-03-06 09:38:07 +00:00
BuildRequires : extra-cmake-modules >= 5.17.0
BuildRequires : kf5-filesystem
BuildRequires : libQt5Gui-private-headers-devel >= 5.5.0
2016-09-23 18:23:42 +00:00
BuildRequires : cmake(Breeze) >= %{_plasma5_version}
2016-03-06 09:38:07 +00:00
BuildRequires : cmake(KF5Config) >= 5.17.0
BuildRequires : cmake(KF5ConfigWidgets) >= 5.17.0
BuildRequires : cmake(KF5I18n) >= 5.17.0
BuildRequires : cmake(KF5IconThemes) >= 5.17.0
BuildRequires : cmake(KF5KIO) >= 5.17.0
BuildRequires : cmake(KF5Notifications) >= 5.17.0
BuildRequires : cmake(KF5Wayland) >= 5.5.0
BuildRequires : cmake(KF5WidgetsAddons) >= 5.17.0
2016-06-16 16:02:58 +00:00
BuildRequires : cmake(KF5WindowSystem) >= 5.17.0
2016-03-06 09:38:07 +00:00
BuildRequires : cmake(Qt5DBus) >= 5.5.0
BuildRequires : cmake(Qt5Widgets) >= 5.5.0
BuildRequires : cmake(Qt5X11Extras) >= 5.5.0
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(xcursor)
%if %{with lang}
2016-03-20 09:35:59 +00:00
Recommends: %{name} -plugin-lang
2016-03-06 09:38:07 +00:00
%endif
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
Plasma Integration is a set of plugins responsible for better
integration of Qt applications when running on a
KDE Plasma workspace.
Applications do not need to link to this directly.
%package plugin
Summary : Plugins responsible for better integration of Qt applications in KDE Workspace
Group : System/GUI/KDE
2016-09-17 18:40:36 +00:00
Requires : hack-fonts
2016-03-06 09:38:07 +00:00
Requires : noto-sans
%requires_eq libQt5Gui5
%description plugin
Plasma Integration is a set of plugins responsible for better
integration of Qt applications when running on a
KDE Plasma workspace.
Applications do not need to link to this directly.
2016-03-20 15:28:39 +00:00
%lang_package -n plasma5-integration-plugin
2016-03-06 09:38:07 +00:00
%prep
%setup -q -n plasma-integration-%{version}
2017-01-05 12:51:42 +00:00
%patch1 -p1
2016-03-06 09:38:07 +00:00
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang plasmaintegration5
%endif
%files plugin
%defattr (-,root,root)
%doc COPYING*
%{_kf5_plugindir}/
2016-09-17 18:40:36 +00:00
%{_kf5_sharedir}/kconf_update/
2016-03-06 09:38:07 +00:00
%if %{with lang}
2016-03-20 09:35:59 +00:00
%files -n plasma5-integration-plugin-lang -f plasmaintegration5.lang
2016-03-06 09:38:07 +00:00
%endif
%changelog