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