diff --git a/klickety.spec b/klickety.spec index 3f14114..12fbe9c 100644 --- a/klickety.spec +++ b/klickety.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: klickety Version: 17.03.90 @@ -52,6 +53,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Klickety is an adaptation of the Clickomania and SameGame games. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n klickety-%{version} @@ -61,6 +66,10 @@ Klickety is an adaptation of the Clickomania and SameGame games. %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.klickety Game LogicGame %files @@ -77,4 +86,9 @@ Klickety is an adaptation of the Clickomania and SameGame games. %{_datadir}/kxmlgui5/klickety/ %{_datadir}/sounds/klickety/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog