Sisyphus repository
Last update: 23 september 2019 | SRPMs: 17473 | Visits: 15148203
en ru br
ALT Linux repos
S:1.30-alt3.qa2
5.0: 1.30-alt3

Group :: Games/Arcade
RPM: orbital_eunuchs_sniper

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: orbital_eunuchs_sniper
Version: 1.30
Release: alt3.qa2
Url: http://www.icculus.org/oes/
Source0: %name-%version.tar.gz
Source11: %name-16x16.png
Source12: %name-32x32.png
Source13: %name-48x48.png
Patch: %name-gcc43.patch
License: BSD
Group: Games/Arcade
Summary: Defend VIPs killing bad guys with orbital laser
Packager: Fr. Br. George <george at altlinux.ru>

# Automatically added by buildreq on Sun Aug 03 2008

BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel libSDL_mixer-devel libXt-devel

%description
Orbital Eunuchs Sniper is a simple game in which the player
must control an orbital laser to prevent harm from coming to
the VIPs (in blue squares) in the form of human threats
(in red squares). Avoid killing the neutral humans, however,
or else you may be 'retired'.

%prep
%setup -q
%patch -p1

%build
%configure --bindir=%_gamesbindir \
--datadir=%_datadir \
--with-pic \
--with-gnu-ld \
--disable-debug
%make_build

%install
%makeinstall bindir=%buildroot%_gamesbindir datadir=%buildroot%_gamesdatadir

#(peroyvind) move ark-config to %_bindir as this belongs to the devel package

install -d %buildroot{%_bindir,%_gamesdatadir}

install -m 755 -d %buildroot%_datadir/applications/
cat > %buildroot%_datadir/applications/%name.desktop << EOF
[Desktop Entry]
Name=Orbital Eunuchs Sniper
Comment=%summary
Exec=%_gamesbindir/snipe2d
Icon=%name
Terminal=false
Type=Application
StartupNotify=true
Categories=Game;ArcadeGame;
EOF

install -m644 %SOURCE11 -D %buildroot%_miconsdir/%name.png
install -m644 %SOURCE12 -D %buildroot%_niconsdir/%name.png
install -m644 %SOURCE13 -D %buildroot%_liconsdir/%name.png

#(peroyvind) clean out crap

rm -f %buildroot%_gamesdatadir/%name/snipe2d.*.static
mv %buildroot%_gamesdatadir/%name/snipe2d.*.dynamic %buildroot%_gamesbindir/snipe2d.bin

cat <<EOF > %buildroot%_gamesbindir/snipe2d
#! /bin/sh
cd %_gamesdatadir/orbital_eunuchs_sniper
snipe2d.bin "\$ at "
EOF

%files
%doc AUTHORS ChangeLog NEWS README TODO COPYING
%_gamesdatadir/%name
%_niconsdir/%name.png
%_liconsdir/%name.png
%_miconsdir/%name.png
%_datadir/applications/%name.desktop
%defattr(755,root,root,755)
%_gamesbindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin