2 # Spec file for package d2x.
7 Copyright: Freely Redistributable
8 Packager: bradleyb@u.washington.edu
11 Summary: The port of Descent 2 Version 1.2 for Linux.
12 Provides: d2x, descent2
14 URL: http://shelob.classrooms.washington.edu/d2x/
15 Source: d2x-%{version}.tar.gz
16 BuildRoot: /var/tmp/%name-buildroot
19 This is the port of Descent 2 Version 1.2, the famous 3D game for PC.
21 D2X is based on source code that was released the 14 December 1999 by
22 Parallax Software Corporation.
24 To use this package you'll need the datafiles from the Retail version
25 of Descent 2 Version 1.2 installed in /usr/share/games/descent2.
29 Summary: Descent 2 Version 1.2 for Linux, SDL version.
33 %description -n d2x-sdl
34 This is the port of Descent 2 Version 1.2, the famous 3D game for PC.
36 D2X is based on source code that was released the 14 December 1999 by
37 Parallax Software Corporation.
39 To use this package you'll need the datafiles from the Retail version
40 of Descent 2 Version 1.2 installed in /usr/share/games/descent2.
42 This version uses SDL for Audio, Input/Output and graphics rendering.
46 Summary: Descent 2 Version 1.2 for Linux, OpenGL version.
50 %description -n d2x-gl
51 This is the port of Descent 2 Version 1.2, the famous 3D game for PC.
53 D2X is based on source code that was released the 14 December 1999 by
54 Parallax Software Corporation.
56 To use this package you'll need the datafiles from the Retail version
57 of Descent 2 Version 1.2 installed in /usr/share/games/descent2.
59 This version uses SDL for Audio and Input/Output and OpenGL for graphics
68 %configure --with-sharepath=/usr/share/games/descent2 --disable-debug
70 mv d2x-sdl d2x-sdl.real
74 # Tell configure where to find libGLU (nonstandard location).
75 export LDFLAGS="${LDFLAGS} -L/usr/X11R6/lib"
76 %configure --with-sharepath=/usr/share/games/descent2 --with-opengl \
78 # Tell make where to link libGLU (nonstandard location).
79 make LDFLAGS="${LDFLAGS} -L /usr/X11R6/lib"
83 rm -rf $RPM_BUILD_ROOT
84 mkdir -p $RPM_BUILD_ROOT/usr/games/
85 mkdir -p $RPM_BUILD_ROOT/usr/share/games/descent2/missions/
86 install -m 755 d2x-sdl.sh $RPM_BUILD_ROOT/usr/games/d2x-sdl
87 install -m 755 d2x-gl.sh $RPM_BUILD_ROOT/usr/games/d2x-gl
88 install d2x-sdl.real $RPM_BUILD_ROOT/usr/games/
89 install d2x-gl.real $RPM_BUILD_ROOT/usr/games/
92 rm -rf $RPM_BUILD_ROOT
96 %doc README NEWS INSTALL COPYING AUTHORS
97 %doc readme.txt cvshowto.txt license.txt compilerdefs.txt
98 %doc installation.txt mingw32.txt
99 %dir /usr/share/games/descent2
100 %dir /usr/share/games/descent2/missions
103 %defattr(-,root,root)
105 /usr/games/d2x-sdl.real
108 %defattr(-,root,root)
110 /usr/games/d2x-gl.real
113 * Tue Feb 7 2002 - Paolo Ulivi <pulivi@libero.it>
114 - New SPEC version for inclusion in d2x/rpm (CVS)
115 * Wed Nov 14 2001 - Paolo Ulivi <paoloulivi@tin.it>
116 - New upstream version 0.1.2 (CVS) dated 11 Nov 2001
117 * Sat Oct 13 2001 - Paolo Ulivi <paoloulivi@tin.it>
118 - Release 1mdk of D2X Version 0.1.0 for Mandrake 8.0