diff --git a/ballbuster-1.0-html-path-fix.patch b/ballbuster-1.0-html-path-fix.patch
new file mode 100644
index 0000000..3559aa5
--- /dev/null
+++ b/ballbuster-1.0-html-path-fix.patch
@@ -0,0 +1,183 @@
+diff -up ballbuster-1.0/html/powerups.html~ ballbuster-1.0/html/powerups.html
+--- ballbuster-1.0/html/powerups.html~ 2017-01-23 15:43:31.725729405 +0100
++++ ballbuster-1.0/html/powerups.html 2017-01-23 15:43:31.724729399 +0100
+@@ -21,7 +21,7 @@
+ Bonus/Penalty
+
+
+-
++ |
+ 100 points |
+ A little score booster |
+ 100 |
+@@ -30,7 +30,7 @@
+ |
+
+
+-
++ |
+ 250 points |
+ Increase your score! Rack those points up baby, yeah! |
+ 250 |
+@@ -39,7 +39,7 @@
+ |
+
+
+-
++ |
+ 500 points |
+ Woah, that's like breaking 50 blocks! |
+ 500 |
+@@ -48,7 +48,7 @@
+ |
+
+
+-
++ |
+ 1000 points |
+ A whopping 1000 points! Hot mama! |
+ 1000 |
+@@ -57,7 +57,7 @@
+ |
+
+
+-
++ |
+ 1 Up |
+ Grabbing this icon will increase your extra lives by one. |
+ 50 |
+@@ -66,7 +66,7 @@
+ |
+
+
+-
++ |
+ Super Blaster |
+ Grabbing this icon will give your paddle the ability to shoot balls! Click away
+ on your mouse until all of the blocks are destroyed! |
+@@ -78,7 +78,7 @@
+ |
+
+
+-
++ |
+ Fireball |
+ Grabbing this icon will set your balls on fire! Balls that are on fire will
+ effortlessly destroy all blocks in their path, with the exception of steel and
+@@ -90,7 +90,7 @@
+ | |
+
+
+-
++ |
+ Multi Ball |
+ Grabbing this icon will give you balls.... four in fact. |
+ 50 |
+@@ -101,7 +101,7 @@
+ |
+
+
+-
++ |
+ Large Paddle |
+ Grabbing this icon will increase the size of your paddle. |
+ 50 |
+@@ -113,7 +113,7 @@
+ |
+
+
+-
++ |
+ Regular Paddle |
+ Grabbing this icon will return your paddle to it's original size. |
+ 50 |
+@@ -122,7 +122,7 @@
+ |
+
+
+-
++ |
+ Small Paddle |
+ Grabbing this icon will decrease the size of your paddle. |
+ 50 |
+@@ -135,7 +135,7 @@
+ |
+
+
+-
++ |
+ Reset |
+ Grabbing this icon will undo any power ups you've acquired. |
+ 50
+@@ -146,7 +146,7 @@
+ | |
+
+
+-
++ |
+ Slow Ball |
+ Grabbing this icon will cause your ball to move slowly. |
+ 50 |
+@@ -158,7 +158,7 @@
+ |
+
+
+-
++ |
+ Speed Limit |
+ Grabbing this icon will return your ball to it's original speed. |
+ 50 |
+@@ -167,7 +167,7 @@
+ |
+
+
+-
++ |
+ Fast Ball |
+ Grabbing this icon will increase the speed of your ball. |
+ 50 |
+@@ -180,7 +180,7 @@
+ |
+
+
+-
++ |
+ Magnet |
+ Grabbing this icon will allow balls to stick to your paddle. Click to shoot
+ them off or wait 5 seconds. |
+@@ -190,7 +190,7 @@
+ |
+
+
+-
++ |
+ Super Magnet |
+
+ An upgrade for the magnet! Grabbing this icon will not only allow balls to
+@@ -203,7 +203,7 @@
+ | |
+
+
+-
++ |
+ Catch-all Blue |
+ Grabbing this powerup will cause you to automatically obtain all blue powerups
+ that drop. However, it only lasts 30 seconds. Blue powerups are usually helpful
+@@ -214,7 +214,7 @@
+ | |
+
+
+-
++ |
+ Catch-all Red |
+ Grabbing this powerup will cause you to automatically obtain all red powerups
+ that drop. Fortunately, it only lasts 30 seconds. Red powerups are usually the
+@@ -228,7 +228,7 @@
+ | |
+
+
+-
++ |
+ Random |
+ Some other powerup is hidden behind this falling question mark. This powerup
+ counts as both blue and red, if you have either of the two above powerups.
diff --git a/ballbuster.spec b/ballbuster.spec
index a53c334..a46a853 100644
--- a/ballbuster.spec
+++ b/ballbuster.spec
@@ -1,6 +1,6 @@
Name: ballbuster
Version: 1.0
-Release: 23%{?dist}
+Release: 24%{?dist}
Summary: Move the paddle to bounce the ball and break all the bricks
Group: Amusements/Games
License: GPLv2+
@@ -13,6 +13,7 @@ Patch0: ballbuster-unix.patch.gz
Patch1: ballbuster-1.0-gcc43.patch
Patch2: ballbuster-1.0-gcc6.patch
Patch3: ballbuster-1.0-better-fullscreen-handling.patch
+Patch4: ballbuster-1.0-html-path-fix.patch
BuildRequires: ClanLib1-devel desktop-file-utils libappstream-glib
Requires: hicolor-icon-theme opengl-games-utils
@@ -25,11 +26,7 @@ ups and special effects (particle, alpha, rotating, and zooming).
%prep
-%setup -q -c
-%patch0 -p1 -z .unix
-%patch1 -p1 -z .gcc43
-%patch2 -p1
-%patch3 -p1
+%autosetup -c -p1
sed -i 's/\r//g' COPYING credits.txt ExtremeUpdates.txt manual.html html/*
@@ -77,6 +74,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Mon Jan 23 2017 Hans de Goede - 1.0-24
+- Fix broken image links in html docs (rhbz#1415231)
+
* Sun Feb 14 2016 Hans de Goede - 1.0-23
- Fix building with gcc6 (rhbz#1307339)
- Start windowed by default (use -fullscreen to start fullscreen)
|