From b212f288f100699d8d3d8094d35337bcaeb1b49a9da65e5a1f851e2b6661ccfc Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:22 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kig?expand=0&rev=46 --- kig.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/kig.spec b/kig.spec index 79e1430..e03798a 100644 --- a/kig.spec +++ b/kig.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kig Version: 17.03.90 @@ -61,6 +62,10 @@ two purposes: Allow students to interactively explore mathematical figures and concepts using the computer. Serve as a WYSIWYG tool for drawing mathematical figures and including them in other documents. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -70,6 +75,10 @@ drawing mathematical figures and including them in other documents. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %files %defattr(-,root,root) @@ -87,7 +96,12 @@ drawing mathematical figures and including them in other documents. %dir %{_kf5_htmldir} %doc %{_kf5_htmldir}/en/*/ %{_kf5_plugindir}/ -%{_kf5_mandir}/*/* +%{_kf5_mandir}/man* %{_datadir}/katepart5/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog