diff --git a/lskat-17.04.3.tar.xz b/lskat-17.04.3.tar.xz deleted file mode 100644 index aa7f11a..0000000 --- a/lskat-17.04.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1883df402801570eaede66eb61730f486ab95ddbee572d27c8116015ca72f9af -size 927004 diff --git a/lskat-17.08.0.tar.xz b/lskat-17.08.0.tar.xz new file mode 100644 index 0000000..2d0bccf --- /dev/null +++ b/lskat-17.08.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cad8412463cece649a465ad420cd49473719b2cabb4e12ab65acbb49a5f38b77 +size 1215848 diff --git a/lskat.changes b/lskat.changes index 8bb629d..b2c9438 100644 --- a/lskat.changes +++ b/lskat.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:25 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 : +- Too many changes to list here + +------------------------------------------------------------------- +Sat Aug 5 18:19:31 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.07.90 + * KDE Applications 17.07.90 + * https://www.kde.org/announcements/announce-applications-17.07.90.php + + ------------------------------------------------------------------- Mon Jul 17 07:13:07 CEST 2017 - lbeltrame@kde.org diff --git a/lskat.spec b/lskat.spec index 9b0ff99..7a3ab5b 100644 --- a/lskat.spec +++ b/lskat.spec @@ -1,7 +1,7 @@ # # spec file for package lskat # -# Copyright (c) 2015 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 @@ -16,19 +16,45 @@ # +%bcond_without lang + Name: lskat -BuildRequires: libkdegames4-devel -BuildRequires: xz +Version: 17.08.0 +Release: 0 +%define kf5_version 5.26.0 +# 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: German Skat game License: GPL-2.0+ Group: Amusements/Games/Board/Card Url: http://www.kde.org -Version: 17.04.3 -Release: 0 Source0: lskat-%{version}.tar.xz +BuildRequires: extra-cmake-modules +BuildRequires: kconfig-devel +BuildRequires: kconfigwidgets-devel +BuildRequires: kcoreaddons-devel +BuildRequires: kcrash-devel +BuildRequires: kdbusaddons-devel +BuildRequires: kdoctools-devel +BuildRequires: kguiaddons-devel +BuildRequires: ki18n-devel +BuildRequires: kwidgetsaddons-devel +BuildRequires: kxmlgui-devel +BuildRequires: libkdegames-devel +BuildRequires: phonon4qt5-devel +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(Qt5QuickWidgets) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Test) +BuildRequires: pkgconfig(Qt5Widgets) +Requires: kdegames-carddecks-default +Obsoletes: lskat5 < %{version} +Provides: lskat5 = %{version} +%if %{with lang} +Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: kdegames4-carddecks-default -%kde4_runtime_requires %description Lieutenant Skat is a nice two player card game which follows the rules @@ -36,30 +62,39 @@ for the German game (Offiziers)-Skat. The program includes many different carddecks to choose. A computer opponent can play for any of the players. +%if %{with lang} +%lang_package +%endif %prep -%setup -q -n lskat-%{version} +%setup -q %build - %cmake_kde4 -d build + %cmake_kf5 -d build %make_jobs %install - cd build - %makeinstall - %suse_update_desktop_file -r lskat Game CardGame - %kde_post_install - -%clean - rm -rf $RPM_BUILD_ROOT + %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif + %suse_update_desktop_file -r org.kde.lskat Game CardGame %files %defattr(-,root,root) -%doc COPYING COPYING.DOC -%{_kde4_bindir}/lskat -%{_kde4_htmldir}/en/lskat/ -%{_kde4_applicationsdir}/lskat.desktop -%{_kde4_iconsdir}/hicolor/*/apps/lskat.* -%{_kde4_appsdir}/lskat/ +%doc COPYING* README +%doc %lang(en) %{_kf5_htmldir}/en/lskat/ +%{_kf5_applicationsdir}/org.kde.lskat.desktop +%{_kf5_appsdir}/lskat/ +%{_kf5_appstreamdir}/org.kde.lskat.appdata.xml +%{_kf5_bindir}/lskat +%{_kf5_iconsdir}/hicolor/*/apps/lskat.* +%{_kf5_kxmlguidir}/lskat/ + +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif %changelog