File gnuboy.spec of Package gnuboy

# spec file for package gnuboy (Version 1.0.3)
# Copyright (c) 2009 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

# norootforbuild

Name:           gnuboy
BuildRequires:  SDL-devel xorg-x11
License:        GNU General Public License (GPL)
Group:          System/Emulators/Other
#Requires:     xforms
AutoReqProv:    on
Version:        1.0.3
Release:        1061
Summary:        Game Boy Color Emulator
Source:         gnuboy-%{version}.tar.bz2
Patch:          gnuboy-implicit_decl.patch
Patch1:         gnuboy-1.0.3.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

gnuboy emulates the Color GameBoy handheld console in portable C with
interfaces for X11, Linux fbcon and svgalib, SDL, DOS, and Windows,
with other ports planned in the future. Compatibility with ROMs tested
is around 99 percent, and all major hardware features except SGB
extensions are supported. With the optional optimized i386 assembly
code, gnuboy can run at the full 60 FPS even on Pentium/75s and below.

    Gilgamesh <>
    Damian M Gryski
    Ralf Hoffmann
    David Lau
    Mattias Wadman
    Matthew Conte
    Markus F.X.J. Oberhumer
    Dave Kiddell
    Magnus Damm


CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \
	--disable-asm --enable-optimize=full --disable-arch

mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/usr/X11R6/bin
make bindir=$RPM_BUILD_ROOT/usr/bin install



openSUSE Build Service is sponsored by