diff --git a/kollision.spec b/kollision.spec index 0d447a1..3c1da72 100644 --- a/kollision.spec +++ b/kollision.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kollision Version: 17.03.90 @@ -57,6 +58,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KDE version of a classic arcade game +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kollision-%{version} @@ -66,6 +71,10 @@ KDE version of a classic arcade 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.kollision Game LogicGame %files @@ -80,4 +89,9 @@ KDE version of a classic arcade game %{_kf5_kxmlguidir}/kollision/ %{_kf5_appstreamdir}/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog