%global gitdate 20230301 %global cmakever 5.27.80 %global commit0 f0bf57cdb8436f357d0eedd3a306b9c9487f11cb %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global date 20221108 Name: flatpak-kcm Version: %{cmakever}^%{gitdate}.%{shortcommit0} Release: 1%{?dist} License: BSD and GPLv2+ Summary: Flatpak Permissions Management KCM Url: https://invent.kde.org/plasma/flatpak-kcm Source: flatpak-kcm-%{shortcommit0}.tar.gz BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf5-rpm-macros BuildRequires: cmake(KF5Declarative) BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(Qt5Svg) BuildRequires: pkgconfig(flatpak) %description %{summary}. %prep %autosetup -n %{name}-%{shortcommit0} -p1 %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang kcm_flatpak %files -f kcm_flatpak.lang %license LICENSES/* %{_kf5_datadir}/applications/kcm_flatpak.desktop %{_kf5_datadir}/kpackage/kcms/kcm_flatpak/contents/ui/KcmPopupModal.qml %{_kf5_datadir}/kpackage/kcms/kcm_flatpak/contents/ui/main.qml %{_kf5_datadir}/kpackage/kcms/kcm_flatpak/contents/ui/permissions.qml %{_kf5_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so %changelog * Sat Dec 10 2022 Justin Zobel - 0.1 - Initial Package