From d3cec1f5489b56168986cfaf4955410d244df104a4ceac6a622885dfff06e52a Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:27:44 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=102 --- akonadi-server.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/akonadi-server.spec b/akonadi-server.spec index 1202d44..52ce8f9 100644 --- a/akonadi-server.spec +++ b/akonadi-server.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + %define rname akonadi Name: akonadi-server Version: 17.03.90 @@ -165,6 +167,10 @@ Provides: libKF5AkonadiPrivate-devel = %{version} This package contains development files of Akonadi, the KDE PIM storage service. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n %{rname}-%{version} @@ -174,6 +180,9 @@ service. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %endif %post /sbin/ldconfig @@ -264,4 +273,9 @@ service. %{_libdir}/libKF5AkonadiXml.so %{_libdir}/qt5/mkspecs/modules/qt_AkonadiXml.pri +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog