1
0

Accepting request 254002 from home:nemysis

- Use check for openSUSE > 12.2 for and use shadow else pwdutils

Are needed this shadow or pwdutils, when not to delete this, look rnd_jue and -data works without

- Initial package creation
- fdupes is ineffective, please look
  https://github.com/adrianlopezroche/fdupes/issues/5

OBS-URL: https://build.opensuse.org/request/show/254002
OBS-URL: https://build.opensuse.org/package/show/games/rocksndiamonds-data?expand=0&rev=1
This commit is contained in:
Matthias Mailänder
2014-10-07 18:56:12 +00:00
committed by Git OBS Bridge
commit 4c2b26b344
72 changed files with 409 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

3
42_Steps.zip Normal file
View File

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

3
Alans_Random_Levels.zip Normal file
View File

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

3
Alexanders_Levels.zip Normal file
View File

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

3
Arcade_Levels.zip Normal file
View File

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

3
BD2K3-1.0.0.zip Normal file
View File

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

3
Be_a_bug.zip Normal file
View File

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

View File

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

3
Bug_Hunter.zip Normal file
View File

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

3
Colourful_World.zip Normal file
View File

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

3
Contest_Levels.zip Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

3
Gavin_Davidson_2006.zip Normal file
View File

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

3
Glasses.zip Normal file
View File

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

3
Hard_Skills.zip Normal file
View File

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

3
Haspeton.zip Normal file
View File

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

3
Learning_Maths.zip Normal file
View File

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

3
Little_Games.zip Normal file
View File

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

3
Love_Pac.zip Normal file
View File

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

3
Magic_CEs.zip Normal file
View File

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

3
Maniac_Mines.zip Normal file
View File

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

3
Manuel.zip Normal file
View File

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

View File

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

3
Master-Rocks.zip Normal file
View File

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

3
Memory.zip Normal file
View File

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

3
Mini_Levels_Ryan.zip Normal file
View File

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

3
Missions.zip Normal file
View File

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

3
Mixed_Levels.zip Normal file
View File

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

3
Mixed_Levels_2.zip Normal file
View File

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

3
MultiRandomLevel.zip Normal file
View File

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

3
My_Levels_of_Fun.zip Normal file
View File

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

3
Negundo_Dash.zip Normal file
View File

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

3
Negundo_World_2.zip Normal file
View File

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

3
Negundo_World_3.zip Normal file
View File

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

3
P98_Level_Pack_1.zip Normal file
View File

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

3
Pacman.zip Normal file
View File

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

3
Pipemania.zip Normal file
View File

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

3
Puzzles_v1.8.zip Normal file
View File

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

3
Random_Games.zip Normal file
View File

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

3
Rockfighter.zip Normal file
View File

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

3
Rocks_n_Diamonds_Fun.zip Normal file
View File

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

3
Ryans_Random_Levels.zip Normal file
View File

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

3
Slippery_Ground.zip Normal file
View File

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

3
Snake_Bite-1.0.0.zip Normal file
View File

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

3
Sokoban-1.0.0.zip Normal file
View File

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

3
Space_Invaders.zip Normal file
View File

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

3
Space_Invaders_2.zip Normal file
View File

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

3
Springlis_Levels.zip Normal file
View File

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

3
Stinky.zip Normal file
View File

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

3
Super_BD-Rock.zip Normal file
View File

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

3
Super_Comic_Levels.zip Normal file
View File

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

View File

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

3
Through_the_Ages.zip Normal file
View File

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

3
Time_Gate_Rush.zip Normal file
View File

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

3
Trucky_Cargos_v0.1.zip Normal file
View File

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

3
Tutorial_Alpha.zip Normal file
View File

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

3
Venatir.zip Normal file
View File

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

3
Veysi_Orak_2006.zip Normal file
View File

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

3
Walpurgis_Collection.zip Normal file
View File

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

3
Warparound_Murphy.zip Normal file
View File

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

3
Zelda-1.0.0.zip Normal file
View File

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

3
ZeldaII-1.0.0.zip Normal file
View File

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

3
rnd_jue.tar.gz Normal file
View File

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

3
rnd_the_h_world.zip Normal file
View File

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

View File

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

View File

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

View File

@@ -0,0 +1,11 @@
-------------------------------------------------------------------
Sun Oct 5 12:00:43 UTC 2014 - nemysis@gmx.ch
- Use check for openSUSE > 12.2 for and use shadow else pwdutils
-------------------------------------------------------------------
Sun Oct 5 09:13:36 UTC 2014 - nemysis@gmx.ch
- Initial package creation
- fdupes is ineffective, please look
https://github.com/adrianlopezroche/fdupes/issues/5

170
rocksndiamonds-data.spec Normal file
View File

@@ -0,0 +1,170 @@
#
# spec file for package rocksndiamonds-data
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define oname rocksndiamonds
Name: %{oname}-data
Version: 20141005
Release: 0
Summary: Data files for Rocks'n'Diamonds
License: GPL-2.0+
Group: Amusements/Games/Action/Arcade
Url: http://www.artsoft.org/rocksndiamonds/
Source0: http://www.artsoft.org/RELEASES/%{oname}/levels/ZeldaII-1.0.0.zip
Source1: http://www.artsoft.org/RELEASES/%{oname}/levels/Zelda-1.0.0.zip
Source2: http://www.artsoft.org/RELEASES/%{oname}/levels/Emerald_Mine_Club-2.1.1.7z
Source3: http://www.artsoft.org/RELEASES/%{oname}/levels/Sokoban-1.0.0.zip
# Use supplied tarbal, fixed with fdupes -l sym -r -m .
# and packed than rockslevels, repacked as tar.bz2
Source4: Contributions-1.2.0.tar.bz2
Source5: http://www.artsoft.org/RELEASES/%{oname}/levels/Snake_Bite-1.0.0.zip
Source6: http://www.artsoft.org/RELEASES/%{oname}/levels/BD2K3-1.0.0.zip
Source7: http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip
Source8: http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz
Source9: http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz
# Downloaded from http://www.jb-line.de/rnd/rnd_jue-3.3.0.0.tar.gz
# Deleted directory rnd_jue/jue_sobigo and other which are not level
# and packed than rockslevels, repacked as tar.gz
Source10: rnd_jue.tar.gz
# These levels are once downloaded from disappeared site
# https://web.archive.org/web/20140110211740/http://www.bd-fans.com/RnD.html
# not all levels works which are on this site
Source11: 42_Steps.zip
Source12: Alans_Random_Levels.zip
Source13: Alexanders_Levels.zip
Source14: Arcade_Levels.zip
Source15: Be_a_bug.zip
Source16: Bug_Hunter.zip
Source17: Colourful_World.zip
Source18: Contest_Levels.zip
Source19: Danilo_Parantar_Serrano.zip
Source20: Danilo_Parantar_Serrano_2.zip
Source21: Gavin_Davidson_2006.zip
Source22: Glasses.zip
Source23: Hard_Skills.zip
Source24: Haspeton.zip
Source25: Learning_Maths.zip
Source26: Little_Games.zip
Source27: Love_Pac.zip
Source28: Magic_CEs.zip
Source29: Maniac_Mines.zip
Source30: Manuel.zip
Source31: Manuels_Sokoban_Levels.zip
Source32: Master-Rocks.zip
Source33: Memory.zip
Source34: Mini_Levels_Ryan.zip
Source35: Missions.zip
Source36: Mixed_Levels.zip
Source37: Mixed_Levels_2.zip
Source38: MultiRandomLevel.zip
Source39: My_Levels_of_Fun.zip
Source40: Negundo_Dash.zip
Source41: Negundo_World_2.zip
Source42: Negundo_World_3.zip
Source43: P98_Level_Pack_1.zip
Source44: Pacman.zip
Source45: Pipemania.zip
Source46: Puzzles_v1.8.zip
Source47: Random_Games.zip
Source48: Rockfighter.zip
Source49: Rocks_n_Diamonds_Fun.zip
Source50: Ryans_Random_Levels.zip
Source51: Slippery_Ground.zip
Source52: Space_Invaders.zip
Source53: Space_Invaders_2.zip
Source54: Springlis_Levels.zip
Source55: Stinky.zip
Source56: Super_BD-Rock.zip
Source57: Super_Comic_Levels.zip
Source58: Super_Jetset_Willy_Bros_3.zip
Source59: rnd_the_h_world.zip
Source60: Through_the_Ages.zip
Source61: Time_Gate_Rush.zip
Source62: Trucky_Cargos_v0.1.zip
Source63: Venatir.zip
Source64: Veysi_Orak_2006.zip
Source65: Walpurgis_Collection.zip
Source66: Warparound_Murphy.zip
# Repacked that is same than other rnd_tutorial_*
Source67: Tutorial_Alpha.zip
BuildRequires: p7zip
BuildRequires: unzip
BuildRequires: fdupes
Requires: %{oname}
BuildArch: noarch
%if 0%{?suse_version} > 1220
PreReq: shadow permissions
%else
PreReq: pwdutils permissions
%endif
%description
This is a nice little game with color graphics and sound for your Unix system
with color X11. You need an 8-Bit color display or better. It will not work
on black&white systems, and maybe not on gray scale systems.
If you know the game Boulder Dash (Commodore C64) or Emerald Mine (Amiga),
you know what Rocks'n'Diamonds is about.
Data files (levels, tapes, graphics, music, sound) for Rocks'n'Diamonds.
%prep
%build
%install
mkdir -p %{buildroot}%{_datadir}/%{oname}/levels
tar -xjf %{S:4} -C %{buildroot}%{_datadir}/%{oname}
for l in %{S:8} %{S:9} %{S:10} ; do
tar xfvz $l -C %{buildroot}%{_datadir}/%{oname}
done
for l in %{S:0} %{S:1} %{S:3} %{S:5} %{S:6} %{S:7} \
%{S:11} %{S:12} %{S:13} %{S:14} %{S:15} %{S:16} %{S:17} %{S:18} %{S:19} \
%{S:20} %{S:21} %{S:22} %{S:23} %{S:24} %{S:25} %{S:26} %{S:27} %{S:28} %{S:29} \
%{S:30} %{S:31} %{S:32} %{S:33} %{S:34} %{S:35} %{S:36} %{S:37} %{S:38} %{S:39} \
%{S:40} %{S:41} %{S:42} %{S:43} %{S:44} %{S:45} %{S:46} %{S:47} %{S:48} %{S:49} \
%{S:50} %{S:51} %{S:52} %{S:53} %{S:54} %{S:55} %{S:56} %{S:57} %{S:58} %{S:59} \
%{S:60} %{S:61} %{S:62} %{S:63} %{S:64} %{S:65} %{S:66} ; do
unzip $l -d %{buildroot}%{_datadir}/%{oname}/levels -x Readme.txt
done
unzip %{S:67} -d %{buildroot}%{_datadir}/%{oname}/levels/Tutorials
7z x %{S:2} -o%{buildroot}%{_datadir}/%{oname}/levels
# Remove not needed files
find %{buildroot}%{_datadir}/%{oname}/levels -name '*.broken' -delete \
-or -name '*.orig' -delete -or -name '*.old' -delete \
-or -name '*.Thumbs.db' -delete -or -name '*.*~' -delete \
-or -name '*.bak' -delete -or -name '*.swp' -delete
# Remove duplicate level, same than BD2K3, but not complete
rm -fr %{buildroot}%{_datadir}/%{oname}/levels/Contributions/Contributions_2004/rnd_rado_negundo_iii
%fdupes -s %{buildroot}%{_prefix}
%post
# Correct Permissions
chmod 0664 -R %{_datadir}/%{oname}/levels/Contributions
%files
%defattr(-,root,root,-)
%{_datadir}/%{oname}
%changelog