systemd-kcm/systemd-kcm.spec

75 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: systemd-kcm
Version: 1.2.1
Release: 2mamba
Summary: Systemd control module for KDE
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/systemd-kcm/systemd-kcm-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsystemd-devel
## AUTOBUILDREQ-END
BuildRequires: automoc4
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Systemd control module for KDE. Provides a graphical frontend for the systemd daemon, which allows for viewing and controlling systemd units and logind sessions as well as modifying configuration files.
Integrates in the System Settings dialogue in KDE Plasma.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name --with-kde || touch %{name}.lang
rm -f %{buildroot}%{_datadir}/kservices5/settings-system-administration.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/dbus-1/system.d/org.kde.kcontrol.kcmsystemd.conf
%{_datadir}/kservices5/kcm_systemd.desktop
%{_libdir}/qt5/plugins/kcm_systemd.so
%{_libexecdir}/kf5/kauth/kcmsystemdhelper
%{_datadir}/dbus-1/system-services/org.kde.kcontrol.kcmsystemd.service
%{_datadir}/polkit-1/actions/org.kde.kcontrol.kcmsystemd.policy
%doc COPYING
%changelog
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
- rebuild for kde5
* Wed Dec 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- package created using the webbuild interface