From 3ba75e56c3d4a97462792d654b67440241647913d0538d020d903efc18463501 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:31 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/knetwalk?expand=0&rev=47 --- knetwalk.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/knetwalk.spec b/knetwalk.spec index 44be2d8..b37e07c 100644 --- a/knetwalk.spec +++ b/knetwalk.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: knetwalk Version: 17.03.90 @@ -50,6 +51,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Turn the board pieces to get all computers connected. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n knetwalk-%{version} @@ -59,6 +64,10 @@ Turn the board pieces to get all computers connected. %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.knetwalk KNetwalk "Tactical Game" Game LogicGame %files @@ -71,4 +80,9 @@ Turn the board pieces to get all computers connected. %{_datadir}/knetwalk/ %{_kf5_kxmlguidir}/knetwalk/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog