From 23d3c3eae7bbe0b3a4ac23eb0ea181c39b587deddb902f746a2571e62d6af74e Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 11 Aug 2017 22:57:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/knavalbattle?expand=0&rev=57 --- knavalbattle.changes | 11 +++++++++++ knavalbattle.spec | 11 +++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/knavalbattle.changes b/knavalbattle.changes index 7ce44c7..fefe7fc 100644 --- a/knavalbattle.changes +++ b/knavalbattle.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 11 22:45:47 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 Q_DECLARE_OVERRIDE + * Add appdata file for Naval Battle in kf5 based master + * Porting error: handle the positional argument as such + ------------------------------------------------------------------- Sat Aug 5 18:18:18 UTC 2017 - christophe@krop.fr diff --git a/knavalbattle.spec b/knavalbattle.spec index 7620d2b..22f07d5 100644 --- a/knavalbattle.spec +++ b/knavalbattle.spec @@ -1,7 +1,7 @@ # # spec file for package knavalbattle # -# 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: knavalbattle 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: Battleship game License: GPL-2.0+ @@ -56,7 +57,9 @@ BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) Provides: knavalbattle5 = %{version} Obsoletes: knavalbattle5 < %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -90,15 +93,15 @@ played with friends online via the internet. %defattr(-,root,root) %doc COPYING COPYING.DOC %dir %{_kf5_appsdir}/kconf_update +%doc %lang(en) %{_kf5_htmldir}/en/knavalbattle/ %{_kf5_applicationsdir}/org.kde.knavalbattle.desktop %{_kf5_appsdir}/kconf_update/knavalbattle.upd %{_kf5_appsdir}/knavalbattle/ %{_kf5_appstreamdir}/org.kde.knavalbattle.appdata.xml %{_kf5_bindir}/knavalbattle -%{_kf5_htmldir}/en/knavalbattle/ %{_kf5_iconsdir}/hicolor/*/apps/knavalbattle.* -%{_kf5_servicesdir}/knavalbattle.protocol %{_kf5_kxmlguidir}/knavalbattle/ +%{_kf5_servicesdir}/knavalbattle.protocol %if %{with lang} %files lang -f %{name}.lang