diff --git a/akonadi-contact.spec b/akonadi-contact.spec index 7ba02de..2505c16 100644 --- a/akonadi-contact.spec +++ b/akonadi-contact.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + %define sonum 5 Name: akonadi-contact Version: 17.03.90 @@ -80,6 +82,10 @@ Provides: akonadi-contacts-devel = %{version} This package contains all necessary include files and libraries needed to develop KDE PIM applications. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n akonadi-contacts-%{version} @@ -89,6 +95,9 @@ to develop KDE PIM applications. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %endif %post -n libKF5AkonadiContact5 -p /sbin/ldconfig %postun -n libKF5AkonadiContact5 -p /sbin/ldconfig @@ -123,4 +132,9 @@ to develop KDE PIM applications. %{_kf5_includedir}/akonadi-contact_version.h %{_kf5_mkspecsdir}/qt_AkonadiContact.pri +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog