File SimCoupe.spec of Package SimCoupe
#
# spec file for package SimCoupe
#
# Copyright (c) 2013 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/
#
Name: SimCoupe
Version: 1.0
Release: 0
License: GPL-2.0+
Summary: MGT SAM Coupé Emulator
Url: http://www.simcoupe.org
Group: System/Emulators/Other
Source: %{name}-%{version}.tar.gz
#PATCH-FIX-OPENSUSE SimCoupe.dif uli@suse.com -- Use OpenGL
Patch0: %{name}.dif
BuildRequires: SAASound-devel
BuildRequires: SDL-devel
BuildRequires: gcc-c++
BuildRequires: xorg-x11-Mesa-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
MGT SAM Coupé emulator with a nice user interface.
%prep
%setup -n %{name}
%patch0
%build
cd SDL
make %{?_smp_mflags}
%install
cd SDL
install -D -m 755 simcoupe %{buildroot}%{_bindir}/simcoupe
%files
%defattr(-,root,root)
%doc SimCoupe.txt
%doc ChangeLog.txt
%{_bindir}/simcoupe
%changelog