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://downloads.sourceforge.net/scorched3d/Scorched3D-%{version}-src.tar.gz
9 # Source0-md5: 9c3043282a9e7451468ff325bef3b04c
10 Source1: %{name}.desktop
11 Patch0: %{name}-types.patch
12 Patch1: %{name}-openal.patch
13 Patch2: %{name}-libpng15.patch
14 URL: http://www.scorched3d.co.uk/
15 BuildRequires: ImageMagick-coder-png
16 BuildRequires: OpenAL-devel >= 0.0.8
17 BuildRequires: OpenGL-GLU-devel
18 BuildRequires: SDL-devel >= 1.2.5
19 BuildRequires: SDL_net-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: expat-devel
23 BuildRequires: fftw3-single-devel >= 3.0
24 BuildRequires: freealut-devel
25 BuildRequires: freetype-devel >= 2.1.0
26 BuildRequires: libjpeg-devel
27 BuildRequires: libogg-devel
28 BuildRequires: libpng-devel
29 BuildRequires: libvorbis-devel
30 BuildRequires: pkgconfig
31 BuildRequires: rpmbuild(macros) >= 1.533
32 BuildRequires: sed >= 4.0
33 BuildRequires: wxGTK2-devel >= 2.6.0
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define _noautoreqdep libGL.so.1 libGLU.so.1
39 Scorched3D is a cross-platform 3D remake of the popular 2D artillery
40 game Scorched Earth. Scorched3D can be played against the computer,
41 other players, and remotely across the Internet or LAN.
43 %description -l pl.UTF-8
44 Scorched 3D to wieloplatformowe, trójwymiarowe odtworzenie popularnej
45 dwuwymiarowej gry artyleryjnej Scorched Earth. W Scorched3D można grać
46 przeciwko komputerowi, innym graczom oraz zdalnie poprzez Internet lub
52 rm -rf scorched-dep-osx scorched
53 %undos src/common/porting/windows.h src/common/image/ImagePngFactory.cpp
63 --datadir=%{_datadir}/%{name} \
64 --with-wx-config=wx-gtk2-ansi-config
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
73 DESTDIR=$RPM_BUILD_ROOT \
74 datadir=%{_datadir}/%{name}
76 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/documentation/*.txt
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
79 convert $RPM_BUILD_DIR/%{name}-%{version}/data/images/tank2.bmp $RPM_BUILD_ROOT%{_pixmapsdir}/scorched3d.png
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
86 %doc documentation/*.txt
87 %attr(755,root,root) %{_bindir}/scorched3d
88 %attr(755,root,root) %{_bindir}/scorched3dc
89 %attr(755,root,root) %{_bindir}/scorched3ds
90 %dir %{_datadir}/%{name}
91 %{_datadir}/%{name}/data
92 %{_datadir}/%{name}/documentation
93 %{_pixmapsdir}/scorched3d.png
94 %{_desktopdir}/scorched3d.desktop