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