File trophy.spec of Package trophy

#
# spec file for package trophy (Version 1.1.5)
#
# Copyright (c) 2008 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:           trophy
BuildRequires:  SDL-devel doxygen gcc-c++ update-desktop-files
BuildRequires:  clanlib-devel >= 0.8.0
License:        GPL v2 or later
Group:          Amusements/Games/Action/Race
Summary:        2D car racing action game
Version:        1.1.5
Release:        60
Url:            http://trophy.sourceforge.net/
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}.desktop
Source2:        %{name}.png
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
TROPHY is a car racing game with some special features like shooting
and dropping bombs.



Authors:
--------
    Andrew Mustun <andrew@mustun.com>
    Benjamin Winkler <bentsch@mail.com>

%prep
%setup -q

%build
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
install -m 644 %{S:2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file trophy Game ArcadeGame

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO 
%{_bindir}/trophy
%{_datadir}/trophy
%{_datadir}/applications/trophy.desktop
%{_datadir}/pixmaps/trophy.png

%changelog
* Mon Apr 28 2008 ro@suse.de
- remove hermes-devel from buildreq
* Tue Oct 23 2007 pgajdos@suse.cz
- added gcc-c++ to BuildRequires
* Tue Oct 16 2007 prusnak@suse.cz
- updated to 1.1.5
  * compatible with ClanLib 0.8.0
  * bug fixes and code cleanup
- dropped obsolete trophy-1.1.3.patch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 06 2006 anicka@suse.cz
- fix desktop file, add icon
* Mon Oct 31 2005 dmueller@suse.de
- don't build as root
* Thu Aug 12 2004 mcihar@suse.cz
- add libpng to requires because of doxygen
* Sat Aug 16 2003 adrian@suse.de
- install desktop file from kappfinder
* Mon May 19 2003 mcihar@suse.cz
- updated to 1.1.3:
  * Added tracks: snake, rally.
- removed .cvsignore files
* Fri Feb 07 2003 mcihar@suse.cz
- updated to 1.1.1:
  * added some tracks (downtown, zigzag)
* Tue Nov 12 2002 ro@suse.de
- changed neededforbuild <xshared> to <x-devel-packages>
* Wed Nov 06 2002 mcihar@suse.cz
- added SDL-devel-packages into neededforbuild
* Wed Jun 12 2002 mcihar@suse.cz
- updated to 1.0.7
* Wed May 08 2002 schwab@suse.de
- Fix for gcc 3.1.
- Add DirectFB to neededforbuild.
* Mon Jan 28 2002 ro@suse.de
- compile with new clanlib
* Thu Nov 15 2001 rvasice@suse.cz
- fix includes
* Wed Aug 29 2001 rvasice@suse.cz
- fix to build on axp - remove making documentation
* Mon Jul 23 2001 rvasice@suse.cz
- fix to build on s390
* Fri Jul 13 2001 rvasice@suse.cz
- fix loading images
* Mon Jun 11 2001 rvasice@suse.cz
- update to version 1.0.6
* Fri Dec 08 2000 cihlar@suse.cz
- removed CVS directories and files
* Thu Nov 30 2000 cihlar@suse.cz
- removed making doc on axp
* Wed Nov 29 2000 cihlar@suse.cz
- package created
openSUSE Build Service is sponsored by