diff --git a/kate.changes b/kate.changes index d2e3834..3ab4a03 100644 --- a/kate.changes +++ b/kate.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 11 22:45:08 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : +- Too many changes to list here + ------------------------------------------------------------------- Sat Aug 5 18:17:07 UTC 2017 - christophe@krop.fr diff --git a/kate.spec b/kate.spec index 7fa8c64..1c07b85 100644 --- a/kate.spec +++ b/kate.spec @@ -1,7 +1,7 @@ # # spec file for package kate # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang -%define _appstreamkpackage 0%(cat %{_kf5_libdir}/cmake/KF5Package/KF5PackageMacros.cmake | grep -q 'appstream-metainfo' && echo 1) +%define _appstreamkpackage 0%(cat %{_kf5_cmakedir}/KF5Package/KF5PackageMacros.cmake | grep -q 'appstream-metainfo' && echo 1) Name: kate Version: 17.07.90 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Advanced Text Editor License: GPL-2.0+ -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: Productivity/Editors/Other -Url: http://www.kde.org +Group: Productivity/Text/Editors +Url: http://www.kde.org Source0: %{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE Patch0: 0001-Defuse-root-block.patch @@ -64,6 +64,9 @@ Requires: %{name}-plugins = %{version} Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} Recommends: %{name}-lang +%if %{with lang} +Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -71,8 +74,7 @@ Kate is an advanced text editor for KDE. %package -n kwrite Summary: KDE Text Editor -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-plugins = %{version} Obsoletes: kwrite5 < %{version} @@ -81,8 +83,7 @@ KWrite is the default text editor of the K desktop environment. %package plugins Summary: KDE Text Editor plugins -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Obsoletes: kate5-plugins < %{version} %description plugins @@ -114,27 +115,27 @@ plugins and data files for Kate and KWrite editors. %files %defattr(-,root,root) %doc COPYING* README* -%{_kf5_applicationsdir}/org.kde.kate.desktop -%{_kf5_bindir}/kate -%{_kf5_sharedir}/icons/hicolor/*/apps/kate.* -%doc %{_kf5_mandir}/man1/kate.* -%dir %{_kf5_htmldir}/en -%dir %{_kf5_htmldir} -%doc %{_kf5_htmldir}/en/katepart/ -%doc %{_kf5_htmldir}/en/kate/ %dir %{_kf5_appstreamdir} +%dir %{_kf5_htmldir} +%dir %{_kf5_htmldir}/en +%doc %lang(en) %{_kf5_htmldir}/en/kate/ +%doc %lang(en) %{_kf5_htmldir}/en/katepart/ +%doc %{_kf5_mandir}/man1/kate.* +%{_kf5_applicationsdir}/org.kde.kate.desktop %{_kf5_appstreamdir}/org.kde.kate.appdata.xml +%{_kf5_bindir}/kate +%{_kf5_iconsdir}/hicolor/*/apps/kate.* %files -n kwrite %defattr(-,root,root) %doc COPYING* README* -%{_kf5_bindir}/kwrite -%{_kf5_sharedir}/icons/hicolor/*/apps/kwrite.* +%dir %{_kf5_htmldir} +%dir %{_kf5_htmldir}/en +%doc %lang(en) %{_kf5_htmldir}/en/kwrite/ %{_kf5_applicationsdir}/org.kde.kwrite.desktop %{_kf5_appstreamdir}/org.kde.kwrite.appdata.xml -%dir %{_kf5_htmldir}/en -%dir %{_kf5_htmldir} -%doc %{_kf5_htmldir}/en/kwrite/ +%{_kf5_bindir}/kwrite +%{_kf5_iconsdir}/hicolor/*/apps/kwrite.* %files plugins %defattr(-,root,root) @@ -143,10 +144,10 @@ plugins and data files for Kate and KWrite editors. %{_kf5_appstreamdir}/org.kde.plasma.katesessions.appdata.xml %endif %{_kf5_plugindir}/ +%{_kf5_servicesdir}/ %{_kf5_sharedir}/kateproject/ %{_kf5_sharedir}/katexmltools/ %{_kf5_sharedir}/plasma/ -%{_kf5_servicesdir}/ %if %{with lang} %files lang -f %{name}.lang