From 73a48121e8ee74209cd62130bc7791a8a07183d87f0dca130fd2a2965d5b1641 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:24 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kiriki?expand=0&rev=49 --- kiriki.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kiriki.spec b/kiriki.spec index 835f524..1be04e4 100644 --- a/kiriki.spec +++ b/kiriki.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kiriki Version: 17.03.90 @@ -65,6 +66,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Kiriki is the KDE version of the dice game Yahtzee where you roll dices to get higher scores in several combinations +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kiriki-%{version} @@ -74,6 +79,10 @@ to get higher scores in several combinations %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.kiriki Game BoardGame %files @@ -88,4 +97,9 @@ to get higher scores in several combinations %{_kf5_appstreamdir}/org.kde.kiriki.appdata.xml %dir %{_kf5_appstreamdir} +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog