diff --git a/kjumpingcube.spec b/kjumpingcube.spec index 88977c5..2045291 100644 --- a/kjumpingcube.spec +++ b/kjumpingcube.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kjumpingcube Version: 17.03.90 @@ -58,6 +59,10 @@ KJumpingCube is a tactical one or two-player game. The playing field consists of squares that contains points which can be increased. By this you can gain more fields and finally win the board over. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kjumpingcube-%{version} @@ -67,6 +72,10 @@ this you can gain more fields and finally win the board over. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %files %defattr(-,root,root) @@ -80,4 +89,9 @@ this you can gain more fields and finally win the board over. %{_kf5_configkcfgdir}/kjumpingcube.kcfg %{_datadir}/kxmlgui5/kjumpingcube/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog