From 48b9f5a72fbac227307ed909dd1080741f4aaaf10d4426fce78cef403ae851c9 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:29:08 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/pim-data-exporter?expand=0&rev=19 --- pim-data-exporter.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pim-data-exporter.spec b/pim-data-exporter.spec index 1da1560..fbe01da 100644 --- a/pim-data-exporter.spec +++ b/pim-data-exporter.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: pim-data-exporter Version: 17.03.90 Release: 0 @@ -65,6 +67,10 @@ ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64 %description This package contains utlities needed by KDE PIM to export data for backup and archival. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -74,6 +80,10 @@ This package contains utlities needed by KDE PIM to export data for backup and a %install %kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs +%endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -91,4 +101,9 @@ This package contains utlities needed by KDE PIM to export data for backup and a %{_kf5_htmldir}/en/pimsettingexporter/ %{_datadir}/kconf_update/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog