From aaf901fa006c46564ea6ee9aad2b832d2738fee2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:50:31 +0100 Subject: [PATCH] package created using the webbuild interface [release 23.08.0-1mamba;Sun Aug 27 2023] --- README.md | 2 ++ kio-admin.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 kio-admin.spec diff --git a/README.md b/README.md index b392bb3..31f0db8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kio-admin +kio-admin implements a new protocol `admin:///` which gives administrative access to the entire system. + diff --git a/kio-admin.spec b/kio-admin.spec new file mode 100644 index 0000000..24d6b3f --- /dev/null +++ b/kio-admin.spec @@ -0,0 +1,70 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kio-admin +Version: 23.08.0 +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 +URL: https://kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/kio-admin-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkio-devel +BuildRequires: libkjobwidgets-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: libpolkit-qt5-1-devel +BuildRequires: libsolid-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +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_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/kf5/kfileitemaction/kio-admin.so +%{_libdir}/qt5/plugins/kf5/kio/admin.so +%{_libexecdir}/kf5/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 +* Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba +- package created using the webbuild interface