Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kalarm?expand=0&rev=17
This commit is contained in:
Luca Beltrame 2017-04-15 13:27:58 +00:00 committed by Git OBS Bridge
parent eacb99a492
commit 3c3d15cdf5

View File

@ -16,6 +16,8 @@
# #
%bcond_without lang
Name: kalarm Name: kalarm
Version: 17.03.90 Version: 17.03.90
Release: 0 Release: 0
@ -87,6 +89,10 @@ ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
%description %description
Personal alarm message, command and email scheduler for KDE Personal alarm message, command and email scheduler for KDE
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
@ -96,6 +102,10 @@ Personal alarm message, command and email scheduler for KDE
%install %install
%kf5_makeinstall -C build %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 %suse_update_desktop_file org.kde.kalarm Utility TimeUtility
%files %files
@ -121,4 +131,9 @@ Personal alarm message, command and email scheduler for KDE
%{_kf5_iconsdir}/hicolor/*/apps/kalarm.png %{_kf5_iconsdir}/hicolor/*/apps/kalarm.png
%{_kf5_kxmlguidir}/kalarm/ %{_kf5_kxmlguidir}/kalarm/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog