ALT Linux repositórios
Group :: Jogos/Arcade
RPM: xblast
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: xblast
Summary: The X11 bomberman team game
Version: 2.10.4
Release: alt2
License: GPLv2
Icon: %{name}_32x32.png
Group: Games/Arcade
Source0: %name-%version.tar.gz
Source1: %{name}_48x48.png
Source2: %{name}_32x32.png
Source3: %{name}_16x16.png
Source4: %name.desktop
Url: http://xblast.sourceforge.net/
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Tue Dec 18 2007
BuildRequires: imake libICE-devel libX11-devel xorg-cf-files libXt-devel
Requires: %name-data fonts-bitmap-terminus
%description
XBlast is a multi-player arcade game for X11R5/R6. The game can be
played with at least two players and up to four players. It was inspired
by the video/computer game Bomberman(Dynablaster), which was to my
knowledge first programmed for NEC's PC Engine/Turbo Grafx. Other
(commercial) versions of the original game exist for IBM-PC, Atari ST,
Amiga, NES, GameBoy and Super NES.
%prep
%setup -q -n %name
%build
# hack out helvetica fonts
sed -i 's/".*-helvetica-bold-\(r-.*-[0-9][0-9]*-.*\)-iso8859-.*"/"-*-terminus-bold-\1-iso10646-1"/' x11_config.c
%autoreconf
%add_optflags -fcommon
%configure --enable-SMPF --enable-sound --enable-admin --bindir=%_gamesbindir --with-otherdatadir=%_gamesdatadir/XBlast-TNT --prefix=/usr
%make_build
%install
%makeinstall game_datadir=%buildroot/%_gamesdatadir/XBlast-TNT bindir=%buildroot/%_gamesbindir
mkdir -p %buildroot/%_mandir/man6
install %name.man %buildroot/%_mandir/man6/%name.6
mkdir -p %buildroot%_gamesdatadir/XBlast-TNT/image/misc ## XXX
install -D %SOURCE1 %buildroot%_liconsdir/%name.png
install -D %SOURCE2 %buildroot%_iconsdir/%name.png
install -D %SOURCE3 %buildroot%_miconsdir/%name.png
install -D %SOURCE4 %buildroot%_desktopdir/%name.desktop
%find_lang %name
%files -f %name.lang
%_gamesbindir/xbsndsrv
%_gamesbindir/%name
%_gamesdatadir/XBlast-TNT
%_mandir/man6/%name.*
%_miconsdir/%name.png
%_liconsdir/%name.png
%_iconsdir/%name.png
%_desktopdir/%name.desktop
%_datadir/locale/*/*/%name.*
%doc README INSTALL ChangeLog AUTHORS NEWS
%changelog
…
Todas as alterações você pod ver aqui
Summary: The X11 bomberman team game
Version: 2.10.4
Release: alt2
License: GPLv2
Icon: %{name}_32x32.png
Group: Games/Arcade
Source0: %name-%version.tar.gz
Source1: %{name}_48x48.png
Source2: %{name}_32x32.png
Source3: %{name}_16x16.png
Source4: %name.desktop
Url: http://xblast.sourceforge.net/
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Tue Dec 18 2007
BuildRequires: imake libICE-devel libX11-devel xorg-cf-files libXt-devel
Requires: %name-data fonts-bitmap-terminus
%description
XBlast is a multi-player arcade game for X11R5/R6. The game can be
played with at least two players and up to four players. It was inspired
by the video/computer game Bomberman(Dynablaster), which was to my
knowledge first programmed for NEC's PC Engine/Turbo Grafx. Other
(commercial) versions of the original game exist for IBM-PC, Atari ST,
Amiga, NES, GameBoy and Super NES.
%prep
%setup -q -n %name
%build
# hack out helvetica fonts
sed -i 's/".*-helvetica-bold-\(r-.*-[0-9][0-9]*-.*\)-iso8859-.*"/"-*-terminus-bold-\1-iso10646-1"/' x11_config.c
%autoreconf
%add_optflags -fcommon
%configure --enable-SMPF --enable-sound --enable-admin --bindir=%_gamesbindir --with-otherdatadir=%_gamesdatadir/XBlast-TNT --prefix=/usr
%make_build
%install
%makeinstall game_datadir=%buildroot/%_gamesdatadir/XBlast-TNT bindir=%buildroot/%_gamesbindir
mkdir -p %buildroot/%_mandir/man6
install %name.man %buildroot/%_mandir/man6/%name.6
mkdir -p %buildroot%_gamesdatadir/XBlast-TNT/image/misc ## XXX
install -D %SOURCE1 %buildroot%_liconsdir/%name.png
install -D %SOURCE2 %buildroot%_iconsdir/%name.png
install -D %SOURCE3 %buildroot%_miconsdir/%name.png
install -D %SOURCE4 %buildroot%_desktopdir/%name.desktop
%find_lang %name
%files -f %name.lang
%_gamesbindir/xbsndsrv
%_gamesbindir/%name
%_gamesdatadir/XBlast-TNT
%_mandir/man6/%name.*
%_miconsdir/%name.png
%_liconsdir/%name.png
%_iconsdir/%name.png
%_desktopdir/%name.desktop
%_datadir/locale/*/*/%name.*
%doc README INSTALL ChangeLog AUTHORS NEWS
%changelog
…
Todas as alterações você pod ver aqui