diff --git a/mbox-importer.spec b/mbox-importer.spec index 94003d3..664b3ce 100644 --- a/mbox-importer.spec +++ b/mbox-importer.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: mbox-importer Version: 17.03.90 Release: 0 @@ -49,6 +51,10 @@ ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64 This package contains a tool that can be used to import mbox archives into akonadi. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -58,6 +64,9 @@ into akonadi. %install %kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name +%endif %files %defattr(-,root,root) @@ -65,4 +74,9 @@ into akonadi. %{_bindir}/mboximporter %{_kf5_applicationsdir}/org.kde.mboximporter.desktop +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog