File blobbyvolley.spec of Package blobbyvolley
#
# spec file for package blobbyvolley (Version 0.6.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: blobbyvolley
License: GPL v2 only
Group: Amusements/Games/Action/Other
Requires: SDL physfs
BuildRequires: SDL-devel boost-devel cmake gcc gcc-c++ make perl physfs physfs-devel zip
AutoReqProv: on
Summary: BlobbyVolley, the famous beach volleyball game
Url: http://blobby.sourceforge.net
Version: 0.6.0
Release: 40
Source0: %{name}-%{version}.tar.bz2
Patch0: rakpeer_delete.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ppc ppc64
%description
Blobby Volley is one of the most popular freeware games. This is caused
first by the simple play principle and second by the funny design of
the player. The short duration of a game is a reason for playing this
game in meantime.
Authors:
--------
Jonathan Sieber (Mail: jonathan_sieber@yahoo.de)
Daniel Knobe (Mail: daniel-knobe@web.de)
Sven Rech (Mail: svenrech@gmx.de)
Silvio Mummert (Mail: mummertathome@t-online.de)
New beach image: Richard Bertrand (Mail: ricbertrand@hotmail.com)
Daniel Skoraszewsky (Mail: skoraszewsky@t-online.de)
%prep
%setup
%patch0 -p1
#%patch1
%build
cmake .
make
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin/
cp src/blobby $RPM_BUILD_ROOT/usr/bin/blobbyvolley
cp blobby $RPM_BUILD_ROOT/usr/bin/
mkdir -p $RPM_BUILD_ROOT/usr/share/games/blobbyvolley/
cp -a data $RPM_BUILD_ROOT/usr/share/games/blobbyvolley/
find ./data > filelist
perl -i -p -n -e 's/^\.\//\/usr\/share\/games\/blobbyvolley\//' filelist
echo "/usr/share/games/blobbyvolley" >> filelist
echo "/usr/bin/blobbyvolley" >> filelist
echo "/usr/bin/blobby" >> filelist
%files -f filelist
%defattr(-,root,root)
%doc README
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Nov 24 2008 pzimmer@suse.de
- bnc#442864 delete replaced by delete []
* Thu Nov 20 2008 ro@suse.de
- buildrequire only boost-devel, not boost
* Wed Jul 23 2008 pkirsch@suse.de
- added ExclusiveArch Tag: x86, x86_64, ppc, ppc64
* Tue Jul 22 2008 pkirsch@suse.de
- added blobby bash script which checks for user configuration
data, if not present copied from /usr/share/games/blobbyvolley
* Wed Jul 16 2008 pkirsch@suse.de
- initial checkin
- fixed the missing include <algorithm> in some cpp files