]> git.pld-linux.org Git - packages/fceultra.git/blob - fceultra.spec
- completed dependencies, release 3 (libx264 0.164)
[packages/fceultra.git] / fceultra.spec
1 Summary:        FCE Ultra - Linux Nintendo Entertainment System emulator
2 Summary(pl.UTF-8):      FCE Ultra - linuksowy emulator systemu Nintendo
3 Name:           fceultra
4 Version:        2.6.4
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 #Source0:       http://downloads.sourceforge.net/fceultra/fceux-%{version}.src.tar.gz
9 Source0:        https://sourceforge.net/projects/fceultra/files/Source%20Code/%{version}%20src/fceux-%{version}.tar.gz
10 # Source0-md5:  70d781780f2fcc73f3f5b7ceb76ad2e1
11 URL:            http://fceultra.sourceforge.net/
12 BuildRequires:  Mesa-libGLU-devel
13 BuildRequires:  Qt5Core-devel >= 5.11
14 BuildRequires:  Qt5Gui-devel >= 5.11
15 BuildRequires:  Qt5OpenGL-devel >= 5.11
16 BuildRequires:  Qt5Widgets-devel >= 5.11
17 BuildRequires:  SDL2 >= 2.0
18 BuildRequires:  cmake
19 BuildRequires:  lua51-devel
20 BuildRequires:  minizip-devel
21 BuildRequires:  pkgconfig
22 Requires:       Qt5Gui-platform-xcb-glx >= 5.11
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 FCE Ultra is a cross platform, NTSC and PAL Famicom/NES emulator.
27
28 %description -l pl.UTF-8
29 FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus.
30
31 %prep
32 %setup -q -n fceux-%{version}
33
34 %build
35 CFLAGS="%{rpmcflags}"
36 CXXFLAGS="%{rpmcxxflags}"
37 mkdir -p build
38 cd build
39 %cmake ..
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 cd build
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48 cd ..
49
50 install -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/
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README TODO-SDL changelog.txt readme.md documentation/*
60 %attr(755,root,root) %{_bindir}/fceux
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.068906 seconds and 3 git commands to generate.