LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gnuboy.spec of Package gnuboy (Project Emulators)

#
# spec file for package gnuboy
#
# Copyright (c) 2012 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:           gnuboy
BuildRequires:  SDL-devel
BuildRequires:  xorg-x11
Url:            http://gnuboy.unix-fu.org/
#Requires:     xforms
Version:        1.0.3
Release:        0
Summary:        Game Boy Color Emulator
License:        GPL-2.0+
Group:          System/Emulators/Other
Source:         gnuboy-%{version}.tar.bz2
Patch:          gnuboy-implicit_decl.patch
Patch1:         gnuboy-1.0.3.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
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.



Authors:
--------
    Gilgamesh <gnuboy@starfox.org>
    Laguna
    Damian M Gryski
    Ralf Hoffmann
    David Lau
    Mattias Wadman
    Matthew Conte
    Markus F.X.J. Oberhumer
    Dave Kiddell
    Magnus Damm

%prep
%setup
%patch
%patch1

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

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING INSTALL README docs/*
/usr/bin/*

%changelog