- release 5 (by relup.sh)
[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
ece97d12 7Version: 2.1.5
090fcaae 8Release: 5
47bdd946 9License: GPL v2+
13d75901 10Group: X11/Applications/Games
47bdd946 11Source0: http://downloads.sourceforge.net/fceultra/fceux-%{version}.src.tar.bz2
ece97d12 12# Source0-md5: e8b20e62bbbb061b1a59d51b47c827bd
13Patch0: %{name}-build.patch
13d75901
BZ
14URL: http://fceultra.sourceforge.net/
15BuildRequires: OpenGL-GLU-devel
47bdd946 16BuildRequires: SDL >= 1.2.14
17BuildRequires: SDL_gfx-devel >= 1.2.14
456c8f71 18BuildRequires: gtk+2-devel
19BuildRequires: pkgconfig
e0fc8baf
BZ
20BuildRequires: scons
21BuildRequires: zenity
22Requires: zenity
13d75901
BZ
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator.
27
28%description -l pl.UTF-8
29FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus.
30
31%prep
47bdd946 32%setup -q -n fceu%{version}
d6b3c3f8 33%undos src/file.cpp
ece97d12 34%patch0 -p1
13d75901
BZ
35
36%build
d6b3c3f8
AG
37CC="%{__cc}" \
38CXX="%{__cxx}" \
39CFLAGS="%{rpmcflags}" \
40LDFLAGS="%{rpmldflags}" \
41LIBS="-ldl" \
e0fc8baf 42%scons
47bdd946 43
13d75901
BZ
44%install
45rm -rf $RPM_BUILD_ROOT
e0fc8baf 46install -d $RPM_BUILD_ROOT%{_bindir}
13d75901 47
47bdd946 48cp -a bin/fceux $RPM_BUILD_ROOT%{_bindir}
13d75901
BZ
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
47bdd946 55%doc Authors.txt README-SDL TODO-PROJECT TODO-SDL changelog.txt documentation
56%attr(755,root,root) %{_bindir}/fceux
This page took 0.086273 seconds and 4 git commands to generate.