]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: bcond for non-gtk gui (gfceux) | |
3 | # | |
4 | Summary: FCE Ultra - Linux Nintendo Entertainment System emulator | |
5 | Summary(pl.UTF-8): FCE Ultra - linuksowy emulator systemu Nintendo | |
6 | Name: fceultra | |
7 | Version: 2.1.5 | |
8 | Release: 1 | |
9 | License: GPL v2+ | |
10 | Group: X11/Applications/Games | |
11 | Source0: http://downloads.sourceforge.net/fceultra/fceux-%{version}.src.tar.bz2 | |
12 | # Source0-md5: e8b20e62bbbb061b1a59d51b47c827bd | |
13 | Patch0: %{name}-build.patch | |
14 | URL: http://fceultra.sourceforge.net/ | |
15 | BuildRequires: OpenGL-GLU-devel | |
16 | BuildRequires: SDL >= 1.2.14 | |
17 | BuildRequires: SDL_gfx-devel >= 1.2.14 | |
18 | BuildRequires: gtk+2-devel | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: scons | |
21 | BuildRequires: zenity | |
22 | Requires: zenity | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus. | |
30 | ||
31 | %prep | |
32 | %setup -q -n fceu%{version} | |
33 | %patch0 -p1 | |
34 | ||
35 | %build | |
36 | %scons | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{_bindir} | |
41 | ||
42 | cp -a bin/fceux $RPM_BUILD_ROOT%{_bindir} | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc Authors.txt README-SDL TODO-PROJECT TODO-SDL changelog.txt documentation | |
50 | %attr(755,root,root) %{_bindir}/fceux |