Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37855856
en ru br
ALT Linux repos
5.0: 1.5-alt3.1
4.1: 1.5-alt3.1
4.0: 1.5-alt3
3.0: 1.5-alt2

Group :: Games/Arcade
RPM: solarwolf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: solarwolf
Version: 1.5
Release: alt2

Summary: SolarWolf is an action/arcade game written entirely in Python

License: LGPL
Group: Games/Arcade
Url: http://pygame.org/shredwheat/solarwolf

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: %name-%version.tar.bz2

BuildArchitectures: noarch

%add_python_req_skip py2exe

# manually removed: eric

# Automatically added by buildreq on Fri Dec 31 2004 (-bi)
BuildRequires: python-base python-modules-compiler python-modules-encodings rpm-build-python

%description
SolarWolf is an action/arcade game written entirely in Python.
It is free and open source, released under the LGPL license.

The game is originally based of one of my childhood favorites,
SolarFox on the Atari 2600.

The point of the game is to scramble through 60 levels
collecting space boxes. Each level gets is harder than
the previous. Obstacles like bullets, mines, and asteroids
cover your every move. Beat the Skip timer and grab the
powerups for your only chance.

Solarwolf runs on nearly every platform. Windows, Mac OSX, Linux,
BeOS, and a large variety of Unix platforms.

%prep
%setup -q

%build

%install

%__mkdir_p %buildroot/{%_gamesdatadir,%_iconsdir,%_mandir/man6,%_gamesbindir}
%__cp -p ./dist/*.png %buildroot/%_iconsdir
%__cp -p ./dist/%name.6.gz %buildroot/%_mandir/man6
%__cp -p %name.py %buildroot/%_gamesbindir
#%__rm -rf ./dist
%__cp -rp ./ %buildroot/%_gamesdatadir/%name

cat >%buildroot%_gamesbindir/%name <<EOF
#!/bin/sh
cd %_gamesdatadir/%name
./%name.py
EOF


%__mkdir_p %buildroot%_menudir
cat >%buildroot%_menudir/%name <<EOF
?package(%name): \
command="%_gamesbindir/%name" \
needs="X11" \
icon="%name.png" \
section="Amusement/Arcade" \
title="SolarWolf" \
longtitle="SolarWolf"
EOF

%post
%update_menus

%postun
%clean_menus

%files
%attr (0755, root root) %_gamesbindir/*
%doc readme.txt
%_gamesdatadir/%name
#%_gameslibdir/%name
%_menudir/*
%_iconsdir/*
%_mandir/man6/*

%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