From f823648996604102b39852c263c1f4e8f17dcf3fb0132d6658c005bb12d306a6 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:56 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/libkeduvocdocument?expand=0&rev=43 --- libkeduvocdocument.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libkeduvocdocument.spec b/libkeduvocdocument.spec index f379331..8e99037 100644 --- a/libkeduvocdocument.spec +++ b/libkeduvocdocument.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: libkeduvocdocument Version: 17.03.90 @@ -46,6 +47,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build This package contains the library which is required by the KDE education applications. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -55,6 +60,9 @@ applications. %install %kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name +%endif %fdupes -s %{buildroot} %package -n libKEduVocDocument5 @@ -90,4 +98,9 @@ develop KDE education applications. %{_kf5_libdir}/cmake/libkeduvocdocument/ %{_kf5_libdir}/libKEduVocDocument.so +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog