Automatic import for version 1.1

This commit is contained in:
Rosa 2012-02-01 19:13:17 +04:00
commit 78792abe66
7 changed files with 596 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
"frogatto-1.1.tar.bz2": 33476cc346d64dbd66b6443df0f2b714ab990367

7
frogatto Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
DATA_DIRECTORY=/usr/share/frogatto
BINARY_FILE=/usr/lib/frogatto/game
cd $DATA_DIRECTORY
exec $BINARY_FILE "$@"

View file

@ -0,0 +1,15 @@
--- frogatto-1.0/Makefile.orig 2010-07-15 15:07:13.000000000 +0300
+++ frogatto-1.0/Makefile 2010-07-15 15:01:39.000000000 +0300
@@ -13,10 +13,10 @@
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) $(objects) -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 -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) $(server_objects) -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 -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

177
frogatto.6 Normal file
View file

@ -0,0 +1,177 @@
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.35
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. | will give a
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
.\" expand to `' in nroff, nothing in troff, for use with C<>.
.tr \(*W-|\(bv\*(Tr
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.\"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.hy 0
.if n .na
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "FROGATTO 6"
.TH FROGATTO 6 "2010-08-27" "perl v5.8.9" ""
.SH "NAME"
frogatto \- 2D platformer game starring a quixotic frog
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
\& frogatto [ OPTIONS ]
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBfrogatto\fR 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.
.SH "OPTIONS"
.IX Header "OPTIONS"
.Sh "\-\-fullscreen"
.IX Subsection "--fullscreen"
starts \fBfrogatto\fR in fullscreen mode.
.Sh "\-\-widescreen"
.IX Subsection "--widescreen"
uses widescreen mode.
.Sh "\-\-no\-sound"
.IX Subsection "--no-sound"
turns off sound.
.Sh "\-\-no\-music"
.IX Subsection "--no-music"
turns off music.
.Sh "\-\-fps"
.IX Subsection "--fps"
shows \s-1FPS\s0.
.Sh "\-\-no\-fps"
.IX Subsection "--no-fps"
doesn't show \s-1FPS\s0.
.Sh "\-\-debug"
.IX Subsection "--debug"
prints debug informations.
.Sh "\-\-no\-debug"
.IX Subsection "--no-debug"
doesn't print debug informations.
.Sh "\-\-textures16, \-\-textures32"
.IX Subsection "--textures16, --textures32"
uses 16 or 32 bits per pixes textures.
.SH "HOMEPAGE"
.IX Header "HOMEPAGE"
http://www.frogatto.com/

11
frogatto.desktop Normal file
View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Frogatto
Comment=Young frog's adventure
Comment[ru]=Приключения лягушонка
Comment[uk]=Пригоди жабенятка
Exec=frogatto
Icon=frogatto
Terminal=false
Type=Application
StartupNotify=true
Categories=Game;ArcadeGame;

87
frogatto.spec Normal file
View file

@ -0,0 +1,87 @@
Name: frogatto
Version: 1.1
Release: 3
Summary: Frogatto & Friends classic adventure game
License: GPLv3+
Group: Games/Arcade
URL: http://www.frogatto.com/
Source: http://www.frogatto.com/files/frogatto-%version.tar.bz2
Source1: frogatto
Source2: frogatto.desktop
Source3: frogatto.xpm
Source4: frogatto.6
Patch1: frogatto-1.0-asneeded.patch
# Automatically added by buildreq on Thu Aug 26 2010
BuildRequires: boost-devel gcc-c++ libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libglew-devel libpng-devel ccache glibc-devel
Requires: %name-gamedata = %version
%description
Frogatto & Friends is a old-school 2d platformer game, starring a certain
quixotic frog.
%package gamedata
Summary: Game data for frogatto
License: distributable
Group: Games/Arcade
# We split game data to separate package to make it noarch and thus save
# bandwidth and space on distribution media.
BuildArch: noarch
%description gamedata
Game data for frogatto.
%prep
%setup -q
sed -i -e 's#BINARY_FILE=.*#BINARY_FILE=%{_libdir}/frogatto/game#g' %{SOURCE1}
%build
%make
%install
install -d %buildroot%_datadir/frogatto
install -pDm 755 game %buildroot%_libdir/frogatto/game
cp -a images data music sounds %buildroot%_datadir/frogatto
install -pDm 755 %_sourcedir/frogatto %buildroot%_gamesbindir/frogatto
install -pDm 644 %_sourcedir/frogatto.desktop %buildroot%{_datadir}/applications/frogatto.desktop
install -pDm 644 %_sourcedir/frogatto.xpm %buildroot%{_pixmaps}/frogatto.xpm
install -pDm 644 %_sourcedir/frogatto.6 %buildroot%{_mandir}/man6/frogatto.6
%files
%_gamesbindir/*
%_libdir/frogatto/
%{_datadir}/applications/*
#%{_pixmaps}/*
%{_mandir}/man6/*
%files gamedata
%doc LICENSE
%_datadir/frogatto
%changelog
* Mon Aug 22 2011 Funda Wang <fwang@mandriva.org> 1.1-3
+ Revision: 696056
- fix startup script
* Fri May 20 2011 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.1-2
+ Revision: 676306
- Remove %%mkrel
* Fri May 20 2011 Zombie Ryushu <ryushu@mandriva.org> 1.1-1
+ Revision: 676284
- strange csu issue debug symbols
- strange csu issue
- Packager tag
- Packager tag
- imported package frogatto
* Thu Aug 26 2010 Victor Forsiuk <force@altlinux.org> 1.0-alt1
- Initial build.

297
frogatto.xpm Normal file
View file

@ -0,0 +1,297 @@
/* 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+",
" ",
" ",
" ",
" ",
" ",
" "};