1 |
akien |
602474 |
# Since it is an emulator, this package should be submitted to tainted |
2 |
|
|
|
3 |
akien |
602459 |
Name: mednafen |
4 |
akien |
602474 |
Version: 0.9.33.1 |
5 |
|
|
Release: %mkrel 1 |
6 |
akien |
602459 |
Summary: Multi-system emulator |
7 |
|
|
License: GPLv2+ |
8 |
|
|
URL: http://mednafen.sourceforge.net/ |
9 |
|
|
Group: Emulators |
10 |
akien |
602474 |
Source0: https://prdownloads.sourceforge.net/mednafen/%{name}-%{version}.tar.bz2 |
11 |
akien |
602459 |
Patch0: mednafen-0.9.26-wip-automake-1.13.patch |
12 |
dmorgan |
160247 |
|
13 |
akien |
602459 |
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 |
dmorgan |
160247 |
%description |
24 |
akien |
602459 |
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 |
dmorgan |
160247 |
|
28 |
akien |
602459 |
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 |
dmorgan |
160247 |
Warning: No GUI. |
46 |
|
|
|
47 |
|
|
%files -f %{name}.lang |
48 |
akien |
602459 |
%doc ChangeLog TODO Documentation/* |
49 |
dmorgan |
160247 |
%{_bindir}/%{name} |
50 |
|
|
%{_datadir}/%{name}/c68k_op0.inc |
51 |
|
|
|
52 |
|
|
#-------------------------------------------------------------------- |
53 |
|
|
|
54 |
|
|
%prep |
55 |
|
|
%setup -q -n %{name} |
56 |
akien |
602459 |
%apply_patches |
57 |
dmorgan |
160247 |
|
58 |
wally |
325098 |
find ./src -type f -exec chmod 644 {} \; |
59 |
|
|
find ./src -type d -exec chmod 755 {} \; |
60 |
|
|
|
61 |
dmorgan |
160247 |
%build |
62 |
wally |
325098 |
autoreconf -vfi |
63 |
|
|
%configure2_5x |
64 |
dmorgan |
160247 |
%make |
65 |
|
|
|
66 |
|
|
%install |
67 |
wally |
325098 |
%makeinstall_std |
68 |
|
|
|
69 |
akien |
602459 |
# Clear doc folder from unneeded bits |
70 |
|
|
pushd Documentation |
71 |
|
|
rm -rf docgen.inc \ |
72 |
|
|
generate.sh \ |
73 |
|
|
Makefile* \ |
74 |
|
|
*.php |
75 |
|
|
popd |
76 |
wally |
325098 |
|
77 |
dmorgan |
160247 |
%find_lang %{name} |