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
39 Requires: %{name} = %{version}-%{release}
42 Danger from the Deep - utils.
44 %description utils -l pl
45 Danger from the Deep - narzêdzia.
49 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
50 sed -i 's@/usr/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man6}
59 install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
60 install doc/man/%{name}.6 $RPM_BUILD_ROOT%{_mandir}/man6
61 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
63 install build/linux/{crosssection,damagemodel,oceantest,portal,viewmodel} $RPM_BUILD_ROOT%{_bindir}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc CREDITS ChangeLog README
71 %attr(755,root,root) %{_bindir}/%{name}
73 %{_mandir}/man6/%{name}.6*
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/crosssection
78 %attr(755,root,root) %{_bindir}/damagemodel
79 %attr(755,root,root) %{_bindir}/oceantest
80 %attr(755,root,root) %{_bindir}/portal
81 %attr(755,root,root) %{_bindir}/viewmodel