1 |
%define subrel 1 |
2 |
|
3 |
Name: mednafen |
4 |
Version: 0.9.18 |
5 |
Release: %mkrel 2 |
6 |
Summary: Multi-consoles Emulator |
7 |
License: GPLv2+ |
8 |
URL: http://mednafen.sourceforge.net/ |
9 |
Group: Emulators |
10 |
Source0: %{name}-%{version}-wip.tar.bz2 |
11 |
Patch0: mednafen-9.17.1-formatfix.patch |
12 |
BuildRequires: libcdio-devel |
13 |
BuildRequires: libvorbis-devel |
14 |
BuildRequires: SDL_net-devel |
15 |
BuildRequires: libsndfile-devel |
16 |
BuildRequires: alsa-lib-devel |
17 |
BuildRequires: zlib-devel |
18 |
BuildRequires: bison |
19 |
BuildRequires: SDL-devel |
20 |
BuildRequires: mesagl-devel |
21 |
BuildRequires: mesaglu-devel |
22 |
|
23 |
%description |
24 |
Mednafen emulates several consoles: |
25 |
-Atari Lynx |
26 |
-GameBoy (Color) |
27 |
-GameBoy Advance |
28 |
-Neo Geo Pocket (Color) |
29 |
-NES |
30 |
-SNES |
31 |
-PC Engine (TurboGrafx 16) |
32 |
-PC-FX |
33 |
-Sega Master System & Game Gear |
34 |
-SuperGrafx |
35 |
-Virtual Boy |
36 |
-WonderSwan (Color) |
37 |
|
38 |
Warning: No GUI. |
39 |
|
40 |
%files -f %{name}.lang |
41 |
%defattr(-,root,root) |
42 |
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL TODO Documentation/* |
43 |
%{_bindir}/%{name} |
44 |
%{_datadir}/%{name}/c68k_op0.inc |
45 |
|
46 |
#-------------------------------------------------------------------- |
47 |
|
48 |
%prep |
49 |
%setup -q -n %{name} |
50 |
%patch0 -p1 |
51 |
find ./src -type f -exec chmod 644 '{}' + |
52 |
find ./src -type d -exec chmod 755 '{}' + |
53 |
|
54 |
%build |
55 |
autoreconf -i |
56 |
%configure2_5x |
57 |
%make |
58 |
|
59 |
%install |
60 |
%makeinstall_std |
61 |
|
62 |
%find_lang %{name} |
63 |
|