]> git.pld-linux.org Git - packages/doomsday.git/blame - doomsday.spec
Release 2 (by relup.sh)
[packages/doomsday.git] / doomsday.spec
CommitLineData
613b8bc6 1Summary: jDoom, jHeretic and jHexen for Linux
5398b956 2Summary(pl.UTF-8): jDoom, jHeretic i jHexen dla Linuksa
613b8bc6 3Name: doomsday
4af7ce59 4Version: 2.3.1
e467d3ee 5Release: 2
a4a33ef2 6License: GPL v2 / CC 3.0 (icons)
613b8bc6 7Group: Applications/Games
e943ed70 8Source0: http://downloads.sourceforge.net/deng/%{name}-%{version}.tar.gz
4af7ce59 9# Source0-md5: 9ae2a3e053a6f11f37dfb450bb5e53cb
a4a33ef2 10Source1: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-26/Doom-1-48x48.png
76bc3a41 11# Source1-md5: b7b7a9389eba56679e5db65d95c06803
a4a33ef2 12Source2: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-23/Hexen-1-48x48.png
76bc3a41 13# Source2-md5: 573845e6e747f68617ac67f3a87dc78e
a4a33ef2 14Source3: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-28/Heretic-I-1-48x48.png
76bc3a41 15# Source3-md5: c89e36c49eabe2846137f313a5250308
46c1e1fa
ER
16Source4: %{name}-doom.desktop
17Source5: %{name}-heretic.desktop
18Source6: %{name}-hexen.desktop
aac57e3f 19Patch0: link.patch
96e1b283 20URL: http://www.dengine.net/
4af7ce59
JB
21BuildRequires: OpenAL-devel
22BuildRequires: OpenGL-devel >= 3.3
55882195 23BuildRequires: Qt5Core-devel >= 5.5
4af7ce59
JB
24BuildRequires: Qt5Gui-devel >= 5.5
25BuildRequires: Qt5Network-devel >= 5.5
26BuildRequires: Qt5OpenGL-devel >= 5.5
27BuildRequires: Qt5OpenGLExtensions-devel >= 5.5
28BuildRequires: Qt5Widgets-devel >= 5.5
29BuildRequires: Qt5X11Extras-devel >= 5.5
30BuildRequires: SDL2-devel >= 2.0
31BuildRequires: SDL2_mixer-devel >= 2.0
65f3387c 32BuildRequires: assimp-devel
55882195 33BuildRequires: cmake >= 3.1
4af7ce59
JB
34BuildRequires: fluidsynth-devel
35BuildRequires: libstdc++-devel >= 6:4.7
36BuildRequires: minizip-devel >= 1.2.11
8755e793 37BuildRequires: ncurses-devel
5a429c39 38BuildRequires: pkgconfig
4af7ce59
JB
39BuildRequires: python3 >= 1:3.2
40BuildRequires: python3-modules >= 1:3.2
41BuildRequires: qt5-build >= 5.5
42BuildRequires: qt5-qmake >= 5.5
5a429c39 43BuildRequires: rpm-pythonprov
4af7ce59
JB
44BuildRequires: rpmbuild(macros) >= 1.605
45BuildRequires: xorg-lib-libICE-devel
46BuildRequires: xorg-lib-libSM-devel
47BuildRequires: xorg-lib-libX11-devel
48BuildRequires: xorg-lib-libXext-devel
5a429c39 49BuildRequires: xorg-lib-libXrandr-devel
4af7ce59
JB
50BuildRequires: xorg-lib-libXxf86vm-devel
51BuildRequires: zlib-devel
85be4bea 52Requires(post): /sbin/ldconfig
663fb57e 53Requires: TiMidity++
613b8bc6 54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
613b8bc6 56%description
96e1b283
ER
57The Doomsday Engine allows you to play the classic first-person
58shooters DOOM, Heretic, and Hexen using modern technology, with
59hardware accelerated 3D graphics, surround sound and much more.
613b8bc6 60
39e9285b 61%description -l pl.UTF-8
4af7ce59
JB
62Silnik Doomsday pozwala grać w klasyczne strzelaniny FPP, takie
63jak DOOM, Heretic i Hexen przy użyciu współczesnej technologii,
64ze 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
71install -d build
72cd build
4af7ce59
JB
73%cmake ../doomsday \
74 -DDENG_ASSIMP_EMBEDDED=OFF
75
613b8bc6 76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
e943ed70 80install -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 91install -d $RPM_BUILD_ROOT%{_pixmapsdir}
9d6c2050
ER
92cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/doom.png
93cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/hexen.png
94cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/heretic.png
a4a33ef2 95
46c1e1fa
ER
96cp -p %{_sourcedir}/%{name}-doom.desktop $RPM_BUILD_ROOT%{_desktopdir}
97cp -p %{_sourcedir}/%{name}-hexen.desktop $RPM_BUILD_ROOT%{_desktopdir}
98cp -p %{_sourcedir}/%{name}-heretic.desktop $RPM_BUILD_ROOT%{_desktopdir}
1748e707 99
663cbbff 100cp -p doomsday/doc/*.6 $RPM_BUILD_ROOT%{_mandir}/man6
e943ed70 101
613b8bc6 102%clean
6f1050b2 103rm -rf $RPM_BUILD_ROOT
613b8bc6 104
85be4bea
ER
105%post
106/sbin/ldconfig
96e1b283
ER
107%banner -o -e %{name} <<-EOF
108To run doomsday you need some WAD file: either freedoom package
109or some shareware or commercial WAD from Doom or Heretic:
110Doom.wad, Doom1.wad, Doom2.wad, Tnt.wad, Plutonia.wad,
111Heretic.wad or Heretic1.wad.
112When you have them, run doomsday with:
113doomsday -game [ jdoom | jheretic | jhexen ]
1748e707 114EOF
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*
This page took 0.104651 seconds and 4 git commands to generate.