From ad94768a816bb15e464bf612e0b0c062e4457274 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 2 Jan 2016 09:04:50 -0600 Subject: [PATCH] .spec cosmetics, update URL - own %{_kf5_plugindir}/kded/ - %lang'ify manpages --- kf5-kded.spec | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/kf5-kded.spec b/kf5-kded.spec index e40300b..9f60236 100644 --- a/kf5-kded.spec +++ b/kf5-kded.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.17.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 addon with extensible daemon for system-level services License: LGPLv2+ -URL: http://www.kde.org +URL: http://projects.kde.org/kded %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,18 +17,18 @@ URL: http://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz -BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: cmake BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: qt5-qtbase-devel -BuildRequires: kf5-kinit-devel >= %{version} - BuildRequires: kf5-kconfig-devel >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{version} BuildRequires: kf5-kcrash-devel >= %{version} BuildRequires: kf5-kdbusaddons-devel >= %{version} BuildRequires: kf5-kdoctools-devel >= %{version} BuildRequires: kf5-kinit-devel >= %{version} +BuildRequires: kf5-kinit-devel >= %{version} BuildRequires: kf5-kservice-devel >= %{version} +BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: qt5-qtbase-devel Requires: kf5-filesystem >= %{version} @@ -66,26 +66,36 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang kded5 --with-man --without-mo + +# create/own this +mkdir -p %{buildroot}%{_kf5_plugindir}/kded + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files +%files -f kded5.lang %doc COPYING.LIB README.md +%license COPYING.LIB %{_kf5_bindir}/kded5 %{_kf5_libdir}/libkdeinit5_kded5.so %{_kf5_datadir}/dbus-1/services/*.service %{_kf5_datadir}/kservicetypes5/*.desktop -%{_kf5_mandir}/man8/* -%{_kf5_mandir}/*/man8/* -%exclude %{_kf5_mandir}/man8 +%{_kf5_mandir}/man8/kded5.8* +%dir %{_kf5_plugindir}/kded/ %files devel -%{_kf5_libdir}/cmake/KDED +%{_kf5_libdir}/cmake/KDED/ %{_kf5_datadir}/dbus-1/interfaces/*.xml %changelog +* Sat Jan 02 2016 Rex Dieter 5.17.0-2 +- .spec cosmetics, update URL +- own %{_kf5_plugindir}/kded/ +- %%lang'ify manpages + * Tue Dec 08 2015 Daniel Vrátil - 5.17.0-1 - KDE Frameworks 5.17.0