1 |
# Since it is an emulator, this package should be submitted to tainted |
2 |
|
3 |
Name: mednafen |
4 |
Version: 0.9.33.3 |
5 |
Release: %mkrel 1 |
6 |
Summary: Multi-system emulator |
7 |
License: GPLv2+ |
8 |
URL: http://mednafen.sourceforge.net/ |
9 |
Group: Emulators |
10 |
Source0: https://prdownloads.sourceforge.net/mednafen/%{name}-%{version}.tar.bz2 |
11 |
Patch0: mednafen-0.9.26-wip-automake-1.13.patch |
12 |
|
13 |
BuildRequires: bison |
14 |
BuildRequires: pkgconfig(alsa) |
15 |
BuildRequires: pkgconfig(glu) |
16 |
BuildRequires: pkgconfig(jack) |
17 |
BuildRequires: pkgconfig(libcdio) |
18 |
BuildRequires: pkgconfig(sdl) |
19 |
BuildRequires: pkgconfig(SDL_net) |
20 |
BuildRequires: pkgconfig(sndfile) |
21 |
BuildRequires: pkgconfig(zlib) |
22 |
|
23 |
%description |
24 |
Mednafen is a portable, command-line-driven multi-system emulator utilizing |
25 |
OpenGL and SDL. Mednafen has the ability to remap hotkey functions and |
26 |
virtual system inputs to a keyboard, a joystick, or both simultaneously. |
27 |
|
28 |
The following systems are supported: |
29 |
- Atari Lynx |
30 |
- GameBoy (Color) |
31 |
- GameBoy Advance |
32 |
- Neo Geo Pocket (Color) |
33 |
- Nintendo Entertainment System |
34 |
- PC Engine/TurboGrafx 16 (CD) |
35 |
- PC-FX |
36 |
- Sega Game Gear |
37 |
- Sega Genesis/Megadrive |
38 |
- Sega Master System |
39 |
- Sony Playstation |
40 |
- Super Nintendo Entertainment System/Super Famicom |
41 |
- SuperGrafx |
42 |
- Virtual Boy |
43 |
- WonderSwan |
44 |
|
45 |
Warning: No GUI. |
46 |
|
47 |
%files -f %{name}.lang |
48 |
%doc ChangeLog TODO Documentation/* |
49 |
%{_bindir}/%{name} |
50 |
%{_datadir}/%{name}/c68k_op0.inc |
51 |
|
52 |
#-------------------------------------------------------------------- |
53 |
|
54 |
%prep |
55 |
%setup -q -n %{name} |
56 |
%apply_patches |
57 |
|
58 |
find ./src -type f -exec chmod 644 {} \; |
59 |
find ./src -type d -exec chmod 755 {} \; |
60 |
|
61 |
%build |
62 |
autoreconf -vfi |
63 |
%configure2_5x |
64 |
%make |
65 |
|
66 |
%install |
67 |
%makeinstall_std |
68 |
|
69 |
# Clear doc folder from unneeded bits |
70 |
pushd Documentation |
71 |
rm -rf docgen.inc \ |
72 |
generate.sh \ |
73 |
Makefile* \ |
74 |
*.php |
75 |
popd |
76 |
|
77 |
%find_lang %{name} |