File oldspark-c++.spec of Package oldspark-c++

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

# norootforbuild

Name:         oldspark-c++
License:      GPL
Group:        unsorted
Autoreqprov:  on
Version:      0
Release:      0
Summary:      Multi-system Arcade Game Emulator
Source:       OldSpark-C++-src.zip
Patch:        %name-src.dif
BuildRequires: SDL-devel zlib-devel gcc-c++ unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Multi-system arcade game emulator supporting the following games:

        pacman.zip
        puckman.zip
        eyes.zip
        mrtnt.zip
        jumpshot.zip
        ponpoko.zip
        mspacmab.zip
        vanvan.zip
        galaxian.zip
        zigzag.zip
        piranha.zip
        lizwiz.zip
        solomon.zip
        mikie.zip

ROMs have to be placed in a directory "roms" under the working directory.

%prep
%setup -n %name-src
%patch
rm -f OldSpark-C++/machine/Mikie_Hdwr/Mikie.o

%build
cd OldSpark-C++
make %{?jobs:-j%jobs}

%install
install -D -m 755 OldSpark-C++/oldspark $RPM_BUILD_ROOT/usr/bin/oldspark

%files
%defattr(-,root,root)
%doc OldSpark-C++/readme.txt
/usr/bin/oldspark

%changelog
* Wed Jun 11 2008 - uli@suse.de
- fixed to build with new toolchain
openSUSE Build Service is sponsored by