]>
Commit | Line | Data |
---|---|---|
47bdd946 | 1 | # |
2 | # TODO: bcond for non-gtk gui (gfceux) | |
3 | # | |
13d75901 BZ |
4 | Summary: FCE Ultra - Linux Nintendo Entertainment System emulator |
5 | Summary(pl.UTF-8): FCE Ultra - linuksowy emulator systemu Nintendo | |
6 | Name: fceultra | |
c5baaead JR |
7 | Version: 2.2.1 |
8 | Release: 1 | |
47bdd946 | 9 | License: GPL v2+ |
13d75901 | 10 | Group: X11/Applications/Games |
c5baaead JR |
11 | Source0: http://downloads.sourceforge.net/fceultra/fceux-%{version}.src.tar.gz |
12 | # Source0-md5: 696d0186afb17f3b70d4aa9e9f5cf1d1 | |
13 | Patch0: lua51.patch | |
14 | Patch1: format-security.patch | |
13d75901 BZ |
15 | URL: http://fceultra.sourceforge.net/ |
16 | BuildRequires: OpenGL-GLU-devel | |
47bdd946 | 17 | BuildRequires: SDL >= 1.2.14 |
18 | BuildRequires: SDL_gfx-devel >= 1.2.14 | |
456c8f71 | 19 | BuildRequires: gtk+2-devel |
20 | BuildRequires: pkgconfig | |
e0fc8baf BZ |
21 | BuildRequires: scons |
22 | BuildRequires: zenity | |
23 | Requires: zenity | |
13d75901 BZ |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus. | |
31 | ||
32 | %prep | |
c5baaead | 33 | %setup -q -n fceux-%{version} |
ece97d12 | 34 | %patch0 -p1 |
c5baaead | 35 | %patch1 -p1 |
13d75901 BZ |
36 | |
37 | %build | |
d6b3c3f8 AG |
38 | CC="%{__cc}" \ |
39 | CXX="%{__cxx}" \ | |
40 | CFLAGS="%{rpmcflags}" \ | |
41 | LDFLAGS="%{rpmldflags}" \ | |
42 | LIBS="-ldl" \ | |
e0fc8baf | 43 | %scons |
47bdd946 | 44 | |
13d75901 BZ |
45 | %install |
46 | rm -rf $RPM_BUILD_ROOT | |
e0fc8baf | 47 | install -d $RPM_BUILD_ROOT%{_bindir} |
13d75901 | 48 | |
47bdd946 | 49 | cp -a bin/fceux $RPM_BUILD_ROOT%{_bindir} |
13d75901 BZ |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
c5baaead | 56 | %doc Authors README-SDL TODO-SDL changelog.txt documentation |
47bdd946 | 57 | %attr(755,root,root) %{_bindir}/fceux |