diff --git a/kwordquiz.changes b/kwordquiz.changes index 4d9b71b..b6eff12 100644 --- a/kwordquiz.changes +++ b/kwordquiz.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:15 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 wayland support + * Use Q_DECLARE_OVERRIDE + * Port kde4_add_app_icon to ecm_add_app_icon + ------------------------------------------------------------------- Sat Aug 5 18:19:13 UTC 2017 - christophe@krop.fr diff --git a/kwordquiz.spec b/kwordquiz.spec index 7b753f7..d3e37d6 100644 --- a/kwordquiz.spec +++ b/kwordquiz.spec @@ -1,7 +1,7 @@ # # spec file for package kwordquiz # -# 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: kwordquiz 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: Vocabulary Trainer License: GPL-2.0+ @@ -50,7 +51,9 @@ BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -82,17 +85,17 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %defattr(-,root,root) %dir %{_kf5_appstreamdir} %doc AUTHORS COPYING* README +%config %{_kf5_configdir}/kwordquiz.knsrc %doc %lang(en) %{_kf5_htmldir}/en/kwordquiz/ %{_kf5_applicationsdir}/org.kde.kwordquiz.desktop %{_kf5_appsdir}/kwordquiz/ -%{_kf5_bindir}/kwordquiz %{_kf5_appstreamdir}/org.kde.kwordquiz.appdata.xml +%{_kf5_bindir}/kwordquiz +%{_kf5_configkcfgdir}/ %{_kf5_iconsdir}/hicolor/*/apps/kwordquiz.* %{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-kwordquiz.png -%{_kf5_configkcfgdir}/ -%{_datadir}/knotifications5/ -%{_datadir}/kxmlgui5/kwordquiz/ -%{_kf5_configdir}/kwordquiz.knsrc +%{_kf5_sharedir}/knotifications5/ +%{_kf5_kxmlguidir}/kwordquiz/ %if %{with lang} %files lang -f %{name}.lang