File mednafen.spec of Package mednafen

# spec file for package mednafen
# Copyright (c) 2017 SUSE LINUX 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
Name:         mednafen
License:      GPL-2.0+
Group:        System/Emulators/Other
Release:      0
Summary:      Multiple video game console emulator
BuildRequires:gcc-c++ zlib-devel Mesa-libGL-devel libSDL-devel libcdio-devel libsndfile-devel libjack-devel
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

Mednafen is a 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. Save states are supported, as is real-time game
rewinding. Screen snapshots may be taken, in the PNG file format, at
the press of a button. Mednafen can record audiovisual movies in the
QuickTime file format, with several different lossless codecs

Nintendo: NES, FDS, Game Boy (Color|Advance), Super Nintendo, Virtual Boy.
Sega: Master System, Game Gear, Genesis/MegaDrive, Saturn (x86_64 only).
Nec: TurboGrafx-16/PC Engine (CD), SuperGrafx, PC-FX.
Sony: PlayStation.
Atari: Lynx.
SNK: Neo Geo Poket (Color).
Bandai: Wonderswan (Color).

%setup -q -n %name

export CFLAGS="%{optflags} -O3 -fomit-frame-pointer -pipe -DNDEBUG"
make %{?_smp_mflags}

%find_lang %{name}

%files -f %{name}.lang

openSUSE Build Service is sponsored by