diff --git a/.gitignore b/.gitignore index 1e83fd0..ad674ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /kirigami2-2.2.0.tar.xz +/kirigami2-5.39.0.tar.xz diff --git a/kf5-kirigami2.spec b/kf5-kirigami2.spec index 9542fec..04cd6e3 100644 --- a/kf5-kirigami2.spec +++ b/kf5-kirigami2.spec @@ -8,22 +8,29 @@ %endif Name: kf5-%{framework} -Version: 2.2.0 +Version: 5.39.0 Release: 1%{?dist} Summary: QtQuick plugins to build user interfaces based on the KDE UX guidelines # All LGPLv2+ except for src/desktopicons.h (GPLv2+) License: GPLv2+ URL: https://techbase.kde.org/Kirigami -Source0: http://download.kde.org/stable/kirigami/%{framework}-%{version}.tar.xz +%global versiondir %(echo %{version} | cut -d. -f1-2) +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz ## upstream paches # filter qml provides %global __provides_exclude_from ^%{_kf5_qmldir}/.*\\.so$ -BuildRequires: extra-cmake-modules -BuildRequires: kf5-plasma-devel +BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: kf5-plasma-devel >= %{version} BuildRequires: kf5-rpm-macros BuildRequires: qt5-linguist @@ -39,7 +46,6 @@ BuildRequires: appstream BuildRequires: xorg-x11-server-Xvfb %endif -Requires: kf5-filesystem Requires: qt5-qtquickcontrols%{?_isa} Requires: qt5-qtquickcontrols2%{?_isa} @@ -92,16 +98,22 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: # README is currently only build instructions, omit for now #doc README.md %license LICENSE* +%{_kf5_libdir}/libKF5Kirigami2.so.5* %dir %{_kf5_qmldir}/org/ %dir %{_kf5_qmldir}/org/kde/ %{_kf5_qmldir}/org/kde/kirigami.2/ %files devel +%{_kf5_libdir}/libKF5Kirigami2.so +%{_kf5_includedir}/Kirigami2/ %{_kf5_archdatadir}/mkspecs/modules/qt_Kirigami2.pri %{_kf5_libdir}/cmake/KF5Kirigami2/ %changelog +* Wed Oct 25 2017 Rex Dieter - 5.39.0-1 +- 5.39.0 (included in kde frameworks since 5.39 release) + * Thu Oct 12 2017 Rex Dieter - 2.2.0-1 - 2.2.0 diff --git a/sources b/sources index 520505b..4816098 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kirigami2-2.2.0.tar.xz) = b8cf0353135b36e7a1c07c44ad60d12ead0ff97f750093b874654f84999daa03f9783b94cebc5e07a80c65576c83fcd3b5728f5bea4587256fe0f22b98487fe0 +SHA512 (kirigami2-5.39.0.tar.xz) = ed6605072b8cd28bb9a6c70ab0f9d65e559795bf6cdd3118d63d36588a6c397a7b8656e80201ba320ae9b85a38f31550897762dcbee8347cd9e657efc6e8af11