]>
Commit | Line | Data |
---|---|---|
13d75901 BZ |
1 | Summary: FCE Ultra - Linux Nintendo Entertainment System emulator |
2 | Summary(pl.UTF-8): FCE Ultra - linuksowy emulator systemu Nintendo | |
3 | Name: fceultra | |
a7cc4094 | 4 | Version: 2.6.6 |
4db4bb8d | 5 | Release: 2 |
47bdd946 | 6 | License: GPL v2+ |
13d75901 | 7 | Group: X11/Applications/Games |
a7cc4094 KM |
8 | Source0: https://github.com/TASEmulators/fceux/archive/refs/tags/v%{version}.tar.gz |
9 | # Source0-md5: 8e1aede624ebe26f0a936daba3b87328 | |
13d75901 | 10 | URL: http://fceultra.sourceforge.net/ |
f81e99a4 KM |
11 | BuildRequires: Mesa-libGLU-devel |
12 | BuildRequires: Qt5Core-devel >= 5.11 | |
13 | BuildRequires: Qt5Gui-devel >= 5.11 | |
14 | BuildRequires: Qt5OpenGL-devel >= 5.11 | |
15 | BuildRequires: Qt5Widgets-devel >= 5.11 | |
16 | BuildRequires: SDL2 >= 2.0 | |
17 | BuildRequires: cmake | |
18 | BuildRequires: lua51-devel | |
19 | BuildRequires: minizip-devel | |
456c8f71 | 20 | BuildRequires: pkgconfig |
c26c1182 | 21 | Requires: Qt5Gui-platform-xcb-glx >= 5.11 |
13d75901 BZ |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus. | |
29 | ||
30 | %prep | |
c5baaead | 31 | %setup -q -n fceux-%{version} |
13d75901 BZ |
32 | |
33 | %build | |
6f2ad28d KM |
34 | CFLAGS="%{rpmcflags}" |
35 | CXXFLAGS="%{rpmcxxflags}" | |
f81e99a4 | 36 | mkdir -p build |
57c3802d KM |
37 | cd build |
38 | %cmake .. | |
f81e99a4 KM |
39 | |
40 | %{__make} | |
47bdd946 | 41 | |
13d75901 BZ |
42 | %install |
43 | rm -rf $RPM_BUILD_ROOT | |
57c3802d | 44 | cd build |
f81e99a4 KM |
45 | %{__make} install \ |
46 | DESTDIR=$RPM_BUILD_ROOT | |
57c3802d | 47 | cd .. |
13d75901 | 48 | |
f81e99a4 KM |
49 | install -d $RPM_BUILD_ROOT%{_mandir}/man6/ |
50 | %{__mv} documentation/fceux.6 $RPM_BUILD_ROOT%{_mandir}/man6/ | |
51 | %{__mv} documentation/fceux-net-server.6 $RPM_BUILD_ROOT%{_mandir}/man6/ | |
13d75901 BZ |
52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
f81e99a4 | 58 | %doc README TODO-SDL changelog.txt readme.md documentation/* |
47bdd946 | 59 | %attr(755,root,root) %{_bindir}/fceux |
f81e99a4 KM |
60 | %dir %{_datadir}/fceux |
61 | %dir %{_datadir}/fceux/luaScripts | |
62 | %dir %{_datadir}/fceux/palettes | |
63 | %dir %{_datadir}/fceux/tools | |
64 | %{_datadir}/fceux/*.{dll,chm} | |
65 | %{_datadir}/fceux/luaScripts/* | |
66 | %{_datadir}/fceux/palettes/* | |
67 | %{_datadir}/fceux/tools/* | |
68 | %{_mandir}/man6/fceux-net-server.6* | |
69 | %{_mandir}/man6/fceux.6* | |
70 | %{_pixmapsdir}/fceux1.png | |
71 | %{_desktopdir}/fceux.desktop |