SPECS: frozen-bubble.spec - generate missing images, pointed by Ka...

sparky sparky at pld-linux.org
Mon Oct 30 15:36:21 CET 2006


Author: sparky                       Date: Mon Oct 30 14:36:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- generate missing images, pointed by Kamil <kamil.listy at klecza.pl>

---- Files affected:
SPECS:
   frozen-bubble.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/frozen-bubble.spec
diff -u SPECS/frozen-bubble.spec:1.32 SPECS/frozen-bubble.spec:1.33
--- SPECS/frozen-bubble.spec:1.32	Sun Oct 29 14:31:04 2006
+++ SPECS/frozen-bubble.spec	Mon Oct 30 15:36:15 2006
@@ -15,6 +15,8 @@
 URL:		http://www.frozen-bubble.org/
 BuildRequires:	SDL_Pango-devel
 BuildRequires:	SDL_mixer-devel >= 1.2.2
+BuildRequires:	ImageMagick
+BuildRequires:	ImageMagick-coder-png
 BuildRequires:	perl-SDL >= 2.1.0
 BuildRequires:	perl-devel
 BuildRequires:	rpm-perlprov >= 3.0.3-18
@@ -44,10 +46,14 @@
 %patch1 -p1
 
 %build
+for FILE in gfx/balls/bubble-colourblind-?.gif; do
+	convert -scale 16x16 "$FILE" "${FILE%.gif}-mini.png"
+done
 %{__make} \
 	OPTIMIZE="%{rpmcflags} -Wall" \
 	OTHERLDFLAGS="%{rpmldflags}" \
 	CC="%{__cc}" \
+	CPP="%{__cc} -E" \
 	PREFIX="%{_prefix}" \
 	INSTALLDIRS=vendor
 
@@ -89,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2006/10/30 14:36:15  sparky
+- generate missing images, pointed by Kamil <kamil.listy at klecza.pl>
+
 Revision 1.32  2006/10/29 13:31:04  sparky
 - added kill-warning patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/frozen-bubble.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list