diff --git a/kpat.changes b/kpat.changes index 535019f..457073b 100644 --- a/kpat.changes +++ b/kpat.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 11 22:45:55 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 : + * Add braces around commented out if-code + * USe Q_DECL_OVERRIDE + ------------------------------------------------------------------- Sat Aug 5 18:18:32 UTC 2017 - christophe@krop.fr diff --git a/kpat.spec b/kpat.spec index 9a99ea6..aa838b5 100644 --- a/kpat.spec +++ b/kpat.spec @@ -1,7 +1,7 @@ # # spec file for package kpat # -# 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: kpat 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: Patience card game License: GPL-2.0+ @@ -61,7 +62,9 @@ Requires(post): shared-mime-info Requires(postun): shared-mime-info Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -97,26 +100,27 @@ more. The game has nice graphics and many different carddecks. %files %defattr(-,root,root) %doc COPYING COPYING.DOC -%{_kf5_bindir}/kpat -%{_kf5_htmldir}/en/kpat/ -%{_kf5_applicationsdir}/org.kde.kpat.desktop +%config %{_kf5_configdir}/kcardtheme.knsrc +%config %{_kf5_configdir}/kpat.knsrc +%dir %{_kf5_configkcfgdir} %dir %{_kf5_iconsdir}/hicolor/24x24 %dir %{_kf5_iconsdir}/hicolor/24x24/apps %dir %{_kf5_iconsdir}/hicolor/256x256 %dir %{_kf5_iconsdir}/hicolor/256x256/apps %dir %{_kf5_iconsdir}/hicolor/64x64 %dir %{_kf5_iconsdir}/hicolor/64x64/apps -%{_kf5_iconsdir}/hicolor/*/apps/kpat.* +%dir %{_kf5_mandir}/man6 +%doc %lang(en) %{_kf5_htmldir}/en/kpat/ +%doc %{_kf5_mandir}/man6/kpat.6.gz +%{_kf5_applicationsdir}/org.kde.kpat.desktop %{_kf5_appsdir}/kpat/ -%{_kf5_libdir}/libkcardgame.so -%dir %{_kf5_configkcfgdir} +%{_kf5_bindir}/kpat %{_kf5_configkcfgdir}/kpat.kcfg -%{_kf5_configdir}/kcardtheme.knsrc -%{_kf5_configdir}/kpat.knsrc -%{_datadir}/mime/packages/kpatience.xml -%{_kf5_kxmlguidir}/kpat/ %{_kf5_iconsdir}/hicolor/*/*/kpat.* -%{_kf5_mandir}/man6/kpat.6.gz +%{_kf5_iconsdir}/hicolor/*/apps/kpat.* +%{_kf5_kxmlguidir}/kpat/ +%{_kf5_libdir}/libkcardgame.so +%{_kf5_sharedir}/mime/packages/kpatience.xml %if %{with lang} %files lang -f %{name}.lang