%global orig_name kirigami-addons Name: kf5-kirigami2-addons Version: 0.11.0 Release: 2 Epoch: 1 License: LGPLv3 Summary: Convergent visual components ("widgets") for Kirigami-based applications Url: https://invent.kde.org/libraries/kirigami-addons Source: https://invent.kde.org/libraries/%{orig_name}/-/archive/v%{version}/%{orig_name}-v%{version}.tar.gz BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf5-rpm-macros BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5Kirigami2) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5QuickControls2) %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} = %{epoch}:%{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} = %{epoch}:%{version}-%{release} %description treeview Tree view Kirigami addon, which is useful for listing files. %prep %autosetup -n %{orig_name}-v%{version} %build %{cmake_kf5} %{cmake_build} %install %{cmake_install} %find_lang %{orig_name} --all-name %files -f %{orig_name}.lang %doc README.md %license LICENSES/ %dir %{_kf5_qmldir}/org/kde %dir %{_kf5_qmldir}/org/kde/kirigamiaddons %{_kf5_libdir}/qt5/qml/org/kde/kirigamiaddons/* %{_kf5_libdir}/cmake/KF5KirigamiAddons/* %files dateandtime %{_kf5_qmldir}/org/kde/kirigamiaddons/dateandtime/ %files treeview %{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/ %changelog * Sun Nov 17 2024 ChenYanpan - 1:0.11.0-2 - adapt to the new CMake macros to fix build failure * Fri Sep 22 2023 misaka00251 - 1:0.11.0-1 - Init package