File aspectrum.spec of Package aspectrum

#
# spec file for package spec (Version 2.0)
#
# Copyright (c) 2003 SuSE Linux AG, 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://www.suse.de/feedback/
#

# norootforbuild

Name:         aspectrum
License:      GPL
Group:        unsorted
Autoreqprov:  on
Version:      0.1.8
Release:      0
Summary:      Sinclair ZX Spectrum Emulator
Source:       %{name}_%{version}_src.zip
Source1:      48spanish.rom
Patch:        %name-%version.dif
Patch1:        %name-sequence-point.patch
BuildRequires: allegro-devel unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Emulates these Spectrum models:

* 48K
* 128K
* Inves
* +2
* +3

%prep
%setup
%patch
%patch1
cp -p %SOURCE1 .

%build
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT/usr

%files
%defattr(-,root,root)
/usr/bin/aspectrum
/usr/share/aspectrum
%doc %_docdir/aspectrum

%changelog
* Thu Nov 13 2008 - uli@suse.de
- fixed to build
openSUSE Build Service is sponsored by