From 43c148d37d02e79390ad96fb8600f60e502a88521e690562e98a747ca2b2ad63 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:25 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kjumpingcube?expand=0&rev=50 --- kjumpingcube.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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