File solarwolf.spec of Package solarwolf
#
# spec file for package solarwolf (Version 1.5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: solarwolf
BuildRequires: python update-desktop-files
Summary: An Action/Arcade Game
Version: 1.5
Release: 88
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Amusements/Games/Action/Arcade
Requires: pygame
Source: solarwolf-%{version}.tar.bz2
Source1: solarwolf.sh
Source2: %name.desktop
Source3: solar-wolf-logo-64.png
URL: http://pygame.org/shredwheat/solarwolf/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The point of this game is to scramble through 48 levels of patterns,
collecting all the boxes. The part that makes it tricky is avoiding the
relentless hailstorm of fire coming at you from all directions.
Authors:
--------
Pete Shinners <pete@shinners.org>
%prep
%setup
find -type d | xargs chmod 755
rm -rf data/.xvpics
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/share/games/solarwolf
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
mkdir -p $RPM_BUILD_ROOT/usr/games
cp -pr code data solarwolf.py $RPM_BUILD_ROOT/usr/share/games/solarwolf
install -m 755 %{S:1} $RPM_BUILD_ROOT/usr/games/solarwolf
python /usr/%_lib/python/compileall.py -d /usr/share/games/solarwolf \
$RPM_BUILD_ROOT/usr/share/games/solarwolf
install -m 0644 %{S:3} $RPM_BUILD_ROOT/usr/share/pixmaps/solarwolf.png
%suse_update_desktop_file -i %name Game ArcadeGame
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/games/solarwolf
/usr/share/games/solarwolf
%doc *.txt
/usr/share/applications/%name.desktop
/usr/share/pixmaps/solarwolf.png
%changelog
* Fri Apr 27 2007 - jmatejek@suse.cz
- added Categories and Encoding to desktop file
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 02 2006 - jmatejek@suse.cz
- added icon file (bug #113661)
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Thu Mar 18 2004 - mcihar@suse.cz
- removed .xvpics
* Mon Feb 23 2004 - mcihar@suse.cz
- update to 1.5:
The same challenging gameplay with only minor refinements. More new music
from P2E, enhanced game screens, and user preferences.
* Fri Jan 09 2004 - mcihar@suse.cz
- update to 1.4:
This version includes many new POV-Ray rendered graphics, new deadly spiked
mines, and more powerups. It also tweaks the gameplay, to be more frantic
in the higher levels.
* Mon Sep 29 2003 - mcihar@suse.cz
- updated to 1.3:
This release makes big changes to gameplay by adding asteroids to your
not-so-quiet corner of the galaxy. Other game improvements include a help
system, pausing, updated graphics, more levels, and bugfixes.
* Sun Aug 10 2003 - sndirsch@suse.de
- added desktop file
* Tue Aug 05 2003 - mcihar@suse.cz
- updated to 1.2
* Mon Aug 12 2002 - vinil@suse.de
- new version: 1.1
* Mon Jun 24 2002 - ro@suse.de
- fixed directory permissions
* Mon Jun 03 2002 - ro@suse.de
- fixed for lib64 platforms
* Mon Feb 18 2002 - vinil@suse.cz
- byte-compile python
- move package from noarch to arch-dependent
* Thu Jan 31 2002 - nadvornik@suse.cz
- new package