- updated to 2.2.1
[packages/fceultra.git] / fceultra.spec
CommitLineData
47bdd946 1#
2# TODO: bcond for non-gtk gui (gfceux)
3#
13d75901
BZ
4Summary: FCE Ultra - Linux Nintendo Entertainment System emulator
5Summary(pl.UTF-8): FCE Ultra - linuksowy emulator systemu Nintendo
6Name: fceultra
c5baaead
JR
7Version: 2.2.1
8Release: 1
47bdd946 9License: GPL v2+
13d75901 10Group: X11/Applications/Games
c5baaead
JR
11Source0: http://downloads.sourceforge.net/fceultra/fceux-%{version}.src.tar.gz
12# Source0-md5: 696d0186afb17f3b70d4aa9e9f5cf1d1
13Patch0: lua51.patch
14Patch1: format-security.patch
13d75901
BZ
15URL: http://fceultra.sourceforge.net/
16BuildRequires: OpenGL-GLU-devel
47bdd946 17BuildRequires: SDL >= 1.2.14
18BuildRequires: SDL_gfx-devel >= 1.2.14
456c8f71 19BuildRequires: gtk+2-devel
20BuildRequires: pkgconfig
e0fc8baf
BZ
21BuildRequires: scons
22BuildRequires: zenity
23Requires: zenity
13d75901
BZ
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator.
28
29%description -l pl.UTF-8
30FCE 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
38CC="%{__cc}" \
39CXX="%{__cxx}" \
40CFLAGS="%{rpmcflags}" \
41LDFLAGS="%{rpmldflags}" \
42LIBS="-ldl" \
e0fc8baf 43%scons
47bdd946 44
13d75901
BZ
45%install
46rm -rf $RPM_BUILD_ROOT
e0fc8baf 47install -d $RPM_BUILD_ROOT%{_bindir}
13d75901 48
47bdd946 49cp -a bin/fceux $RPM_BUILD_ROOT%{_bindir}
13d75901
BZ
50
51%clean
52rm -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
This page took 0.065654 seconds and 4 git commands to generate.