From aa33aed293cf0502f50281cc0edbcbd91340dff232d57552f6056e86b5e0935c Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:17 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kfourinline?expand=0&rev=46 --- kfourinline.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kfourinline.spec b/kfourinline.spec index 2a971f9..5583052 100644 --- a/kfourinline.spec +++ b/kfourinline.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kfourinline Version: 17.03.90 @@ -49,6 +50,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Four wins is a two-player board game where you have to align four (gravity-affected) pieces of the same colour to win. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kfourinline-%{version} @@ -58,6 +63,10 @@ Four wins is a two-player board game where you have to align four %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.kfourinline Game BoardGame %files @@ -73,4 +82,9 @@ Four wins is a two-player board game where you have to align four %{_kf5_configkcfgdir}/kwin4.kcfg %{_kf5_kxmlguidir}/kfourinline/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog