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