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