diff --git a/granatier.spec b/granatier.spec index e9e11de..7ea2d3d 100644 --- a/granatier.spec +++ b/granatier.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: granatier Version: 17.03.90 @@ -56,6 +57,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Walk through an arena, lay bombs and kill your enemies. Granatier is a clone of the popular Bomberman game. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n granatier-%{version} @@ -65,6 +70,10 @@ Granatier is a clone of the popular Bomberman game. %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.granatier Game ArcadeGame %post -p /sbin/ldconfig @@ -82,4 +91,9 @@ Granatier is a clone of the popular Bomberman game. %{_kf5_appstreamdir}/ %{_kf5_kxmlguidir}/granatier/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog