# $Id$ # Authority: matthias %{?fedora: %{expand: %%define fc%{fedora} 1}} %{?el4:%define _without_modxorg 1} %{?el3:%define _without_modxorg 1} Summary: Nintendo GameBoy Color emulator Name: gnuboy Version: 1.0.3 Release: 11%{?dist} License: GPL Group: Applications/Emulators URL: http://gnuboy.unix-fu.org/ Source: http://gnuboy.unix-fu.org/src/%{name}-%{version}.tar.gz Patch0: gnuboy-1.0.3-s64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: SDL >= 1.2.0 BuildRequires: SDL-devel >= 1.2.0 %{!?_without_modxorg:BuildRequires: libXt-devel} %{?_without_modxorg:BuildRequires: XFree86-devel} %description gnuboy (all lowercase) is a portable program for emulating the Nintendo GameBoy Color software platform. %prep %setup %patch0 -p1 -b .s64 %build %configure %{__make} %{?_smp_mflags} LDFLAGS="" %install %{__rm} -rf %{buildroot} %makeinstall %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYING docs/* README %{_bindir}/* %changelog * Tue Oct 17 2006 Matthias Saou 1.0.3-11 - Add patch to force definition of __s64 since when using -ansi on i386 it doesn't get defined anymore. * Wed Mar 22 2006 Matthias Saou 1.0.3-10 - Fix modular X build requirement. * Fri Mar 17 2006 Matthias Saou 1.0.3-9 - Release bump to drop the disttag number in FC5 build. * Thu Jan 12 2006 Matthias Saou 1.0.3-8 - Add modular xorg build conditional. * Fri Nov 11 2005 Dries verachtert 1.0.3-7 - Fixed the source url. * Sun Jun 5 2005 Matthias Saou 1.0.3-6 - Remove LDFLAGS (-s) to get useful debuginfo package. * Tue May 18 2004 Matthias Saou 1.0.3-5 - Rebuild for Fedora Core 2. * Fri Dec 12 2003 Matthias Saou 1.0.3-4 - Rebuild for Fedora Core 1. * Mon Mar 31 2003 Matthias Saou - Rebuilt for Red Hat Linux 9. * Thu Oct 10 2002 Matthias Saou - Rebuilt for Red Hat Linux 8.0. * Mon Jul 8 2002 Matthias Saou - Spec file update. - Update to 1.0.3. * Tue Jul 03 2001 Henri Gomez - gnuboy 1.0.0 RPM release 2 - added docs in docdir * Tue Jul 03 2001 Henri Gomez - Initial RPM release - for i386 platform use nasm for better performance. - Built under Redhat 6.2 with updates with rpm 3.0.5