# Since it is an emulator, this package should be submitted to tainted Name: mednafen Version: 0.9.33.3 Release: %mkrel 1 Summary: Multi-system emulator License: GPLv2+ URL: http://mednafen.sourceforge.net/ Group: Emulators Source0: https://prdownloads.sourceforge.net/mednafen/%{name}-%{version}.tar.bz2 Patch0: mednafen-0.9.26-wip-automake-1.13.patch BuildRequires: bison BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(SDL_net) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(zlib) %description Mednafen is a portable, command-line-driven multi-system emulator utilizing OpenGL and SDL. Mednafen has the ability to remap hotkey functions and virtual system inputs to a keyboard, a joystick, or both simultaneously. The following systems are supported: - Atari Lynx - GameBoy (Color) - GameBoy Advance - Neo Geo Pocket (Color) - Nintendo Entertainment System - PC Engine/TurboGrafx 16 (CD) - PC-FX - Sega Game Gear - Sega Genesis/Megadrive - Sega Master System - Sony Playstation - Super Nintendo Entertainment System/Super Famicom - SuperGrafx - Virtual Boy - WonderSwan Warning: No GUI. %files -f %{name}.lang %doc ChangeLog TODO Documentation/* %{_bindir}/%{name} %{_datadir}/%{name}/c68k_op0.inc #-------------------------------------------------------------------- %prep %setup -q -n %{name} %apply_patches find ./src -type f -exec chmod 644 {} \; find ./src -type d -exec chmod 755 {} \; %build autoreconf -vfi %configure2_5x %make %install %makeinstall_std # Clear doc folder from unneeded bits pushd Documentation rm -rf docgen.inc \ generate.sh \ Makefile* \ *.php popd %find_lang %{name}