2 # TODO: bcond for non-gtk gui (gfceux)
4 Summary: FCE Ultra - Linux Nintendo Entertainment System emulator
5 Summary(pl.UTF-8): FCE Ultra - linuksowy emulator systemu Nintendo
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
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator.
28 %description -l pl.UTF-8
29 FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus.
32 %setup -q -n fceu%{version}
39 CFLAGS="%{rpmcflags}" \
40 LDFLAGS="%{rpmldflags}" \
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_bindir}
48 cp -a bin/fceux $RPM_BUILD_ROOT%{_bindir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc Authors.txt README-SDL TODO-PROJECT TODO-SDL changelog.txt documentation
56 %attr(755,root,root) %{_bindir}/fceux