From f486817f5729614ba8faa46360f938fa3b960df2 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 22 Mar 2016 13:04:46 -0500 Subject: [PATCH] .spec cosmetics, BR: perl libxml2-devel xapian-core-devel --- khelpcenter.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/khelpcenter.spec b/khelpcenter.spec index 399c55b..bf113b2 100644 --- a/khelpcenter.spec +++ b/khelpcenter.spec @@ -3,7 +3,7 @@ Summary: Show documentation for KDE applications # Override khelpcenter subpackage from kde-runtime-15.04 (no longer built) Epoch: 1 Version: 5.5.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 or GPLv3 URL: https://projects.kde.org/khelpcenter @@ -16,7 +16,6 @@ URL: https://projects.kde.org/khelpcenter %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz -BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules # _kde4_* macros @@ -28,8 +27,11 @@ BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-khtml-devel BuildRequires: kf5-kinit-devel >= 5.10.0-3 BuildRequires: kf5-rpm-macros +BuildRequires: libxml2-devel +BuildRequires: perl BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtscript-devel +BuildRequires: xapian-core-devel Requires: kf5-filesystem @@ -58,12 +60,14 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang khelpcenter5 --with-qt --all-name # Provide khelpcenter service for KDE 3 and KDE 4 applications -mkdir -p %{buildroot}/%{_kde4_datadir}/services -cp %{buildroot}/%{_datadir}/kservices5/khelpcenter.desktop \ - %{buildroot}/%{_kde4_datadir}/services -mkdir -p %{buildroot}/%{_kde4_datadir}/kde4/services -cp %{buildroot}/%{_datadir}/kservices5/khelpcenter.desktop \ - %{buildroot}/%{_kde4_datadir}/kde4/services +mkdir -p %{buildroot}%{_kde4_datadir}/services +cp -alf \ + %{buildroot}%{_datadir}/kservices5/khelpcenter.desktop \ + %{buildroot}%{_kde4_datadir}/services/ +mkdir -p %{buildroot}%{_kde4_datadir}/kde4/services +cp -alf \ + %{buildroot}%{_datadir}/kservices5/khelpcenter.desktop \ + %{buildroot}%{_kde4_datadir}/kde4/services/ %check @@ -105,6 +109,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop %changelog +* Tue Mar 22 2016 Rex Dieter - 5.5.5-2 +- .spec cosmetics, BR: perl libxml2-devel xapian-core-devel + * Tue Mar 01 2016 Daniel Vrátil - 5.5.5-1 - Plasma 5.5.5