- updated to 2.2.1
[packages/fceultra.git] / fceultra.spec
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.2.1
8 Release:        1
9 License:        GPL v2+
10 Group:          X11/Applications/Games
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
15 URL:            http://fceultra.sourceforge.net/
16 BuildRequires:  OpenGL-GLU-devel
17 BuildRequires:  SDL >= 1.2.14
18 BuildRequires:  SDL_gfx-devel >= 1.2.14
19 BuildRequires:  gtk+2-devel
20 BuildRequires:  pkgconfig
21 BuildRequires:  scons
22 BuildRequires:  zenity
23 Requires:       zenity
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
33 %setup -q -n fceux-%{version}
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 CC="%{__cc}" \
39 CXX="%{__cxx}" \
40 CFLAGS="%{rpmcflags}" \
41 LDFLAGS="%{rpmldflags}" \
42 LIBS="-ldl" \
43 %scons
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_bindir}
48
49 cp -a bin/fceux $RPM_BUILD_ROOT%{_bindir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Authors README-SDL TODO-SDL changelog.txt documentation
57 %attr(755,root,root) %{_bindir}/fceux
This page took 0.077486 seconds and 3 git commands to generate.