Add Fedora Tools settings module
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
Name: fedora-tools-settings
|
||||
Version: 0.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Plasma System Settings module for Fedora Tools
|
||||
|
||||
License: MIT
|
||||
URL: https://git.ajpanton.se/ajp_anton/fedora-tools
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: LICENSE
|
||||
Source2: README.md
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: kf6-kauth-devel
|
||||
BuildRequires: kf6-kcmutils-devel
|
||||
BuildRequires: kf6-ki18n-devel
|
||||
BuildRequires: kf6-kirigami-devel
|
||||
BuildRequires: qt6-qtdeclarative-devel
|
||||
|
||||
Requires: dnf5
|
||||
Requires: kf6-kauth
|
||||
Requires: kf6-kcmutils
|
||||
Requires: kf6-kirigami
|
||||
Requires: plasma-systemsettings
|
||||
Requires: rpm
|
||||
|
||||
%description
|
||||
Adds a Fedora Tools page to KDE Plasma System Settings. It discovers tools from
|
||||
the configured RPM repository, reports installation state, and can install
|
||||
tools after administrator authorization.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
install -Dpm 0644 %{SOURCE1} \
|
||||
%{buildroot}%{_licensedir}/%{name}/LICENSE
|
||||
install -Dpm 0644 %{SOURCE2} \
|
||||
%{buildroot}%{_docdir}/%{name}/README.md
|
||||
|
||||
%files
|
||||
%license %{_licensedir}/%{name}/LICENSE
|
||||
%doc %{_docdir}/%{name}/README.md
|
||||
%{_libdir}/qt6/plugins/plasma/kcms/systemsettings/kcm_fedora_tools.so
|
||||
%{_libexecdir}/kf6/kauth/fedora-tools-settings-helper
|
||||
%{_datadir}/applications/kcm_fedora_tools.desktop
|
||||
%{_datadir}/dbus-1/system-services/se.ajpanton.fedoratools.service
|
||||
%{_datadir}/dbus-1/system.d/se.ajpanton.fedoratools.conf
|
||||
%{_datadir}/polkit-1/actions/se.ajpanton.fedoratools.policy
|
||||
|
||||
%changelog
|
||||
* Sat Sep 05 2026 fedora-tools contributors - 0.1.0-1
|
||||
- Initial package
|
||||
Reference in New Issue
Block a user