diff --git a/kalarm.spec b/kalarm.spec index 9410bfe..6f7b136 100644 --- a/kalarm.spec +++ b/kalarm.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: kalarm Version: 17.03.90 Release: 0 @@ -87,6 +89,10 @@ ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64 %description Personal alarm message, command and email scheduler for KDE +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -96,6 +102,10 @@ Personal alarm message, command and email scheduler for KDE %install %kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs +%endif %suse_update_desktop_file org.kde.kalarm Utility TimeUtility %files @@ -121,4 +131,9 @@ Personal alarm message, command and email scheduler for KDE %{_kf5_iconsdir}/hicolor/*/apps/kalarm.png %{_kf5_kxmlguidir}/kalarm/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog