1%define name @PACKAGE@
2%define version @VERSION@
3%define release 1
4
5Summary: 3D first-person shooter game
6Name: %{name}
7Version: %{version}
8Release: %{release}
9License: GPL
10Group: Amusements/Games
11Source: %{name}-%{version}.tar.gz
12URL: http://alephone.cebix.net
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14# not relocatable because the data file packages depend upon the location
15# of the data files in this package
16
17Requires: SDL >= 1.2.0 SDL_image >= 1.2.0 SDL_net
18BuildRequires: SDL-devel SDL_image-devel SDL_net-devel boost-devel
19
20%description
21Aleph One is an Open Source 3D first-person shooter game, based on the game
22Marathon 2 by Bungie Software. It is set in a Sci-Fi universe dominated by
23deviant computer AIs and features a well thought-out plot. Aleph One
24supports, but doesn't require, OpenGL for rendering.
25
26Aleph One requires additional data -- shape, sound, and map
27information -- in order to run. The easiest way to get this is to go
28to http://source.bungie.org/get/, and download one of the scenario zip
29files there. Unzip it, and pass the resulting directory as an argument
30to alephone. For example:
31
32alephone "~/Marathon Infinity"
33
34%prep
35%setup -q
36
37%build
38%configure
39make
40
41%install
42rm -rf ${RPM_BUILD_ROOT}
43%makeinstall
44
45%clean
46rm -rf ${RPM_BUILD_ROOT}
47
48%files
49%defattr(-,root,root)
50%doc AUTHORS COPYING INSTALL.Unix README docs/MML.html docs/Lua.html
51%{_bindir}/alephone
52%{_datadir}/AlephOne/Fonts
53%{_datadir}/AlephOne/MML
54%{_datadir}/AlephOne/Themes/Default
55%{_mandir}/man6/alephone.6.gz
56
57%changelog
58* Sat Jun 21 2008 Gregory Smith <wolfy@treellama.org>
59- removed the dependence on AlephOne-core-data (users can use unimap zip files)
60- removed deprecated cheats docs
61- updated required libraries (there are many)
62
63* Sun Nov 20 2005 Christian Bauer <www.cebix.net>
64- modernized the spec file a bit
65
66* Thu Oct  5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
67- Added docs and theme data files
68- Package name and version are set by configure script
69
70* Fri Sep 30 2000 Tom Moertel <tom-rpms-alephone@moertel.com>
71- Added a requirement to the base package for AlephOne-core-data
72- Split out the Marathon Infinity Demo data into its own package
73
74* Thu Sep 29 2000 Tom Moertel <tom-rpms-alephone@moertel.com>
75- Added patch for SDL 1.1.5 SDL_SetClipping incompatability.
76
77* Sat Sep 23 2000 Tom Moertel <tom-rpms-alephone@moertel.com>
78- Added Marathon Infinity Demo data to package.
79