%global gitdate 20231013.134815 %global cmakever 5.240.0 %global commit0 a0375f95c5d1ce8c7f5ce7f1d95c6a02fc838a34 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global framework kirigami-addons Name: kf6-kirigami2-addons Version: %{cmakever}^%{gitdate}.%{shortcommit0} Release: 1%{?dist} License: BSD-2-Clause AND CC-BY-SA-4.0 AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND LicenseRef-KFQF-Accepted-GPL Summary: Convergent visual components ("widgets") for Kirigami-based applications Url: https://invent.kde.org/libraries/%{framework} Source: https://invent.kde.org/libraries/%{framework}/-/archive/%{commit0}/%{framework}-%{shortcommit0}.tar.gz BuildRequires: cmake BuildRequires: extra-cmake-modules >= %{cmakever} BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Kirigami2) BuildRequires: cmake(KF6Svg) BuildRequires: qt6-qtbase-private-devel BuildRequires: cmake(Qt6) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: pkgconfig(xkbcommon) Requires: kf6-filesystem %description A set of "widgets" i.e visual end user components along with a code to support them. Components are usable by both touch and desktop experiences providing a native experience on both, and look native with any QQC2 style (qqc2-desktop-theme, Material or Plasma). %package dateandtime Summary: Date and time add-on for the Kirigami framework Requires: %{name}%{?_isa} = %{version}-%{release} %description dateandtime Date and time Kirigami addons, which complements other software like Kclock. %package treeview Summary: Tree view add-on for the Kirigami framework Requires: %{name}%{?_isa} = %{version}-%{release} %description treeview Tree view Kirigami addon, which is useful for listing files. %prep %autosetup -n %{framework}-%{commit0} %build %cmake_kf6 -DBUILD_WITH_QT6=ON %cmake_build %install %cmake_install %find_lang %{orig_name} --all-name %files -f %{orig_name}.lang %doc README.md %license LICENSES/ %dir %{_kf6_qmldir}/org/kde %dir %{_kf6_qmldir}/org/kde/kirigamiaddons %{_kf6_libdir}/qt6/qml/org/kde/kirigamiaddons/* %{_kf6_libdir}/cmake/KF6KirigamiAddons/* %files dateandtime %{_kf6_qmldir}/org/kde/kirigamiaddons/dateandtime/ %files treeview %{_kf6_qmldir}/org/kde/kirigamiaddons/treeview/ %changelog * Sat Sep 23 2023 Steve Cossette - 5.240.0^20231013.134815.a0375f9-1 - Initial release