File penguin-command.spec of Package penguin-command

#
# spec file for package penguin-command (Version 1.6.11)
#
# 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:           penguin-command
BuildRequires:  SDL_image-devel SDL_mixer-devel libjpeg-devel libpng-devel update-desktop-files
Summary:        A Clone of the Classic Missile Command Game
Version:        1.6.11
Release:        20
License:        GPL v2 or later
Group:          Amusements/Games/Action/Shoot
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}.desktop
Patch0:         %{name}-%{version}-hiscore.patch
URL:            http://www.linux-games.com/penguin-command/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Penguin Command is a clone of the classic Missile Command game, with
better graphics and sound. The gameplay has been slightly modified.



Authors:
--------
    Karl Bartel <karlb@gmx.net>

%prep
%setup -q
%patch0

%build
autoreconf -f -i
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i %{name} Game ArcadeGame
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp data/gfx/icon.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.xpm

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_prefix}/bin/*
%{_datadir}/penguin-command
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.xpm
%doc %{_mandir}/man6/*

%changelog
* Tue Sep 11 2007 - prusnak@suse.cz
- fixed entering hiscore (hiscore.patch) [#308254]
* Thu Jul 26 2007 - prusnak@suse.cz
- updated to 1.6.11
  * fixed possible buffer overflow when $HOME is very large
  * removed "Penguin Night" since it seemed to cause random crashes
* Thu Feb 22 2007 - prusnak@suse.cz
- updated to 1.6.10
  * fixed a possible freeze in Help/Options menu
- dropped obsoleted patch:
  * penguin-command-1.6.6-fixes.patch
* Thu Mar 23 2006 - nadvornik@suse.cz
- fixed uninitialized variable [#156964]
* Fri Jan 27 2006 - nadvornik@suse.cz
- fixed BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 29 2005 - nadvornik@suse.cz
- installed icon [#113660]
- fixed implicit declarations
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Mon Aug 25 2003 - nadvornik@suse.cz
- updated to 1.6.6
* Sun Aug 10 2003 - sndirsch@suse.de
- added desktop file
* Tue Nov 26 2002 - nadvornik@suse.cz
- fixed to compile with new gcc
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Tue Jan 22 2002 - ro@suse.de
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
* Wed Aug 08 2001 - ro@suse.de
- changed neededforbuild <sdl> to <SDL>
- changed neededforbuild <sdl-devel> to <SDL-devel>
* Wed Jun 20 2001 - nadvornik@suse.cz
- added kdelibs and kdelibs-devel to neededforbuild
* Tue May 08 2001 - mfabian@suse.de
- bzip2 sources
* Wed Apr 25 2001 - nadvornik@suse.cz
- fixed problems with new sdl
* Mon Mar 26 2001 - ro@suse.de
- changed neededforbuild <sdl> to <sdl sdl-devel>
* Wed Feb 21 2001 - nadvornik@suse.cz
- added alsa, alsa-devel to neededforbuild
* Fri Dec 01 2000 - nadvornik@suse.cz
- new package
openSUSE Build Service is sponsored by