From 467946fef8372ebaadafb3200ddb62dfb181f91e7da3eff8747150c195dd86f9 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:29:04 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/mailimporter?expand=0&rev=50 --- mailimporter.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mailimporter.spec b/mailimporter.spec index fdf1433..c7f5d9b 100644 --- a/mailimporter.spec +++ b/mailimporter.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: mailimporter Version: 17.03.90 Release: 0 @@ -57,6 +59,10 @@ The mailimporter library is a KDE PIM project to provide a framework for importing mail from different formats into Mail User Agents such as KMail or Kontact. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -67,6 +73,9 @@ KMail or Kontact. %install %kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name +%endif %package -n libKF5MailImporter5 Summary: MailImporter library for kdepim @@ -133,4 +142,9 @@ This package provides the development headers of the mailimporter library. %config %{_kf5_configdir}/mailimporter.categories %config %{_kf5_configdir}/mailimporter.renamecategories +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog