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