From b7a32d441dd81444c9a5f4a5756b4c0be6096602b9f1ca64da5d66cdef482ee2 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 11 Aug 2017 22:56:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kiriki?expand=0&rev=59 --- kiriki.changes | 10 ++++++++++ kiriki.spec | 23 +++++++++++++---------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/kiriki.changes b/kiriki.changes index d03f236..1fa3270 100644 --- a/kiriki.changes +++ b/kiriki.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 11 22:45:36 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 : + * Use override + * Use Q_DECLARE_OVERRIDE + ------------------------------------------------------------------- Sat Aug 5 18:17:57 UTC 2017 - christophe@krop.fr diff --git a/kiriki.spec b/kiriki.spec index f82495c..550f3fd 100644 --- a/kiriki.spec +++ b/kiriki.spec @@ -1,7 +1,7 @@ # # spec file for package kiriki # -# 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: kiriki 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: Yahtzee-like Game License: GPL-2.0+ @@ -60,7 +61,9 @@ BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) Obsoletes: kiriki5 < %{version} Provides: kiriki5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -88,15 +91,15 @@ to get higher scores in several combinations %files %defattr(-,root,root) -%doc COPYING COPYING.DOC -%{_kf5_bindir}/kiriki -%{_kf5_htmldir}/en/kiriki/ -%{_kf5_applicationsdir}/org.kde.kiriki.desktop -%{_kf5_iconsdir}/hicolor/*/apps/kiriki.* -%{_kf5_appsdir}/kiriki/ -%{_datadir}/kxmlgui5/kiriki/ -%{_kf5_appstreamdir}/org.kde.kiriki.appdata.xml +%doc COPYING* %dir %{_kf5_appstreamdir} +%doc %lang(en) %{_kf5_htmldir}/en/kiriki/ +%{_kf5_applicationsdir}/org.kde.kiriki.desktop +%{_kf5_appsdir}/kiriki/ +%{_kf5_appstreamdir}/org.kde.kiriki.appdata.xml +%{_kf5_bindir}/kiriki +%{_kf5_iconsdir}/hicolor/*/apps/kiriki.* +%{_kf5_kxmlguidir}/kiriki/ %if %{with lang} %files lang -f %{name}.lang