From 950bfa02bac6d6c5ac1db7277697ce38b5d2c371fd6c3fc718216d3b28e90ce0 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:22 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/killbots?expand=0&rev=44 --- killbots.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/killbots.spec b/killbots.spec index d29f554..1dbdaf7 100644 --- a/killbots.spec +++ b/killbots.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: killbots Version: 17.03.90 @@ -54,6 +55,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Killbots is a simple game of evading killer robots. Who created the robots and why they have been programmed to destroy, no one knows. All that is known is that the robots are numerous and their sole objective is to destroy you. Fortunately for you, their creator has focused on quantity rather than quality and as a result the robots are severely lacking in intelligence. Your superior wit and a fancy teleportation device are your only weapons against the never-ending stream of mindless automatons. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n killbots-%{version} @@ -63,6 +68,10 @@ Killbots is a simple game of evading killer robots. Who created the robots and w %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %files %defattr(-,root,root) @@ -76,4 +85,9 @@ Killbots is a simple game of evading killer robots. Who created the robots and w %{_kf5_configkcfgdir}/killbots.kcfg %{_datadir}/kxmlgui5/killbots/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog