flatpak-kcm/flatpak-kcm.spec

97 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: flatpak-kcm
Version: 5.27.10
Release: 1mamba
Summary: KDE Plasma Flatpak Permissions Management KCM
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/plasma/%{version}/flatpak-kcm-%{version}.tar.xz
Patch0: flatpak-kcm-5.27.3-gcc-12.2.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libflatpak-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdeclarative-devel
BuildRequires: libki18n-devel
BuildRequires: libostree-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
%description
Flatpak Permissions Management KCM. The KCM allows changing what permissions have been granted to installed Flatpak applications.
%debug_package
%prep
%setup -q
#%patch 0 -p1 -b .gcc-12.2.0
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
%{_datadir}/applications/kcm_flatpak.desktop
%dir %{_datadir}/kpackage/kcms/kcm_flatpak
%dir %{_datadir}/kpackage/kcms/kcm_flatpak/contents
%dir %{_datadir}/kpackage/kcms/kcm_flatpak/contents/ui
%{_datadir}/kpackage/kcms/kcm_flatpak/contents/ui/*
%changelog
* Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 5.27.10-1mamba
- automatic version update by autodist
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 5.27.9-1mamba
- automatic version update by autodist
* Wed Sep 13 2023 Automatic Build System <autodist@mambasoft.it> 5.27.8-1mamba
- automatic version update by autodist
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 5.27.7-1mamba
- automatic version update by autodist
* Wed Jun 21 2023 Automatic Build System <autodist@mambasoft.it> 5.27.6-1mamba
- automatic version update by autodist
* Wed May 10 2023 Automatic Build System <autodist@mambasoft.it> 5.27.5-1mamba
- automatic version update by autodist
* Wed Apr 05 2023 Automatic Build System <autodist@mambasoft.it> 5.27.4-1mamba
- automatic version update by autodist
* Fri Mar 17 2023 Automatic Build System <autodist@mambasoft.it> 5.27.3-1mamba
- automatic version update by autodist
* Sat Mar 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.2-1mamba
- update to 5.27.2
* Wed Feb 22 2023 Automatic Build System <autodist@mambasoft.it> 5.27.1-1mamba
- automatic version update by autodist
* Sun Feb 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.0-1mamba
- package created using the webbuild interface