From 5bed19201e119ec1ff61e069245ea3db03ee7bdb Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sun, 3 Apr 2016 09:01:46 -0500 Subject: [PATCH] import update license, URL --- .gitignore | 1 + plasma-integration.spec | 75 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+) create mode 100644 plasma-integration.spec diff --git a/.gitignore b/.gitignore index e69de29..d950e76 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/plasma-integration-5.6.0.tar.xz diff --git a/plasma-integration.spec b/plasma-integration.spec new file mode 100644 index 0000000..827512d --- /dev/null +++ b/plasma-integration.spec @@ -0,0 +1,75 @@ +Name: plasma-integration +Summary: Qt Platform Theme integration plugin for Plasma +Version: 5.6.0 +Release: 1%{?dist} + +# KDE e.V. may determine that future LGPL versions are accepted +License: LGPLv2 or LGPLv3 +URL: https://quickgit.kde.org/?p=%{name}.git + +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz + +%global majmin_ver %(echo %{version} | cut -d. -f1,2) + +BuildRequires: kf5-rpm-macros +BuildRequires: extra-cmake-modules + +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcursor) + +BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(Qt5DBus) +BuildRequires: pkgconfig(Qt5X11Extras) + +BuildRequires: cmake(KF5Config) +BuildRequires: cmake(KF5ConfigWidgets) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5IconThemes) +BuildRequires: cmake(KF5KIO) +BuildRequires: cmake(KF5Notifications) +BuildRequires: cmake(KF5WidgetsAddons) + +BuildRequires: cmake(KF5Wayland) >= %{majmin_ver} + +Requires: plasma-breeze >= %{majmin_ver} +Requires: breeze-icon-theme >= %{majmin_ver} +Requires: kde-style-breeze >= %{majmin_ver} +Requires: plasma-workspace >= %{majmin_ver} + +%description +%{summary}. + + +%prep +%setup -q -n %{name}-%{version} + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +make %{?_smp_flags} -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang plasmaintegration5 --with-qt + +%files -f plasmaintegration5.lang +%doc README.md +%license COPYING.LIB COPYING.LGPL-2 +%{_kf5_qtplugindir}/platformthemes/KDEPlasmaPlatformTheme.so + +%changelog +* Sun Mar 20 2016 Daniel Vrátil - 5.6.0-1 +- Plasma 5.6.0 + +* Sat Mar 05 2016 Daniel Vrátil - 5.5.95-1 +- Initial package diff --git a/sources b/sources index e69de29..4244cf5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c26be1b6ed15604accf8f725c068279a plasma-integration-5.6.0.tar.xz