SHA256
1
0
forked from pool/kpat

KDE Release Gear 24.05.2

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kpat?expand=0&rev=201
This commit is contained in:
Christophe Marin 2024-07-04 20:42:42 +00:00 committed by Git OBS Bridge
commit 1cf05b2c7b
7 changed files with 1968 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
applications.keyring Normal file

Binary file not shown.

3
kpat-24.05.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e7b426eee0905bc91a8c35c36031e8a72ef96ff8b598e524b6b2e82ec5ea1b0
size 3715548

16
kpat-24.05.2.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDmqcACgkQu0YzUNbv
Me+JIg/9Hk6z3D/KX/+YLoy+P9UlvZo9PMbkKk5ZJs1sUGQ1Hl8oDxpjz0AkG3VQ
i4/N/qnXAWLX5ZCtoT86tXUYHitvXG3TiCl49f7SfC8sbQ1JHmF+wmTi3eKbrjC/
mw7dQ6/e8/O6d5GtIlsvOHPTe9dsUIgS3a/EiiWq8NTtrR7cHEMuzh97ZXMQiG61
QIeCHBaMP5BFg2gV6FkSfRqn9d0rJsN63VOmHwpLG4GmEyesUNRP6S+9FvruxvPX
4oFTvIMZCOHD/3foXwJ6KLH8vAijdGTCO3Nu5FVKYrRews92NOrYalZAa5h34Q+o
c99nz2qlLhEf/5RiX3WEZfKbnYrPvY6y3AgXRbh8SkVvi0Vskfjw0YsedjOf+hXl
A+55Oc113IHLuH8pR6VzMeU20xSCuIBIaajmy5FHe11qFcwjsqqRZAbwiLyfrT7T
4fDV4t8reDwClYLDz0TCCAFflidAqwulkFLDwUWJ7iEO3AcafI/DV+by+aAojD4+
OesnV5sMrFv0X5zwdXZb+Uq0BZxm8+XfITg3fLyztA91eHCbeKa7sHN9mmjYCWOH
Kgxh0QiFGvXDS7ZJmbiH8o2MGEHeXQcYiHBoodrtmOArCFkVYHahSmFkj+d3V4iH
kLhXg9pVo/PpRzd2fWx0yMOwksalbtuwzbX9THicgQNdCLGiF2s=
=1QkS
-----END PGP SIGNATURE-----

1817
kpat.changes Normal file

File diff suppressed because it is too large Load Diff

108
kpat.spec Normal file
View File

@ -0,0 +1,108 @@
#
# spec file for package kpat
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf6_version 6.0.0
%define qt6_version 6.6.0
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150400
%bcond_without bhsolver
%endif
%bcond_without released
Name: kpat
Version: 24.05.2
Release: 0
Summary: Patience card game
License: GPL-2.0-or-later
URL: https://apps.kde.org/kpat
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: freecell-solver-devel
%if %{with bhsolver}
BuildRequires: pkgconfig(libblack-hole-solver)
%endif
BuildRequires: cmake(KDEGames6)
BuildRequires: cmake(KF6Completion) >= %{kf6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
Requires: kdegames-carddecks-default
Obsoletes: kpat5 < %{version}
Provides: kpat5 = %{version}
%description
KPatience is a collection of various patience games known all over the
world. It includes Klondike, Freecell, Yukon, Forty and Eight and many
more. The game has nice graphics and many different carddecks.
%lang_package
%prep
%autosetup -p1
%build
%cmake_kf6 \
%if %{with bhsolver}
-DWITH_BH_SOLVER:BOOL=TRUE
%else
-DWITH_BH_SOLVER:BOOL=FALSE
%endif
%kf6_build
%install
%kf6_install
%find_lang %{name} --with-man --with-html --all-name
%files
%license COPYING COPYING.DOC
%doc %lang(en) %{_kf6_htmldir}/en/kpat/
%{_kf6_applicationsdir}/org.kde.kpat.desktop
%{_kf6_appstreamdir}/org.kde.kpat.appdata.xml
%{_kf6_bindir}/kpat
%{_kf6_configkcfgdir}/kpat.kcfg
%{_kf6_debugdir}/kpat.categories
%{_kf6_iconsdir}/hicolor/*/*/kpat.*
%{_kf6_knsrcfilesdir}/kcardtheme.knsrc
%{_kf6_knsrcfilesdir}/kpat.knsrc
%{_kf6_libdir}/libkcardgame.so
%{_kf6_mandir}/man6/kpat.6.gz
%{_kf6_sharedir}/kpat/
%{_kf6_sharedir}/mime/packages/kpatience.xml
%files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/kpat/
%changelog