kio-admin/kio-admin.spec

101 lines
3.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kio-admin
Version: 24.05.1
Release: 1mamba
Summary: A KDE Plasma protocol which gives administrative access to the entire system
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/system/kio-admin
Source: https://download.kde.org/%{stable_kf6}/release-service/%{version}/src/kio-admin-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatomic-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kcompletion-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kjobwidgets-devel
BuildRequires: libkf6-kservice-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-solid-devel
BuildRequires: libpolkit-qt6-1-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
%description
kio-admin implements a new protocol `admin:///` which gives administrative access to the entire system.
%debug_package
%prep
%setup -q
%build
%cmake_kf6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_qt6_plugindir}/kf6/kfileitemaction/kio-admin.so
%{_qt6_plugindir}/kf6/kio/admin.so
%{_libexecdir}/kf6/kio-admin-helper
%{_datadir}/dbus-1/system-services/org.kde.kio.admin.service
%{_datadir}/dbus-1/system.d/org.kde.kio.admin.conf
%{_datadir}/metainfo/org.kde.kio.admin.metainfo.xml
%{_datadir}/polkit-1/actions/org.kde.kio.admin.policy
%doc LICENSES
%changelog
* Thu Jun 13 2024 Automatic Build System <autodist@openmamba.org> 24.05.1-1mamba
- automatic version update by autodist
* Thu May 23 2024 Automatic Build System <autodist@openmamba.org> 24.05.0-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 24.02.2-1mamba
- automatic version update by autodist
* Sat Mar 23 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Sat Mar 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-1mamba
- update to 24.02.0
* Sun Feb 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.01.95-1mamba
- update to 24.01.95
* Sat Dec 09 2023 Automatic Build System <autodist@mambasoft.it> 23.08.4-1mamba
- automatic version update by autodist
* Fri Nov 10 2023 Automatic Build System <autodist@mambasoft.it> 23.08.3-1mamba
- automatic version update by autodist
* Thu Oct 12 2023 Automatic Build System <autodist@mambasoft.it> 23.08.2-1mamba
- automatic version update by autodist
* Thu Sep 14 2023 Automatic Build System <autodist@mambasoft.it> 23.08.1-1mamba
- automatic version update by autodist
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.08.0-1mamba
- package created using the webbuild interface