systemd-kcm/systemd-kcm.spec

69 lines
2.1 KiB
RPMSpec

Name: systemd-kcm
Version: 1.2.1
Release: 1mamba
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: 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_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name --with-kde || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/org.kde.kcontrol.kcmsystemd.conf
%{_kde4_libdir}/plugins/kcm_systemd.so
%{_kde4_sharedir}/kservices5/kcm_systemd.desktop
%{_kde4_sharedir}/kservices5/settings-system-administration.desktop
%{_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
* Wed Dec 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- package created using the webbuild interface