From aa4fa899cde4680878d2f4511b398cba3ace0a059b063cd15ebe0fe0d45ee0c8 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:55 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/libkdegames?expand=0&rev=56 --- libkdegames.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libkdegames.spec b/libkdegames.spec index f403411..a6268bf 100644 --- a/libkdegames.spec +++ b/libkdegames.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: libkdegames Version: 17.03.90 @@ -71,6 +72,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains data which is required by the KDE games library. +%if %{with lang} +%lang_package +%endif + %prep %setup -q %patch1 -p1 @@ -84,6 +89,9 @@ rm -rf carddecks/svg-konqi-modern %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %endif %fdupes -s %{buildroot} %files @@ -177,4 +185,9 @@ This package contains the default card deck set for KDE games. %doc COPYING README %{_kf5_sharedir}/carddecks/svg-oxygen-air +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog