From b9f289dd35a9421954cff19504ff675aee9579ee1328a3e3b486f76088087d39 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Tue, 2 Apr 2024 08:57:59 +0000 Subject: [PATCH] Add skladnik OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/skladnik?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + skladnik-0.5.2.tar.xz | 3 ++ skladnik-0.5.2.tar.xz.sig | 16 +++++++ skladnik.changes | 12 ++++++ skladnik.keyring | Bin 0 -> 2279 bytes skladnik.spec | 86 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 141 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 skladnik-0.5.2.tar.xz create mode 100644 skladnik-0.5.2.tar.xz.sig create mode 100644 skladnik.changes create mode 100644 skladnik.keyring create mode 100644 skladnik.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/skladnik-0.5.2.tar.xz b/skladnik-0.5.2.tar.xz new file mode 100644 index 0000000..cf1067e --- /dev/null +++ b/skladnik-0.5.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9091b63ce516e4361ef88745869cb698078623eaae1e16097f4c5124d44adb88 +size 404704 diff --git a/skladnik-0.5.2.tar.xz.sig b/skladnik-0.5.2.tar.xz.sig new file mode 100644 index 0000000..c40edf4 --- /dev/null +++ b/skladnik-0.5.2.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE5uvW6wUY/lvMpfanaqzdJjws79QFAmXgibIACgkQaqzdJjws +79SepA//RajCuDnG5TUomyMPlXcakQyGVj+A2GqusvFECpHnDYwRP3eV8vq9Jks8 +KPgd+vzyVSxd/RMyc3qLsPM+IbsuT2kynuWTWMgpIFpF2fanDl6zsdl95FsDYgK8 +P8ZzTviLleHC66NAhBxETnmIpfpBTxQ5lCUJPaUVfe6kYWD5bos7jrZUTqEnT+rV +DIKbx0Ey/nvflMY3WuF/fSlhSIEa2LddCUFVuT/6SdsXRxlJKCRqB9/B31R3zxHo +UGVsXkEJ+SzUuYGu62hzpFI4sCUIdwXV7GN+foHFUneVMed2WmHf3N0+hbWdUUSN +djJs8cPQDtbTPAMjcGf75eWNiKJv9WcemzzW2rpxtsfXwNDPBFVkrNDMC4G1np/f +jJjSZRBa/8T9HX9n1nf3k3BcbKPWrB43TCfTN9a2oNDnaR7fVeZ/glK0CJVkXsE/ +BMjJaxG038mKC+HytcEfJlRfAg/tcqCCcNZf/fggqlbql3ZfjdX5A/o3KKH7tJuq +JQSocns2KzAHiFDA47FYhSxkVU88DK/IKhYA/b7wxI8qjOiz3OLAgUhNORwszfxw +2SYmFweZGT+MLU2AjJdjJsNHd6M06w03YX5PKJgNOJVlJTVMCIu0cOQWMjjuPglM +u9SoZtkyOl7gsZBnj8LluBzZeb3kz+rvHfxuSxc3MxZLPr9KUHA= +=mVtp +-----END PGP SIGNATURE----- diff --git a/skladnik.changes b/skladnik.changes new file mode 100644 index 0000000..44c2c64 --- /dev/null +++ b/skladnik.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Tue Apr 2 08:55:01 UTC 2024 - Christophe Marin + +- Update to 0.5.2 + * Changed: Qt6/KF6-only now + * Changed: register app at user session D-Bus (new dep: KF6DBusAddons) + * Changed: use KCrash (new dep: KF6Crash) + +------------------------------------------------------------------- +Tue Nov 14 18:57:17 UTC 2023 - Christophe Marin + +- Init skladnik diff --git a/skladnik.keyring b/skladnik.keyring new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..61a58d849b0c393abe70f76310077577e3aa161ed8d0a098e40d7dda6f726ce3 GIT binary patch literal 2279 zcmajfc{~%01IO_hbDza*OEEceZ0nF*lM+JiYjQJlMrN$!mRpe{w2+*+S>{~st28n{ zsy$M%T!o?KDc18lU$5uC-+$kKKL34R?_!_`kJsi8CYLy1l;9Ly&H22NE7q+Do|f%{ z#87sc*0a@6A6q+a6~rumfq z9}9K#)zMP`gz@ul`2}WH6gwt&q&wi1K{ZaYSVm)T8pc!F+1=H|#M z>bFT~T=i=O5tGA`DwhcA;n>9%G*+&Ian|qa*zJ#fCDZAex3m!D+oF^|z=Uc_IQ{(c zyH8;~;RVFym5t)qE!>ED+wfV+Q zyx3s3UpQM&V#B6zS1Mz!Yf97vV+t(P-nyL#=#W#u+jnhNmH5|Xv$kpUYK<^|E=cRK zK8J`lQ63c9w6D2BX{^E8!-LfBXzC=7LgC0#ICv-YI+6vi{33c-Q&k^J6(IT(+PdsM zF5VlFlu2O-+oull=}VF_+ERj_&v1xaJYWYPdpnkNl2)rt!@m@>^@EXj`D1M z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%V%Qil^W5*J-|1NARj)hLpZl-wB|$AbzKQzItaPI(e*xQpPoMw* literal 0 HcmV?d00001 diff --git a/skladnik.spec b/skladnik.spec new file mode 100644 index 0000000..81d114e --- /dev/null +++ b/skladnik.spec @@ -0,0 +1,86 @@ +# +# spec file for package skladnik +# +# 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.5.0 + +%bcond_without released +Name: skladnik +Version: 0.5.2 +Release: 0 +Summary: Sokoban-like game +License: GPL-2.0-or-later +URL: https://apps.kde.org/skladnik +Source: https://download.kde.org/stable/skladnik/%{version}/src/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/skladnik/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: skladnik.keyring +%endif +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: povray +BuildRequires: cmake(KDEGames6) >= 6.0 +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(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6KIO) >= %{kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version} +BuildRequires: cmake(KF6XmlGui) >= %{kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} + +%description +Skladnik is an implementation of the Japanese warehouse keeper game “sokoban”. + +The idea is that you are a warehouse keeper trying to push crates to their proper +locations in a warehouse. The problem is that you cannot pull the crates or step +over them. If you are not careful, some of the crates can get stuck in wrong +places and/or block your way. + +%lang_package + +%prep +%autosetup -p1 + +%build +%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE + +%kf6_build + +%install +%kf6_install + +%find_lang %{name} --with-man --with-html --all-name + +%files +%license LICENSES/* +%doc %lang(en) %{_kf6_htmldir}/en/skladnik/ +%{_kf6_applicationsdir}/org.kde.skladnik.desktop +%{_kf6_appstreamdir}/org.kde.skladnik.metainfo.xml +%{_kf6_bindir}/skladnik +%{_kf6_iconsdir}/hicolor/*/apps/skladnik.* +%{_kf6_sharedir}/skladnik/ + +%files lang -f %{name}.lang +%exclude %{_kf6_htmldir}/en/skladnik/ + +%changelog