From 166fb323cf75c6bd2fa2b2d6fc26e3a73e6745f3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 22 Apr 2017 08:08:36 -0500 Subject: [PATCH] use %find_lang for handbooks --- khelpcenter.spec | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/khelpcenter.spec b/khelpcenter.spec index e1641d1..c476af4 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: 17.04.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 or GPLv3 URL: https://cgit.kde.org/%{name}.git @@ -74,7 +74,7 @@ cp -alf \ %{buildroot}%{_datadir}/kservices5/khelpcenter.desktop \ %{buildroot}%{_datadir}/services/ -%find_lang %{name} +%find_lang %{name} --all-name --with-html %check @@ -100,39 +100,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop %{_datadir}/services/khelpcenter.desktop %{_datadir}/kde4/services/khelpcenter.desktop -%lang(ca) %{_kf5_docdir}/HTML/ca/fundamentals/ -%lang(ca) %{_kf5_docdir}/HTML/ca/khelpcenter/ -%lang(ca) %{_kf5_docdir}/HTML/ca/onlinehelp/ -%lang(de) %{_kf5_docdir}/HTML/de/fundamentals/ -%lang(de) %{_kf5_docdir}/HTML/de/khelpcenter/ -%lang(de) %{_kf5_docdir}/HTML/de/onlinehelp/ -%lang(en) %{_kf5_docdir}/HTML/en/fundamentals/ -%lang(en) %{_kf5_docdir}/HTML/en/khelpcenter/ -%lang(en) %{_kf5_docdir}/HTML/en/onlinehelp/ -%lang(es) %{_kf5_docdir}/HTML/es/fundamentals/ -%lang(es) %{_kf5_docdir}/HTML/es/khelpcenter/ -#lang(es) %{_kf5_docdir}/HTML/es/onlinehelp/ -%lang(it) %{_kf5_docdir}/HTML/it/fundamentals/ -%lang(it) %{_kf5_docdir}/HTML/it/khelpcenter/ -%lang(it) %{_kf5_docdir}/HTML/it/onlinehelp/ -%lang(nl) %{_kf5_docdir}/HTML/nl/fundamentals/ -%lang(nl) %{_kf5_docdir}/HTML/nl/khelpcenter/ -%lang(nl) %{_kf5_docdir}/HTML/nl/onlinehelp/ -%lang(pt_BR) %{_kf5_docdir}/HTML/pt_BR/fundamentals/ -%lang(pt_BR) %{_kf5_docdir}/HTML/pt_BR/khelpcenter/ -%lang(pt_BR) %{_kf5_docdir}/HTML/pt_BR/onlinehelp/ -#lang(sr) %{_kf5_docdir}/HTML/sr/fundamentals/ -%lang(sr) %{_kf5_docdir}/HTML/sr/khelpcenter/ -%lang(sr) %{_kf5_docdir}/HTML/sr/onlinehelp/ -%lang(sv) %{_kf5_docdir}/HTML/sv/fundamentals/ -%lang(sv) %{_kf5_docdir}/HTML/sv/khelpcenter/ -%lang(sv) %{_kf5_docdir}/HTML/sv/onlinehelp/ -%lang(uk) %{_kf5_docdir}/HTML/uk/fundamentals/ -%lang(uk) %{_kf5_docdir}/HTML/uk/khelpcenter/ -%lang(uk) %{_kf5_docdir}/HTML/uk/onlinehelp/ - %changelog +* Sat Apr 22 2017 Rex Dieter - 1:17.04.0-2 +- use %%find_lang for handbooks + * Tue Apr 18 2017 Rex Dieter - 1:17.04.0-1 - 17.04.0