In game ranking ordered by skill
[scorched3d/parasti.git] / Scorched3D.spec
blob1bb59f1f4ffcfccee067d4d85cfa387bbe4991c2
1 Name: scorched3d
2 Version: 41.3
3 Release: 1
4 License: GPL
5 Group: Amusements/Games/3D/Other
6 Summary: A 3D version of the classic DOS game Scorched Earth
7 URL: http://www.scorched3d.co.uk
8 Source0: http://unc.dl.sourceforge.net/sourceforge/scorched3d/Scorched3D-%{version}-src.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-buildroot
11 BuildRequires: SDL_net SDL_net-devel SDL SDL-devel >= 1.2.5
12 BuildRequires: fftw-devel
13 BuildRequires: freetype freetype-devel
14 BuildRequires: libogg libogg-devel libvorbis libvorbis-devel
15 BuildRequires: wxGTK wxGTK-devel >= 2.4.0
16 BuildRequires: openal openal-devel freealut freealut-devel
17 BuildRequires: autoconf automake libtool
18 Requires: SDL, SDL_net, freetype, libogg, wxGTK, openal, freealut
20 %description
21 Scorched3D is a cross-platform 3D remake of the popular 2D artillery game
22 Scorched Earth. Scorched3D can be played against the computer, other players,
23 and remotely across the Internet or LAN.
25 %prep
26 %setup -q -n scorched
28 %build
29 # sh ./autogen.sh
30 %configure --datadir=%{_datadir}/scorched3d \
31 --program-prefix=%{?_program_prefix:%{_program_prefix}}
32 make -j2 %{?_smp_mflags}
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %makeinstall datadir=$RPM_BUILD_ROOT%{_datadir}/scorched3d
38 %clean
39 rm -rf $RPM_BUILD_ROOT
41 %files
42 %defattr(664,root,games,755)
43 %doc documentation/*
44 %dir %{_datadir}/scorched3d
45 %{_datadir}/scorched3d/data
46 %{_datadir}/scorched3d/documentation
47 %attr(755,root,root) %{_bindir}/scorched3d
48 %attr(755,root,root) %{_bindir}/scorched3dc
49 %attr(755,root,root) %{_bindir}/scorched3ds
51 %changelog
52 * Fri Apr 2 2004 Edward Rudd
53 - Fixed data dir location and permissions
54 * Sun Dec 7 2003 Gavin Camp gcamp@scorched3d.co.uk
55 - First build.