Author: musuruan
Update of /cvs/nonfree/rpms/frogatto/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5171/F-13
Modified Files:
.cvsignore sources
Added Files:
frogatto-1.0-Makefile.patch frogatto.desktop frogatto.pod
frogatto.sh frogatto.spec frogatto.xpm
Log Message:
First import
frogatto-1.0-Makefile.patch:
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE frogatto-1.0-Makefile.patch ---
diff -durN frogatto-1.0.orig/Makefile frogatto-1.0/Makefile
--- frogatto-1.0.orig/Makefile 2010-07-12 23:36:13.000000000 +0200
+++ frogatto-1.0/Makefile 2010-07-24 16:05:30.699775110 +0200
@@ -13,10 +13,10 @@
ccache g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g $(OPT) `sdl-config --cflags`
-I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type
-fthreadsafe-statics -c $<
game: $(objects)
- g++ -g $(OPT) -L. -L/sw/lib -L/usr/X11R6/lib -L. -lX11 -D_GNU_SOURCE=1 -D_REENTRANT
-Wnon-virtual-dtor -Wreturn-type -L/usr/lib `sdl-config --libs` -lSDLmain -lSDL -lGL -lGLU
-lGLEW -lSDL_image -lSDL_ttf -lSDL_mixer -lpng -lboost_regex-mt -lboost_system-mt
-fthreadsafe-statics $(objects) -o game
+ g++ -g $(OPT) -L. -L/sw/lib -L/usr/X11R6/lib -L. -lX11 -D_GNU_SOURCE=1 -D_REENTRANT
-Wnon-virtual-dtor -Wreturn-type -L/usr/lib `sdl-config --libs` -lSDL -lGL -lGLU -lGLEW
-lSDL_image -lSDL_ttf -lSDL_mixer -lpng -lboost_regex-mt -lboost_system-mt
-fthreadsafe-statics $(objects) -o game
server: $(server_objects)
- g++ -fno-inline-functions -g $(OPT) -L/sw/lib -L/usr/X11R6/lib -lX11 -D_GNU_SOURCE=1
-D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -L/usr/lib `sdl-config --libs` -lSDLmain
-lSDL -lGL -lGLU -lSDL_image -lSDL_ttf -lSDL_mixer -lboost_regex-mt -lboost_system-mt
-lboost_thread-mt -lboost_iostreams-mt -fthreadsafe-statics $(server_objects) -o server
+ g++ -fno-inline-functions -g $(OPT) -L/sw/lib -L/usr/X11R6/lib -lX11 -D_GNU_SOURCE=1
-D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -L/usr/lib `sdl-config --libs` -lSDL -lGL
-lGLU -lSDL_image -lSDL_ttf -lSDL_mixer -lboost_regex-mt -lboost_system-mt
-lboost_thread-mt -lboost_iostreams-mt -fthreadsafe-statics $(server_objects) -o server
poolalloc.o: src/poolalloc.c
gcc -fno-inline-functions -g $(OPT) `sdl-config --cflags` -I/usr/X11R6/include
-D_GNU_SOURCE=1 -D_REENTRANT -Wreturn-type -c src/poolalloc.c
--- NEW FILE frogatto.desktop ---
[Desktop Entry]
Name=Frogatto
Comment=2D platform game starring a quixotic frog
Exec=frogatto
Icon=frogatto
Terminal=false
Type=Application
Categories=Game;ActionGame;
--- NEW FILE frogatto.pod ---
=encoding utf-8
=head1 NAME
frogatto - 2D platformer game starring a quixotic frog
=head1 SYNOPSIS
frogatto [ OPTIONS ]
=head1 DESCRIPTION
B<frogatto> is a platformer in the style of old arcade, Sega and
Nintendo games. The world is viewed as a cross-section seen from the
side, and your character walks and jumps between solid platforms
whilst fighting monsters.
=head1 OPTIONS
=head2 --fullscreen
starts B<frogatto> in fullscreen mode.
=head2 --widescreen
uses widescreen mode.
=head2 --no-sound
turns off sound.
=head2 --no-music
turns off music.
=head2 --fps
shows FPS.
=head2 --no-fps
doesn't show FPS.
=head2 --debug
prints debug informations.
=head2 --no-debug
doesn't print debug informations.
=head2 --textures16, --textures32
uses 16 or 32 bits per pixes textures.
=head1 HOMEPAGE
http://www.frogatto.com/
--- NEW FILE frogatto.sh ---
#!/bin/sh
DATA_DIRECTORY=/usr/share/frogatto
BINARY_FILE=/usr/libexec/frogatto/game
cd $DATA_DIRECTORY
exec $BINARY_FILE "$@"
--- NEW FILE frogatto.spec ---
Name: frogatto
Version: 1.0.2
Release: 1%{?dist}
Summary: An old-school 2D platform game
Group: Amusements/Games
# Artwork and music not released under an open license
License: GPLv3+ and proprietary
URL:
http://www.frogatto.com/
Source0:
http://www.frogatto.com/files/%{name}-%{version}.tar.bz2
Source1: %{name}.sh
Source2: %{name}.desktop
Source3: %{name}.xpm
Source4: %{name}.pod
Patch0: %{name}-1.0-Makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel >= 1.2.7
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel >= 2.0.8
BuildRequires: mesa-libGLU-devel
BuildRequires: glew-devel
BuildRequires: libpng-devel
BuildRequires: ccache
BuildRequires: boost-devel
BuildRequires: perl
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
An old-school 2D platform game, starring a certain quixotic frog. Frogatto
has gorgeous, high-end pixel art, pumping arcade tunes, and all the gameplay
nuance of a classic console title. Run and jump over pits and enemies. Grab
enemies with your tongue, swallow them, and then spit them out at other enemies
as projectiles! Fight dangerous bosses, and solve vexing puzzles. Collect coins
and use them to buy upgrades and new abilities in the store. Talk to characters
in game, and work to unravel Big Bad Milgram's plot against the townsfolk!
%prep
%setup -q
%patch0 -p1
%build
make OPT="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
# Install wrapper script
install -d %{buildroot}%{_bindir}
install -m 755 -p %{SOURCE1} %{buildroot}%{_bindir}/%{name}
# Install game and data
install -d %{buildroot}%{_libexecdir}/%{name}
install -m 755 -p game %{buildroot}%{_libexecdir}/%{name}
install -d %{buildroot}%{_datadir}/%{name}
cp -pr data images music sounds \
%{buildroot}%{_datadir}/%{name}
# Install desktop file
install -d %{buildroot}%{_datadir}/applications
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
# Install icon
install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -m 644 -p %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
# Install man page
install -d %{buildroot}%{_mandir}/man6
pod2man --section=6 \
-center="RPM Fusion contributed man pages" \
-release="%{name} %{version}" \
-date="July 13th, 2010" \
%{SOURCE4} > %{buildroot}%{_mandir}/man6/%{name}.6
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_libexecdir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.xpm
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man6/%{name}.6*
%doc CHANGELOG LICENSE
%changelog
* Sat Sep 04 2010 Andrea Musuruane <musuruan(a)gmail.com> 1.0.2-1
- Updated to upstream 1.0.2
* Sun Jul 25 2010 Andrea Musuruane <musuruan(a)gmail.com> 1.0-1
- First release
- Included startup script, desktop icon and man page from Debian
--- NEW FILE frogatto.xpm ---
/* XPM */
static char * frogatto_xpm[] = {
"32 32 262 2",
" c None",
". c #3E6379",
"+ c #BEEDFF",
"@ c #777E7D",
"# c #3F6378",
"$ c #3E667B",
"% c #C4E7EB",
"& c #FDFAD8",
"* c #C0E5EC",
"= c #43697F",
"- c #BBE7FC",
"; c #F4FAE9",
"> c #FDFAD9",
", c #C3E7EC",
"' c #948EC4",
") c #C8A3C1",
"! c #EBFAFA",
"~ c #F1F9EA",
"{ c #777E7C",
"] c #ECFAF9",
"^ c #F1F9E9",
"/ c #FAF9D9",
"( c #8DCEB6",
"_ c #8ACCB6",
": c #EBFEFC",
"< c #EDFFFF",
"[ c #EBFEFD",
"} c #747C7C",
"| c #E9F9F9",
"1 c #E8F9F9",
"2 c #EAFEFE",
"3 c #91D1BB",
"4 c #92CDB7",
"5 c #BFA0BD",
"6 c #904480",
"7 c #BC9EBC",
"8 c #475474",
"9 c #3E95AC",
"0 c #666072",
"a c #4E0000",
"b c #B7E1F5",
"c c #EFFCF9",
"d c #9E7B77",
"e c #262F2E",
"f c #4699B0",
"g c #8AD1FC",
"h c #88D4FF",
"i c #88D3FC",
"j c #44697C",
"k c #46677C",
"l c #85CAF5",
"m c #7EC6F0",
"n c #83CDF7",
"o c #8AD6FF",
"p c #60BABE",
"q c #157C6A",
"r c #4196AC",
"s c #8CCCF9",
"t c #6F73AE",
"u c #27082D",
"v c #002E2F",
"w c #8DCFF9",
"x c #8BCDF9",
"y c #5BB1B2",
"z c #34A674",
"A c #3CB67D",
"B c #14886F",
"C c #007F65",
"D c #1DBE52",
"E c #33CA5E",
"F c #17573F",
"G c #1E563B",
"H c #1B8B6E",
"I c #005D5F",
"J c #117868",
"K c #35A576",
"L c #39C35C",
"M c #5FE235",
"N c #B3FB45",
"O c #DDFF5C",
"P c #DBFC5D",
"Q c #DAFC5D",
"R c #B3FE48",
"S c #55DA58",
"T c #0D543A",
"U c #205F42",
"V c #3DCA5E",
"W c #3DC65B",
"X c #40BA7B",
"Y c #3EC75B",
"Z c #3BD33C",
"` c #62E337",
" . c #AFF648",
".. c #D3F95E",
"+. c #D1F95D",
"@. c #8AE94C",
"#. c #2EC75A",
"$. c #0E5A3D",
"%. c #1E6A1C",
"&. c #3DC35C",
"*. c #3BC75D",
"=. c #3BC85B",
"-. c #3CC25E",
";. c #3BD140",
">. c #8EE94F",
",. c #D9FD5D",
"'. c #D7FD5C",
"). c #6DAF63",
"!. c #1E9B52",
"~. c #206C1D",
"{. c #0E563A",
"]. c #2BC557",
"^. c #497E52",
"/. c #3AD63C",
"(. c #3CD43E",
"_. c #189953",
":. c #68AE62",
"<. c #67AD64",
"[. c #08846E",
"}. c #0E8C71",
"|. c #003339",
"1. c #003537",
"2. c #2E466D",
"3. c #456270",
"4. c #446070",
"5. c #4B7B54",
"6. c #1C9A54",
"7. c #177C70",
"8. c #127B6F",
"9. c #67AE62",
"0. c #159655",
"a. c #179853",
"b. c #2EC858",
"c. c #0F5838",
"d. c #003534",
"e. c #198B75",
"f. c #33A479",
"g. c #178170",
"h. c #1E8D72",
"i. c #3FBA79",
"j. c #3FB87B",
"k. c #198874",
"l. c #189754",
"m. c #68E736",
"n. c #6AEE38",
"o. c #41D262",
"p. c #1F5A3E",
"q. c #003033",
"r. c #188872",
"s. c #30A276",
"t. c #37AD77",
"u. c #3FCA59",
"v. c #40DB3A",
"w. c #3DDC3C",
"x. c #3ACC61",
"y. c #1C5840",
"z. c #2E0F30",
"A. c #5A2269",
"B. c #293E68",
"C. c #005D68",
"D. c #005C6A",
"E. c #2B3F6B",
"F. c #290A2E",
"G. c #002F32",
"H. c #19A052",
"I. c #3DCC5A",
"J. c #41BC7A",
"K. c #41BB7A",
"L. c #1C8F72",
"M. c #294B6D",
"N. c #2B1434",
"O. c #2DC95F",
"P. c #3EDF42",
"Q. c #1E6B1C",
"R. c #003234",
"S. c #20A354",
"T. c #2B966D",
"U. c #34A773",
"V. c #3EC859",
"W. c #498451",
"X. c #466B73",
"Y. c #36A67C",
"Z. c #1B8975",
"`. c #1B8875",
" + c #184C3A",
".+ c #0E5B3B",
"++ c #2AC45A",
"@+ c #39D23D",
"#+ c #35B95A",
"$+ c #31A47B",
"%+ c #1A8973",
"&+ c #219073",
"*+ c #35A875",
"=+ c #59B1B3",
"-+ c #97C7F5",
";+ c #68ACAF",
">+ c #4D7273",
",+ c #2A4A68",
"'+ c #14856F",
")+ c #18846F",
"!+ c #1F8F71",
"~+ c #39AE7A",
"{+ c #1A523E",
"]+ c #1B513E",
"^+ c #64CE56",
"/+ c #63CA54",
"(+ c #465D70",
"_+ c #561F69",
":+ c #243E6A",
"<+ c #005E68",
"[+ c #5493B0",
"}+ c #A7C4F1",
"|+ c #90C5ED",
"1+ c #98C9F5",
"2+ c #5494B0",
"3+ c #006169",
"4+ c #25416C",
"5+ c #571F6B",
"6+ c #2D466D",
"7+ c #1F9374",
"8+ c #164A3C",
"9+ c #157F73",
"0+ c #1B8E72",
"a+ c #63DD57",
"b+ c #B7FF48",
"c+ c #91DD6E",
"d+ c #1B8C6E",
"e+ c #4E92A9",
"f+ c #A8C6F1",
"g+ c #4F92A8",
"h+ c #147D6A",
"i+ c #65CC53",
"j+ c #91FD31",
"k+ c #60EB37",
"l+ c #186219",
"m+ c #184738",
"n+ c #6E6E6E",
"o+ c #353233",
"p+ c #1E5839",
"q+ c #3DC759",
"r+ c #64E436",
"s+ c #8BF333",
"t+ c #62E435",
"u+ c #37B957",
"v+ c #14826B",
"w+ c #006560",
"x+ c #39AB77",
"y+ c #3AC55B",
"z+ c #61E238",
"A+ c #90F533",
"B+ c #69EB3A",
"C+ c #373737",
"D+ c #206040",
"E+ c #40C082",
"F+ c #3DCD64",
"G+ c #39DC44",
"H+ c #3BB280",
"I+ c #4A6A75",
"J+ c #5F2F6F",
"K+ c #34A37C",
"L+ c #3AB180",
"M+ c #2BC85F",
" ",
" ",
" . + @ ",
" # + + . $ % & * = ",
" = - ; > , ' ) ! ~ ; { ",
" { ] ^ / ; ( _ : < [ } ",
" } | 1 2 < 3 4 5 6 5 { ",
" { ] | 7 6 8 9 0 a 0 # ",
" # b c d a e f g h i j ",
" k l m n o p q r s t u ",
" v r w x y z A B C D E F ",
" G H I J K L M N O P Q R S T ",
" U V W X Y Z ` ...+.+.+...@.#.$. ",
" %.&.*.=.-.;.>.,.+.+.'.'.'.).!.~.
",
" {.].^.^./.(._.:.'.'.<.<.<.[.}.|.
",
" 1.2.3.4.5.6.7.8.9.<.0.0.a.b.c. ",
" d.e.f.g.h.i.j.k.l.m.n.o.p. ",
" q.r.s.t.u.v.w.x.y. ",
" z.A.B.C.D.E.F. ",
" G.H.I.J.K.L.M.N. ",
" T O.P.Q.R.S.Y z T.U.V.W.X.Y.Z.`. + ",
" .+++@+#+$+%+&+*+=+-+;+*+>+,+'+)+!+~+{+ ",
" ]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+~+{+ ",
" 8+9+0+a+b+c+d+e+f+g+h+i+j+k+l+m+ + ",
"n+n+n+n+n+n+n+n+o+p+q+r+s+t+u+v+w+v+x+y+z+A+B+Q.o+n+n+n+n+n+n+n+",
"n+n+n+n+n+n+n+n+C+D+E+F+G+F+H+I+J+I+K+L+F+G+M+$.C+n+n+n+n+n+n+n+",
" ",
" ",
" ",
" ",
" ",
" "};
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/frogatto/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Sep 2010 19:05:35 -0000 1.1
+++ .cvsignore 11 Sep 2010 10:34:09 -0000 1.2
@@ -0,0 +1 @@
+frogatto-1.0.2.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/frogatto/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Sep 2010 19:05:35 -0000 1.1
+++ sources 11 Sep 2010 10:34:09 -0000 1.2
@@ -0,0 +1 @@
+811a45a2493e6a425ed9d0826cffab04 frogatto-1.0.2.tar.bz2