Name: openmsx Version: 0.6.2 Release: 4%{?dist} Summary: An emulator for the MSX home computer system Group: Applications/Emulators License: GPL+ URL: http://openmsx.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: openmsx-0.6.1-installbase.patch Patch1: openmsx-0.6.1-flavour.patch Patch2: openmsx-0.6.1-datadir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: docbook-utils BuildRequires: glew-devel >= 1.3.2 BuildRequires: ImageMagick BuildRequires: jack-audio-connection-kit-devel BuildRequires: libpng-devel BuildRequires: libxml2-devel BuildRequires: SDL_image-devel BuildRequires: tcl-devel >= 8.4.0 BuildRequires: zlib-devel Requires: cbios-%{name} Requires: hicolor-icon-theme %description openMSX is an emulator for the MSX home computer system. Its goal is to emulate all aspects of the MSX with 100% accuracy. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 # Verbose compilation sed -i 's/@$(COMPILE_ENV)/$(COMPILE_ENV)/' build/main.mk # Correct some permissions chmod 0644 share/extensions/rs232/hardwareconfig.xml share/extensions/gfx9000/hardwareconfig.xml \ share/extensions/debugdevice/hardwareconfig.xml # Make the custom flavour module, so we can use RPM OPT FLAGS here cat > build/flavour-rpm.mk << EOF # $Id: flavour-rpm.mk,v 1.1 2006/08/06 06:32:02 mthuurne Exp $ # # RPM opt flavour: # Opt flags. CXXFLAGS+=%{optflags} # Dont strip exe, let rpm do it and save debug info OPENMSX_STRIP:=false EOF # Move documentation to a sensible location echo 'System ROM Dir: %{_datadir}/%{name}/systemroms' > systemroms-README cat share/systemroms/README >> doc/systemroms-README rm -f share/systemroms/README echo '%{_datadir}/%{name}/machines/Boosted_MSX2_EN/roms' > Boosted_MSX2_EN-roms-README cat share/machines/Boosted_MSX2_EN/roms/README >> doc/Boosted_MSX2_EN-roms-README rm -f share/machines/Boosted_MSX2_EN/roms/README echo '%{_datadir}/%{name}/machines/Boosted_MSX2_EN' > Boosted_MSX2_EN-README cat share/machines/Boosted_MSX2_EN/README >> doc/Boosted_MSX2_EN-README rm -f share/machines/Boosted_MSX2_EN/README %build %configure make %{?_smp_mflags} # Build desktop icon cat >%{name}.desktop < 0.6.2-4 - License field corrected * Sun Aug 26 2007 Ian Chapman 0.6.2-3 - Migration to Fedora - License field changed due to new guidelines * Sun May 06 2007 Ian Chapman 0.6.2-2 - Rebuild for glew 1.4.0 * Fri Apr 27 2007 Ian Chapman 0.6.2-1 - Upgrade to 0.6.2 - Increased compilation verbosity * Sun Mar 11 2007 Ian Chapman 0.6.1-2 - Dropped dribble-menus requirement, due to be obsoleted - Changed .desktop category to Game;Emulator; - Create the desktop icon from the skins (instead of using our own) * Sun Aug 06 2006 Ian Chapman 0.6.1-1 - Initial release