Group :: Jogos/Arcade
RPM: Maelstrom
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# Conditional build:
# _with_cheaters
Name: Maelstrom
Version: 3.0.6
Release: alt3.1.qa1
Summary: Rockin' asteroids game
License: GPL for code, artwork and sounds can be redistributed only with Maelstrom
Group: Games/Arcade
Packager: Ilya Mashkin <oddity at altlinux.ru>
Url: http://www.devolution.com/~slouken/projects/Maelstrom/
# Source0-md5: 8aab0e75ca52808fd6777535ebb1f1c4
Source0: http://www.devolution.com/~slouken/projects/Maelstrom/src/%name-%version.tar.gz
Source1: %name.desktop
Source2: %name.menu
Patch0: %name-cheaters.patch
Patch1: %name-dirs.patch
Patch2: %name-amfix.patch
Patch3: %name-sec.patch
Patch10: %name-3.0.5-setgid.patch
Patch11: maelstrom-gcc34.patch
Patch12: Maelstrom-3.0.6-64bit.patch
# Automatically added by buildreq on Wed Oct 19 2005
BuildRequires: esound gcc-c++ libSDL-devel libSDL_net-devel libstdc++-devel
BuildRequires: libSDL_net-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libstdc++-devel
%define gamedir %_datadir/Maelstrom
%define scoredir %_localstatedir/%_gamesdir
%define _desktopdir %_datadir/applications
%define specflags_ia32 -fomit-frame-pointer
Summary(pl): Gra, w której strzelasz do asteroidów
Summary(pt_BR): Maelstrom - um jogo tipo Asteroids muito bem-feito
Summary(ru_RU.KOI8-R): óÔÁÒÙÅ ÄÏÂÒÙÅ áÓÔÅÒÏÉÄÙ ;-)
Summary(uk_UA.KOI8-U): óÔÁÒÏ×ÉÎÎÁ ÇÒÁ áÓÔÅÒϧÄÉ ;-)
%description
Maelstrom is a rockin' asteroids game ported from the Macintosh
Originally written by Andrew Welch of Ambrosia Software, and ported
to UNIX and then SDL by Sam Lantinga <slouken at devolution.com>.
%description -l pl
Maelstrom jest kosmiczn± strzelank± sportowan± na UNIXy i SDL przez
Sama Lantinga <slouken at devolution.com>, oryginalnie napisan± na
Macintosha przez Andrew Welcha z Ambrosia Software.
%description -l pt_BR
O Maelstrom é um jogo de asteróides vagantes portado do Macintosh,
originalmente escrito por Andrew Welch da Ambrosia Software, e portado
para o UNIX e SDL por Sam Lantinga.
Sua nave está no temido círculo de asteróides "Maelstrom", e você tem
que sobreviver explodindo todos os asteróides e evitando outros
inimigos como estrelas Nova, turbilhões e naves e minas Shenobi.
Gráficos 3D muito legais e sons, com suporte a temas e jogos via rede.
%description -l ru_RU.KOI8-R
Maelstrom -- ÉÇÒÁ ×ÓÅÈ ×ÒÅÍÅÎ É ÎÁÒÏÄÏ× "áÓÔÅÒÏÉÄÙ", ÓÐÏÒÔÉÒÏ×ÁÎÎÁÑ Ó íÁËÏ×.
%description -l uk_UA.KOI8-U
Maelstrom -- ÇÒÁ ÕÓ¦È ÞÁÓ¦× ÔÁ ÎÁÒÏÄ¦× "áÓÔÅÒϧÄÉ", ÑËÕ ÐÏÒÔÏ×ÁÎÏ Ú íÁ˦×.
%prep
%setup -q
# everlasting shield, more shots available, all-in-one equipment and
# reversed bonus in time function ;)
%{?_with_cheaters:%patch0 -p1}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch10 -p1 -b .setgid
%patch11 -p1 -b .gcc34
%patch12 -p1 -b .64bit
%build
rm -f missing
touch NEWS AUTHORS ChangeLog Makefile.in
%__aclocal
%__autoconf
%__automake -a -f
%configure
%__make
%install
%__make install DESTDIR=%buildroot
#mv %buildroot%prefix/bin %buildroot%prefix/X11R6
rm -f %buildroot%gamedir/Images/Makefile*
rm -f Docs/Makefile*
# /usr is read-only
%__install -d %buildroot%scoredir
%__mv -f %buildroot%gamedir/Maelstrom-Scores %buildroot%scoredir/
%__ln_s -f %scoredir/Maelstrom-Scores %buildroot%gamedir/
# not needed (examples for internal Mac library)
# and playwave conflicts with SDL_mixer
rm -f %buildroot%_bindir/{macres,playwave,snd2wav}
%__install -pD %SOURCE1 %buildroot%_desktopdir/%name.desktop
#__install -pD %SOURCE2 %buildroot%_menudir/%name
%files
%doc README* Changelog CREDITS Docs
#_bindir/Maelstrom
%_bindir/*
%gamedir
%config(noreplace) %verify(not md5 size mtime) %scoredir/Maelstrom-Scores
%_desktopdir/*
#_menudir/*
%changelog
…
Todas as alterações você pod ver aqui
# _with_cheaters
Name: Maelstrom
Version: 3.0.6
Release: alt3.1.qa1
Summary: Rockin' asteroids game
License: GPL for code, artwork and sounds can be redistributed only with Maelstrom
Group: Games/Arcade
Packager: Ilya Mashkin <oddity at altlinux.ru>
Url: http://www.devolution.com/~slouken/projects/Maelstrom/
# Source0-md5: 8aab0e75ca52808fd6777535ebb1f1c4
Source0: http://www.devolution.com/~slouken/projects/Maelstrom/src/%name-%version.tar.gz
Source1: %name.desktop
Source2: %name.menu
Patch0: %name-cheaters.patch
Patch1: %name-dirs.patch
Patch2: %name-amfix.patch
Patch3: %name-sec.patch
Patch10: %name-3.0.5-setgid.patch
Patch11: maelstrom-gcc34.patch
Patch12: Maelstrom-3.0.6-64bit.patch
# Automatically added by buildreq on Wed Oct 19 2005
BuildRequires: esound gcc-c++ libSDL-devel libSDL_net-devel libstdc++-devel
BuildRequires: libSDL_net-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libstdc++-devel
%define gamedir %_datadir/Maelstrom
%define scoredir %_localstatedir/%_gamesdir
%define _desktopdir %_datadir/applications
%define specflags_ia32 -fomit-frame-pointer
Summary(pl): Gra, w której strzelasz do asteroidów
Summary(pt_BR): Maelstrom - um jogo tipo Asteroids muito bem-feito
Summary(ru_RU.KOI8-R): óÔÁÒÙÅ ÄÏÂÒÙÅ áÓÔÅÒÏÉÄÙ ;-)
Summary(uk_UA.KOI8-U): óÔÁÒÏ×ÉÎÎÁ ÇÒÁ áÓÔÅÒϧÄÉ ;-)
%description
Maelstrom is a rockin' asteroids game ported from the Macintosh
Originally written by Andrew Welch of Ambrosia Software, and ported
to UNIX and then SDL by Sam Lantinga <slouken at devolution.com>.
%description -l pl
Maelstrom jest kosmiczn± strzelank± sportowan± na UNIXy i SDL przez
Sama Lantinga <slouken at devolution.com>, oryginalnie napisan± na
Macintosha przez Andrew Welcha z Ambrosia Software.
%description -l pt_BR
O Maelstrom é um jogo de asteróides vagantes portado do Macintosh,
originalmente escrito por Andrew Welch da Ambrosia Software, e portado
para o UNIX e SDL por Sam Lantinga.
Sua nave está no temido círculo de asteróides "Maelstrom", e você tem
que sobreviver explodindo todos os asteróides e evitando outros
inimigos como estrelas Nova, turbilhões e naves e minas Shenobi.
Gráficos 3D muito legais e sons, com suporte a temas e jogos via rede.
%description -l ru_RU.KOI8-R
Maelstrom -- ÉÇÒÁ ×ÓÅÈ ×ÒÅÍÅÎ É ÎÁÒÏÄÏ× "áÓÔÅÒÏÉÄÙ", ÓÐÏÒÔÉÒÏ×ÁÎÎÁÑ Ó íÁËÏ×.
%description -l uk_UA.KOI8-U
Maelstrom -- ÇÒÁ ÕÓ¦È ÞÁÓ¦× ÔÁ ÎÁÒÏÄ¦× "áÓÔÅÒϧÄÉ", ÑËÕ ÐÏÒÔÏ×ÁÎÏ Ú íÁ˦×.
%prep
%setup -q
# everlasting shield, more shots available, all-in-one equipment and
# reversed bonus in time function ;)
%{?_with_cheaters:%patch0 -p1}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch10 -p1 -b .setgid
%patch11 -p1 -b .gcc34
%patch12 -p1 -b .64bit
%build
rm -f missing
touch NEWS AUTHORS ChangeLog Makefile.in
%__aclocal
%__autoconf
%__automake -a -f
%configure
%__make
%install
%__make install DESTDIR=%buildroot
#mv %buildroot%prefix/bin %buildroot%prefix/X11R6
rm -f %buildroot%gamedir/Images/Makefile*
rm -f Docs/Makefile*
# /usr is read-only
%__install -d %buildroot%scoredir
%__mv -f %buildroot%gamedir/Maelstrom-Scores %buildroot%scoredir/
%__ln_s -f %scoredir/Maelstrom-Scores %buildroot%gamedir/
# not needed (examples for internal Mac library)
# and playwave conflicts with SDL_mixer
rm -f %buildroot%_bindir/{macres,playwave,snd2wav}
%__install -pD %SOURCE1 %buildroot%_desktopdir/%name.desktop
#__install -pD %SOURCE2 %buildroot%_menudir/%name
%files
%doc README* Changelog CREDITS Docs
#_bindir/Maelstrom
%_bindir/*
%gamedir
%config(noreplace) %verify(not md5 size mtime) %scoredir/Maelstrom-Scores
%_desktopdir/*
#_menudir/*
%changelog
…
Todas as alterações você pod ver aqui