%global sddm_kcm_commit afdda33c6b905ebba0b132e79b291461f040c6d2 Name: sddm-kcm Version: 0.0.0 Release: 0.1.20131015git%(echo %{sddm_kcm_commit} | cut -c-8)%{?dist} License: GPLv2+ Summary: SDDM KDE configuration module Url: https://github.com/sddm/sddm-kcm/ Source0: https://github.com/sddm/sddm-kcm/archive/%{sddm_kcm_commit}.tar.gz BuildRequires: cmake BuildRequires: kdelibs4-devel Requires: sddm Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}} %description Graphical interface to configure SDDM using the KDE system settings. %prep %setup -q -n %{name}-%{sddm_kcm_commit} %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files %doc ACKNOWLEDGEMENT CONTRIBUTORS README %{_kde4_libdir}/kde4/kcm_sddm.so %{_kde4_datadir}/kde4/services/kcm_sddm.desktop %{_kde4_appsdir}/sddm-kcm/ %{_libexecdir}/kde4/kcmsddm_authhelper %{_sysconfdir}/dbus-1/system.d/org.kde.kcontrol.kcmsddm.conf %{_datadir}/dbus-1/system-services/org.kde.kcontrol.kcmsddm.service %{_datadir}/polkit-1/actions/org.kde.kcontrol.kcmsddm.policy %changelog * Tue Oct 15 2013 Martin Briza - 0.0.0-0.1.20131015gitafdda33c - Initial package