]>
Commit | Line | Data |
---|---|---|
613b8bc6 | 1 | Summary: jDoom, jHeretic and jHexen for Linux |
5398b956 | 2 | Summary(pl.UTF-8): jDoom, jHeretic i jHexen dla Linuksa |
613b8bc6 | 3 | Name: doomsday |
4af7ce59 | 4 | Version: 2.3.1 |
e467d3ee | 5 | Release: 2 |
a4a33ef2 | 6 | License: GPL v2 / CC 3.0 (icons) |
613b8bc6 | 7 | Group: Applications/Games |
e943ed70 | 8 | Source0: http://downloads.sourceforge.net/deng/%{name}-%{version}.tar.gz |
4af7ce59 | 9 | # Source0-md5: 9ae2a3e053a6f11f37dfb450bb5e53cb |
a4a33ef2 | 10 | Source1: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-26/Doom-1-48x48.png |
76bc3a41 | 11 | # Source1-md5: b7b7a9389eba56679e5db65d95c06803 |
a4a33ef2 | 12 | Source2: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-23/Hexen-1-48x48.png |
76bc3a41 | 13 | # Source2-md5: 573845e6e747f68617ac67f3a87dc78e |
a4a33ef2 | 14 | Source3: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-28/Heretic-I-1-48x48.png |
76bc3a41 | 15 | # Source3-md5: c89e36c49eabe2846137f313a5250308 |
46c1e1fa ER |
16 | Source4: %{name}-doom.desktop |
17 | Source5: %{name}-heretic.desktop | |
18 | Source6: %{name}-hexen.desktop | |
aac57e3f | 19 | Patch0: link.patch |
96e1b283 | 20 | URL: http://www.dengine.net/ |
4af7ce59 JB |
21 | BuildRequires: OpenAL-devel |
22 | BuildRequires: OpenGL-devel >= 3.3 | |
55882195 | 23 | BuildRequires: Qt5Core-devel >= 5.5 |
4af7ce59 JB |
24 | BuildRequires: Qt5Gui-devel >= 5.5 |
25 | BuildRequires: Qt5Network-devel >= 5.5 | |
26 | BuildRequires: Qt5OpenGL-devel >= 5.5 | |
27 | BuildRequires: Qt5OpenGLExtensions-devel >= 5.5 | |
28 | BuildRequires: Qt5Widgets-devel >= 5.5 | |
29 | BuildRequires: Qt5X11Extras-devel >= 5.5 | |
30 | BuildRequires: SDL2-devel >= 2.0 | |
31 | BuildRequires: SDL2_mixer-devel >= 2.0 | |
65f3387c | 32 | BuildRequires: assimp-devel |
55882195 | 33 | BuildRequires: cmake >= 3.1 |
4af7ce59 JB |
34 | BuildRequires: fluidsynth-devel |
35 | BuildRequires: libstdc++-devel >= 6:4.7 | |
36 | BuildRequires: minizip-devel >= 1.2.11 | |
8755e793 | 37 | BuildRequires: ncurses-devel |
5a429c39 | 38 | BuildRequires: pkgconfig |
4af7ce59 JB |
39 | BuildRequires: python3 >= 1:3.2 |
40 | BuildRequires: python3-modules >= 1:3.2 | |
41 | BuildRequires: qt5-build >= 5.5 | |
42 | BuildRequires: qt5-qmake >= 5.5 | |
5a429c39 | 43 | BuildRequires: rpm-pythonprov |
4af7ce59 JB |
44 | BuildRequires: rpmbuild(macros) >= 1.605 |
45 | BuildRequires: xorg-lib-libICE-devel | |
46 | BuildRequires: xorg-lib-libSM-devel | |
47 | BuildRequires: xorg-lib-libX11-devel | |
48 | BuildRequires: xorg-lib-libXext-devel | |
5a429c39 | 49 | BuildRequires: xorg-lib-libXrandr-devel |
4af7ce59 JB |
50 | BuildRequires: xorg-lib-libXxf86vm-devel |
51 | BuildRequires: zlib-devel | |
85be4bea | 52 | Requires(post): /sbin/ldconfig |
663fb57e | 53 | Requires: TiMidity++ |
613b8bc6 | 54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
613b8bc6 | 56 | %description |
96e1b283 ER |
57 | The Doomsday Engine allows you to play the classic first-person |
58 | shooters DOOM, Heretic, and Hexen using modern technology, with | |
59 | hardware accelerated 3D graphics, surround sound and much more. | |
613b8bc6 | 60 | |
39e9285b | 61 | %description -l pl.UTF-8 |
4af7ce59 JB |
62 | Silnik Doomsday pozwala grać w klasyczne strzelaniny FPP, takie |
63 | jak DOOM, Heretic i Hexen przy użyciu współczesnej technologii, | |
64 | ze sprzętowo akcelerowaną grafiką 3D, dźwiękiem surround itp. | |
613b8bc6 | 65 | |
66 | %prep | |
e943ed70 | 67 | %setup -q |
aac57e3f | 68 | %patch0 -p1 |
613b8bc6 | 69 | |
70 | %build | |
55882195 ER |
71 | install -d build |
72 | cd build | |
4af7ce59 JB |
73 | %cmake ../doomsday \ |
74 | -DDENG_ASSIMP_EMBEDDED=OFF | |
75 | ||
613b8bc6 | 76 | %{__make} |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
e943ed70 | 80 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_mandir}/man6} |
4af7ce59 | 81 | |
55882195 | 82 | %{__make} -C build install \ |
e943ed70 | 83 | DESTDIR=$RPM_BUILD_ROOT |
613b8bc6 | 84 | |
663cbbff | 85 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/texc |
1305a4f7 ER |
86 | # no -devel package. cleanup |
87 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdeng_*.so | |
e943ed70 JR |
88 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir} |
89 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake | |
1305a4f7 | 90 | |
a4a33ef2 | 91 | install -d $RPM_BUILD_ROOT%{_pixmapsdir} |
9d6c2050 ER |
92 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/doom.png |
93 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/hexen.png | |
94 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/heretic.png | |
a4a33ef2 | 95 | |
46c1e1fa ER |
96 | cp -p %{_sourcedir}/%{name}-doom.desktop $RPM_BUILD_ROOT%{_desktopdir} |
97 | cp -p %{_sourcedir}/%{name}-hexen.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
98 | cp -p %{_sourcedir}/%{name}-heretic.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
1748e707 | 99 | |
663cbbff | 100 | cp -p doomsday/doc/*.6 $RPM_BUILD_ROOT%{_mandir}/man6 |
e943ed70 | 101 | |
613b8bc6 | 102 | %clean |
6f1050b2 | 103 | rm -rf $RPM_BUILD_ROOT |
613b8bc6 | 104 | |
85be4bea ER |
105 | %post |
106 | /sbin/ldconfig | |
96e1b283 ER |
107 | %banner -o -e %{name} <<-EOF |
108 | To run doomsday you need some WAD file: either freedoom package | |
109 | or some shareware or commercial WAD from Doom or Heretic: | |
110 | Doom.wad, Doom1.wad, Doom2.wad, Tnt.wad, Plutonia.wad, | |
111 | Heretic.wad or Heretic1.wad. | |
112 | When you have them, run doomsday with: | |
113 | doomsday -game [ jdoom | jheretic | jhexen ] | |
1748e707 | 114 | EOF |
613b8bc6 | 115 | |
65f3387c LM |
116 | %postun -p /sbin/ldconfig |
117 | ||
613b8bc6 | 118 | %files |
119 | %defattr(644,root,root,755) | |
613b8bc6 | 120 | %attr(755,root,root) %{_bindir}/doomsday |
663cbbff | 121 | %attr(755,root,root) %{_bindir}/doomsday-%{version} |
e943ed70 | 122 | %attr(755,root,root) %{_bindir}/doomsdayscript |
663cbbff | 123 | %attr(755,root,root) %{_bindir}/doomsdayscript-%{version} |
65f3387c | 124 | %attr(755,root,root) %{_bindir}/doomsday-server |
663cbbff | 125 | %attr(755,root,root) %{_bindir}/doomsday-server-%{version} |
e943ed70 | 126 | %attr(755,root,root) %{_bindir}/doomsday-shell |
663cbbff | 127 | %attr(755,root,root) %{_bindir}/doomsday-shell-%{version} |
e943ed70 | 128 | %attr(755,root,root) %{_bindir}/doomsday-shell-text |
663cbbff | 129 | %attr(755,root,root) %{_bindir}/doomsday-shell-text-%{version} |
e943ed70 JR |
130 | %attr(755,root,root) %{_bindir}/md2tool |
131 | %attr(755,root,root) %{_bindir}/savegametool | |
663cbbff | 132 | %attr(755,root,root) %{_bindir}/savegametool-%{version} |
e943ed70 JR |
133 | %attr(755,root,root) %{_bindir}/texc |
134 | %attr(755,root,root) %{_bindir}/wadtool | |
65f3387c | 135 | |
b72a2307 | 136 | %attr(755,root,root) %{_libdir}/libdeng_core.so.*.*.* |
4af7ce59 | 137 | %attr(755,root,root) %ghost %{_libdir}/libdeng_core.so.2.3 |
b72a2307 | 138 | %attr(755,root,root) %{_libdir}/libdeng_appfw.so.*.*.* |
4af7ce59 | 139 | %attr(755,root,root) %ghost %{_libdir}/libdeng_appfw.so.2.3 |
b72a2307 | 140 | %attr(755,root,root) %{_libdir}/libdeng_doomsday.so.*.*.* |
4af7ce59 | 141 | %attr(755,root,root) %ghost %{_libdir}/libdeng_doomsday.so.2.3 |
e943ed70 | 142 | %attr(755,root,root) %{_libdir}/libdeng_gamefw.so.*.*.* |
4af7ce59 | 143 | %attr(755,root,root) %ghost %{_libdir}/libdeng_gamefw.so.2.3 |
b72a2307 | 144 | %attr(755,root,root) %{_libdir}/libdeng_gui.so.*.*.* |
4af7ce59 | 145 | %attr(755,root,root) %ghost %{_libdir}/libdeng_gui.so.2.3 |
b72a2307 | 146 | %attr(755,root,root) %{_libdir}/libdeng_legacy.so.*.*.* |
4af7ce59 | 147 | %attr(755,root,root) %ghost %{_libdir}/libdeng_legacy.so.2.3 |
b72a2307 | 148 | %attr(755,root,root) %{_libdir}/libdeng_shell.so.*.*.* |
4af7ce59 | 149 | %attr(755,root,root) %ghost %{_libdir}/libdeng_shell.so.2.3 |
1305a4f7 | 150 | |
65f3387c LM |
151 | %{_libdir}/doomsday |
152 | %{_datadir}/doomsday | |
4af7ce59 JB |
153 | %{_datadir}/metainfo/net.dengine.Doomsday.appdata.xml |
154 | %{_desktopdir}/doomsday-doom.desktop | |
155 | %{_desktopdir}/doomsday-heretic.desktop | |
156 | %{_desktopdir}/doomsday-hexen.desktop | |
157 | %{_desktopdir}/net.dengine.Doomsday.desktop | |
158 | %{_desktopdir}/net.dengine.Shell.desktop | |
159 | %{_iconsdir}/hicolor/256x256/apps/net.dengine.Doomsday.png | |
160 | %{_pixmapsdir}/doom.png | |
161 | %{_pixmapsdir}/heretic.png | |
162 | %{_pixmapsdir}/hexen.png | |
163 | %{_mandir}/man6/doomsday.6* | |
164 | %{_mandir}/man6/doomsday-server.6* | |
165 | %{_mandir}/man6/doomsday-shell-text.6* |