From e47d7a3e1b2872b6db4ba24c8364a956c54312f390cbdb948d9aa89ea35ebcd0 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:27:42 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-contact?expand=0&rev=35 --- akonadi-contact.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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