Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ktimer?expand=0&rev=46
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:42 +00:00 committed by Git OBS Bridge
parent c94f2ff1e6
commit 2b0ac4e7cf

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
Name: ktimer
Version: 17.03.90
@ -47,6 +48,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Countdown launching tool for KDE
%if %{with lang}
%lang_package
%endif
%prep
%setup -q -n ktimer-%{version}
@ -56,6 +61,10 @@ Countdown launching tool 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.ktimer Utility TimeUtility
%post -p /sbin/ldconfig
@ -63,11 +72,16 @@ Countdown launching tool for KDE
%files
%defattr(-,root,root)
%doc COPYING
%doc COPYING*
%{_kf5_bindir}/ktimer
%{_kf5_htmldir}/en/ktimer/
%{_kf5_applicationsdir}/org.kde.ktimer.desktop
%{_kf5_iconsdir}/hicolor/*/*/*.png
%{_kf5_htmldir}/en/ktimer/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog