diff --git a/klines.spec b/klines.spec index fb16d7c..20f3043 100644 --- a/klines.spec +++ b/klines.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: klines Version: 17.03.90 @@ -67,6 +68,10 @@ Klines is the KDE version of the russian game Lines where you have to align five game pieces of the same colour in one line to remove them from the game board. Similar to tetris you fight new pieces appearing. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n klines-%{version} @@ -76,6 +81,10 @@ from the game board. Similar to tetris you fight new pieces appearing. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %suse_update_desktop_file -r org.kde.klines Game LogicGame %files @@ -90,4 +99,9 @@ from the game board. Similar to tetris you fight new pieces appearing. %dir %{_kf5_configkcfgdir} %{_kf5_configkcfgdir}/klines.kcfg +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog