|
|
|
@ -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 <rdieter@fedoraproject.org> - 5.39.0-1
|
|
|
|
|
- 5.39.0 (included in kde frameworks since 5.39 release)
|
|
|
|
|
|
|
|
|
|
* Thu Oct 12 2017 Rex Dieter <rdieter@fedoraproject.org> - 2.2.0-1
|
|
|
|
|
- 2.2.0
|
|
|
|
|
|
|
|
|
|