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
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