1 Summary: A 3D version of the classic DOS game Scorched Earth
2 Summary(pl.UTF-8): Wersja 3D klasycznej DOS-owej gry Scorched Earth
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net/scorched3d/Scorched3D-%{version}-src.tar.gz
9 # Source0-md5: e24867615568ef541a291a4813fcbdae
10 Source1: %{name}.desktop
11 Patch0: %{name}-types.patch
12 Patch1: %{name}-openal.patch
13 URL: http://www.scorched3d.co.uk/
14 BuildRequires: ImageMagick-coder-png
15 BuildRequires: OpenAL-devel >= 0.0.8
16 BuildRequires: OpenGL-GLU-devel
17 BuildRequires: SDL-devel >= 1.2.5
18 BuildRequires: SDL_net-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: dos2unix
22 BuildRequires: fftw3-single-devel >= 3.0
23 BuildRequires: freealut-devel
24 BuildRequires: freetype-devel >= 2.1.0
25 BuildRequires: libogg-devel
26 BuildRequires: libvorbis-devel
27 BuildRequires: wxGTK2-devel >= 2.6.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _noautoreqdep libGL.so.1 libGLU.so.1
33 Scorched3D is a cross-platform 3D remake of the popular 2D artillery
34 game Scorched Earth. Scorched3D can be played against the computer,
35 other players, and remotely across the Internet or LAN.
37 %description -l pl.UTF-8
38 Scorched 3D to wieloplatformowe, trójwymiarowe odtworzenie popularnej
39 dwuwymiarowej gry artyleryjnej Scorched Earth. W Scorched3D można
40 grać przeciwko komputerowi, innym graczom oraz zdalnie poprzez
45 dos2unix src/common/porting/windows.h
54 --datadir=%{_datadir}/%{name} \
55 --with-wx-config=wx-gtk2-ansi-config
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
64 DESTDIR=$RPM_BUILD_ROOT \
65 datadir=%{_datadir}/%{name}
67 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/documentation/*.txt
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
70 convert $RPM_BUILD_DIR/scorched/data/windows/tank2.bmp $RPM_BUILD_ROOT%{_pixmapsdir}/scorched3d.png
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc documentation/*.txt
78 %attr(755,root,root) %{_bindir}/scorched3d
79 %attr(755,root,root) %{_bindir}/scorched3dc
80 %attr(755,root,root) %{_bindir}/scorched3ds
81 %dir %{_datadir}/%{name}
82 %{_datadir}/%{name}/data
83 %{_datadir}/%{name}/documentation
84 %{_pixmapsdir}/scorched3d.png
85 %{_desktopdir}/scorched3d.desktop