1 Summary: Danger from the Deep - WW2 german submarine simulation
2 Summary(pl): Danger from the Deep - symulacja niemieckiej ³odzi podwodnej
7 Group: Applications/Games
8 Source0: http://dl.sourceforge.net/dangerdeep/%{name}-%{version}.tar.gz
9 # Source0-md5: 7de20b4594c0fee8d3c1a281f686f943
10 URL: http://dangerdeep.sourceforge.net/
11 BuildRequires: SDL_image-devel
12 BuildRequires: SDL_mixer-devel
13 BuildRequires: SDL_net-devel
14 BuildRequires: fftw3-devel
16 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Danger from the deep (aka dangerdeep) is a Free / Open Source World
21 War II german submarine simulation. It is currently available for
22 Linux/i386 and Windows, but since it uses SDL/OpenGL it should be
23 portable to other operating systems or platforms. This game is planned
24 as tactical simulation and will be as realistic as our time and
25 knowledge of physics allows. It's current state is ALPHA, but it is
29 Danger from the deep jest darmow± (z dostêpnymi ¼ród³ami) symulacj±
30 niemieckiej ³odzi podwodnej z czasów II Wojny ¦wiatowej. Gra jest
31 zaplanowana jako taktyczno-symulacyjna i bêdzie tak realistyczna jak
32 pozwoli na to czas twórców i ich wiedza z fizyki. Aktualny stan jest
33 okre¶lony jako ALPHA, ale jest grywalna.
36 Summary: Danger from the Deep - Utils
37 Summary(pl): Danger from the Deep - narzêdzia
38 Group: Applications/Games
41 %description utils -l pl
45 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
46 sed -i 's@/usr/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man6}
55 install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
56 install doc/man/%{name}.6 $RPM_BUILD_ROOT%{_mandir}/man6
57 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
59 install build/linux/{crosssection,damagemodel,oceantest,portal,viewmodel} $RPM_BUILD_ROOT%{_bindir}
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc CREDITS ChangeLog README
67 %attr(755,root,root) %{_bindir}/%{name}
69 %{_mandir}/man6/%{name}.6*
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/*