From 3f6e046679dc3aecf29752d86bd0ba0f3c912fca06c651d689752c39f4c3770f Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 11 Aug 2017 22:59:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kturtle?expand=0&rev=58 --- kturtle.changes | 10 ++++++++++ kturtle.spec | 26 +++++++++++++------------- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/kturtle.changes b/kturtle.changes index 870b14c..93acf1d 100644 --- a/kturtle.changes +++ b/kturtle.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:13 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 : + * Fix warning + * Use Q_DECLARE_OVERRIDE + ------------------------------------------------------------------- Sat Aug 5 18:19:09 UTC 2017 - christophe@krop.fr diff --git a/kturtle.spec b/kturtle.spec index 83bdb31..4591be5 100644 --- a/kturtle.spec +++ b/kturtle.spec @@ -1,7 +1,7 @@ # # spec file for package kturtle # -# 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,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang Name: kturtle 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: Logo Programming Environment License: GPL-2.0+ @@ -42,7 +43,9 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -73,18 +76,15 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %files %defattr(-,root,root) %doc AUTHORS COPYING* README -%{_kf5_applicationsdir}/org.kde.kturtle.desktop -%{_kf5_bindir}/kturtle -%{_kf5_configdir}/kturtle.knsrc -%{_kf5_appstreamdir}/org.kde.kturtle.appdata.xml -%{_kf5_iconsdir}/hicolor/*/apps/kturtle.* -%{_kf5_configdir}/*.knsrc -%{_datadir}/kxmlgui5/kturtle/ -%dir %{_datadir}/katepart -%{_datadir}/katepart/syntax/ -%{_datadir}/kturtle -%doc %{_kf5_htmldir}/en/kturtle/ +%config %{_kf5_configdir}/*.knsrc +%config %{_kf5_configdir}/kturtle.knsrc %dir %{_kf5_appstreamdir} +%doc %lang(en) %{_kf5_htmldir}/en/kturtle/ +%{_kf5_applicationsdir}/org.kde.kturtle.desktop +%{_kf5_appstreamdir}/org.kde.kturtle.appdata.xml +%{_kf5_bindir}/kturtle +%{_kf5_iconsdir}/hicolor/*/apps/kturtle.* +%{_kf5_kxmlguidir}/kturtle/ %if %{with lang} %files lang -f %{name}.lang