diff --git a/kshisen.spec b/kshisen.spec index e34ecfd..b927549 100644 --- a/kshisen.spec +++ b/kshisen.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kshisen Version: 17.03.90 @@ -52,6 +53,10 @@ Shisen-Sho (KShishen) is a game similar to Mahjongg. The object of the game is to remove all tiles from the field. This is done by removing two tiles with of the same type until no tile is left. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kshisen-%{version} %patch1 -p1 @@ -62,6 +67,10 @@ two tiles with of the same type until no tile is left. %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.kshisen Game BoardGame %files @@ -77,4 +86,9 @@ two tiles with of the same type until no tile is left. %{_kf5_appstreamdir}/org.kde.kshisen.appdata.xml %dir %{_kf5_appstreamdir} +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog