ALT repositories
Last updated at Fri, 24 Jul 2020 16:39:53 +0000 | SRPMs: 19287
en ru
SRPMs in branches
hide window
Group :: Games/Arcade
Source RPM: xboing
Raw spec file

Summary: A Breakout style X Window System based game.
Name: xboing
Version: 2.4
Release: alt2
License: MIT
Group: Games/Arcade
Patch1: 010_initial_patches.diff
Patch2: Imakefile.fhs.diff
Patch3: init.c.diff
Patch4: mousemove.diff
Patch5: speed_fix.diff
Patch6: xboing.6x_man_section.diff
Patch7: 030_auto_validate_yn.diff
Patch8: 040_manpage_errors.diff
Patch9: xboing.font.diff
Source: http://www.techrescue.org/%name/%{name}%{version}.tar.gz
Source1: %name.xpm
Source2: %name.desktop
Url: http://www.techrescue.org/xboing/index.html

# Automatically added by buildreq on Thu Dec 10 2009

BuildRequires: gccmakedep imake libXext-devel libXpm-devel xorg-cf-files

%description
Xboing is an X Window System based game like the Breakout arcade game.
The object of the game is to keep a ball bouncing on the bricks until
you've broken through all of them.

%prep
%setup -q -n %name
%patch1 -p1
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p1
%patch8 -p1
%patch9 -p0
cp %SOURCE1 .
cp %SOURCE2 .

%build
xmkmf -a
%make_build

%install
%makeinstall PREFIX=%buildroot
install -D -m 644 %name.desktop %buildroot%_desktopdir/%name.desktop
install -D -m 644 %name.xpm %buildroot%_niconsdir/%name.xpm
install -D -m 664 /dev/null %buildroot%_localstatedir/games/%name.score
install -D -m 644 %name.man %buildroot%_man6dir/%name.6

%files
%doc README docs/problems.doc docs/todo.doc
%attr(2711,games,games) %_gamesbindir/%name
%dir %_gamesdatadir/%name
%_gamesdatadir/%name/*
%_desktopdir/%name.desktop
%_niconsdir/%name.xpm
%_man6dir/*
%config %attr(0664,games,games) %_localstatedir/games/%name.score

%changelog
* Wed Nov 28 2012 Fr. Br. George <george at altlinux.ru> 2.4-alt2
- Fix font structure crush (Closes: #27625)

* Sun Dec 16 2007 Fr. Br. George <george at altlinux.ru> 2.4-alt1
- Initial build from Debian Sid
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.