use %find_lang for handbooks

epel9
Rex Dieter 8 years ago
parent f878df71dc
commit 166fb323cf

@ -3,7 +3,7 @@ Summary: Show documentation for KDE applications
# Override khelpcenter subpackage from kde-runtime-15.04 (no longer built) # Override khelpcenter subpackage from kde-runtime-15.04 (no longer built)
Epoch: 1 Epoch: 1
Version: 17.04.0 Version: 17.04.0
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 or GPLv3 License: GPLv2 or GPLv3
URL: https://cgit.kde.org/%{name}.git URL: https://cgit.kde.org/%{name}.git
@ -74,7 +74,7 @@ cp -alf \
%{buildroot}%{_datadir}/kservices5/khelpcenter.desktop \ %{buildroot}%{_datadir}/kservices5/khelpcenter.desktop \
%{buildroot}%{_datadir}/services/ %{buildroot}%{_datadir}/services/
%find_lang %{name} %find_lang %{name} --all-name --with-html
%check %check
@ -100,39 +100,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop
%{_datadir}/services/khelpcenter.desktop %{_datadir}/services/khelpcenter.desktop
%{_datadir}/kde4/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 %changelog
* Sat Apr 22 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:17.04.0-2
- use %%find_lang for handbooks
* Tue Apr 18 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:17.04.0-1 * Tue Apr 18 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:17.04.0-1
- 17.04.0 - 17.04.0

Loading…
Cancel
Save