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 URL: http://www.scorched3d.co.uk/
13 BuildRequires: ImageMagick-coder-png
14 BuildRequires: OpenAL-devel >= 0.0.8
15 BuildRequires: OpenGL-GLU-devel
16 BuildRequires: SDL_net-devel
17 BuildRequires: SDL-devel >= 1.2.5
18 BuildRequires: automake
19 BuildRequires: dos2unix
20 BuildRequires: fftw3-single-devel >= 3.0
21 BuildRequires: freealut-devel
22 BuildRequires: freetype-devel >= 2.1.0
23 BuildRequires: libogg-devel
24 BuildRequires: libvorbis-devel
25 BuildRequires: wxGTK2-devel >= 2.6.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _noautoreqdep libGL.so.1 libGLU.so.1
31 Scorched3D is a cross-platform 3D remake of the popular 2D artillery
32 game Scorched Earth. Scorched3D can be played against the computer,
33 other players, and remotely across the Internet or LAN.
35 %description -l pl.UTF-8
36 Scorched 3D to wieloplatformowe, trójwymiarowe odtworzenie popularnej
37 dwuwymiarowej gry artyleryjnej Scorched Earth. W Scorched3D można grać
38 przeciwko komputerowi, innym graczom oraz zdalnie poprzez Internet lub
43 dos2unix src/common/porting/windows.h
47 cp -f /usr/share/automake/config.sub .
49 --datadir=%{_datadir}/%{name} \
50 --with-wx-config=wx-gtk2-ansi-config
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
59 DESTDIR=$RPM_BUILD_ROOT \
60 datadir=%{_datadir}/%{name}
62 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/documentation/*.txt
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65 convert $RPM_BUILD_DIR/scorched/data/windows/tank2.bmp $RPM_BUILD_ROOT%{_pixmapsdir}/scorched3d.png
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc documentation/*.txt
73 %attr(755,root,root) %{_bindir}/scorched3d
74 %attr(755,root,root) %{_bindir}/scorched3dc
75 %attr(755,root,root) %{_bindir}/scorched3ds
76 %dir %{_datadir}/%{name}
77 %{_datadir}/%{name}/data
78 %{_datadir}/%{name}/documentation
79 %{_pixmapsdir}/scorched3d.png
80 %{_desktopdir}/scorched3d.desktop