public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/tworld] rawhide: Add CCLP4 and CCLP5 (rhbz#2485409)
Date: Fri, 31 Jul 2026 09:15:10 GMT	[thread overview]
Message-ID: <178548931011.1.13453456337035913064.rpms-tworld-15e2d81fdf75@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/tworld
Branch : rawhide
Commit : 15e2d81fdf75b402d2f6849e3205d822d43e10fd
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-07-31T11:00:00+02:00
Stats  : +42/-21 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/tworld/c/15e2d81fdf75b402d2f6849e3205d822d43e10fd?branch=rawhide

Log:
Add CCLP4 and CCLP5 (rhbz#2485409)

---
diff --git a/.gitignore b/.gitignore
index 290be64..7702365 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tworld-1.3.2-CCLPs.tar.gz
+/CCLP[0-9].zip

diff --git a/sources b/sources
index c983cf4..51c8523 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
 SHA512 (tworld-1.3.2-CCLPs.tar.gz) = 395b1ddbe9df568243d2e8b78704732dbbe931a5b2ea2af63ebc4e93394c5715e58891a3e1f536f785062cb44ba4540538544b3ed10910d9f30843452a26b803
+SHA512 (CCLP4.zip) = 30c5af1cfaed4d8453e0a84f7b6aacc0754f6e754d61c8e3fa92ad019635784912f363c828ef6eb496c75b8bd06d27b37aa364cb06b7a1a9cd29c9988500e6af
+SHA512 (CCLP5.zip) = 1a52f84e938d19af640184e5f0bda3ebc4eae82d78337c78519949e9bb229be52e140575933c64c247db60915797abeb34b4491b4dc43d6fccd5b081c6d3991f

diff --git a/tworld.spec b/tworld.spec
index 9b719ff..6f984a9 100644
--- a/tworld.spec
+++ b/tworld.spec
@@ -2,18 +2,20 @@ Name:	 tworld
 %global fullname Tile World
 
 Version: 1.3.2
-Release: 27%{?dist}
+Release: 28%{?dist}
 Summary: Intellectually engaging puzzle game
 
 License: GPL-2.0-or-later
 URL:     http://www.muppetlabs.com/~breadbox/software/tworld/
-Source0: http://www.muppetlabs.com/~breadbox/pub/software/tworld/tworld-%{version}-CCLPs.tar.gz	
+Source0: http://www.muppetlabs.com/~breadbox/pub/software/tworld/tworld-%{version}-CCLPs.tar.gz
+Source4: https://bitbusters.club/cclp4/CCLP4.zip
+Source5: https://bitbusters.club/downloads/CCLP5.zip
 
-Source1: tworld-icon-16px.png
-Source2: tworld-icon-32px.png
-Source3: tworld-icon-48px.png
-Source4: tworld.desktop
-Source5: tworld.appdata.xml
+Source11: tworld-icon-16px.png
+Source12: tworld-icon-32px.png
+Source13: tworld-icon-48px.png
+Source14: tworld.desktop
+Source15: tworld.appdata.xml
 
 BuildRequires: desktop-file-utils
 BuildRequires: gcc
@@ -54,18 +56,21 @@ License: LicenseRef-CCLP1 AND LicenseRef-CCLP2
 
 Requires: %{name}-data = %{version}-%{release}
 
-
 %description cclp
 Community-created level packs for %{fullname}.
 
 
 %prep
 %setup -q
-cp -p %{SOURCE1} .
-cp -p %{SOURCE2} .
-cp -p %{SOURCE3} .
-cp -p %{SOURCE4} .
-cp -p %{SOURCE5} .
+
+unzip %{SOURCE4}
+mkdir CCLP5 && pushd CCLP5 && unzip %{SOURCE5} && popd
+
+cp -p %{SOURCE11} .
+cp -p %{SOURCE12} .
+cp -p %{SOURCE13} .
+cp -p %{SOURCE14} .
+cp -p %{SOURCE15} .
 
 
 %build
@@ -76,6 +81,24 @@ make %{?_smp_mflags} prefix=%{_prefix}
 %install
 make install prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} mandir=%{buildroot}%{_mandir}
 
+cp -a CCLPs %{buildroot}%{_datadir}/%{name}/
+cat > %{buildroot}%{_datadir}/%{name}/sets/CCLP2-MS.dac <<EOF
+file=CCLP2.dat
+lastlevel=149
+ruleset=ms
+EOF
+
+for EXTRA in 4 5; do
+  pushd "CCLP${EXTRA}"
+  cp -a "./data/CCLP${EXTRA}.dat" -t %{buildroot}%{_datadir}/%{name}/data
+  cp -a "./sets/CCLP${EXTRA}-Lynx.dac" -t %{buildroot}%{_datadir}/%{name}/sets
+  cp -a "./sets/CCLP${EXTRA}-MS.dac"   -t %{buildroot}%{_datadir}/%{name}/sets
+
+  cp -a "./CCLP${EXTRA}.html" -t %{buildroot}%{_datadir}/%{name}/CCLPs
+  cp -a "./cclp${EXTRA}res"   -t %{buildroot}%{_datadir}/%{name}/CCLPs
+  popd
+done
+
 install -m 755 -d %{buildroot}%{_datadir}/applications/
 desktop-file-install  --dir=%{buildroot}%{_datadir}/applications/  %{name}.desktop
 
@@ -91,14 +114,6 @@ for SIZE in 16 32 48; do
 done
 
 
-cp -a CCLPs %{buildroot}%{_datadir}/%{name}/
-cat > %{buildroot}%{_datadir}/%{name}/sets/CCLP2-MS.dac <<EOF
-file=CCLP2.dat
-lastlevel=149
-ruleset=ms
-EOF
-
-
 %files
 %doc README BUGS docs/tworld.html
 %license COPYING
@@ -128,6 +143,9 @@ EOF
 
 
 %changelog
+* Fri Jul 31 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.3.2-28
+- Add CCLP4 and CCLP5 (rhbz#2485409)
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-27
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-07-31  9:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178548931011.1.13453456337035913064.rpms-tworld-15e2d81fdf75@fedoraproject.org \
    --to=fedora@svgames.pl \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox