SHA256
1
0
forked from pool/knavalbattle

Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/knavalbattle?expand=0&rev=46
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:30 +00:00 committed by Git OBS Bridge
parent abd61a6da8
commit 425aba13e2

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: knavalbattle Name: knavalbattle
Version: 17.03.90 Version: 17.03.90
@ -62,6 +63,10 @@ KBatteship is a KDE implentation of the popular game "Battleship" where
you have to try to sink the opponents ships. The game can also be you have to try to sink the opponents ships. The game can also be
played with friends online via the internet. played with friends online via the internet.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q -n knavalbattle-%{version} %setup -q -n knavalbattle-%{version}
@ -71,6 +76,10 @@ played with friends online via the internet.
%install %install
%kf5_makeinstall -C build %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.knavalbattle Game BoardGame %suse_update_desktop_file -r org.kde.knavalbattle Game BoardGame
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -89,4 +98,9 @@ played with friends online via the internet.
%{_kf5_appsdir}/kconf_update/knavalbattle.upd %{_kf5_appsdir}/kconf_update/knavalbattle.upd
%{_datadir}/kxmlgui5/knavalbattle/ %{_datadir}/kxmlgui5/knavalbattle/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog