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