Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kteatime?expand=0&rev=44
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:41 +00:00 committed by Git OBS Bridge
parent b5c0174076
commit a28fcb594f

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: kteatime Name: kteatime
Version: 17.03.90 Version: 17.03.90
@ -51,6 +52,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
KDE time utility for making a fine cup of tea KDE time utility for making a fine cup of tea
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
@ -60,6 +65,10 @@ KDE time utility for making a fine cup of tea
%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 -r org.kde.kteatime Applet %suse_update_desktop_file -r org.kde.kteatime Applet
%files %files
@ -72,4 +81,9 @@ KDE time utility for making a fine cup of tea
%{_kf5_appstreamdir}/ %{_kf5_appstreamdir}/
%{_datadir}/knotifications5/kteatime.notifyrc %{_datadir}/knotifications5/kteatime.notifyrc
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog