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: b1dcc97066aa370a22e0ad768181590c
10 URL: http://dangerdeep.sourceforge.net/
11 BuildRequires: SDL_net-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Danger from the deep (aka dangerdeep) is a Free / Open Source World
17 War II german submarine simulation. It is currently available for
18 Linux/i386 and Windows, but since it uses SDL/OpenGL it should be
19 portable to other operating systems or platforms. This game is planned
20 as tactical simulation and will be as realistic as our time and
21 knowledge of physics allows. It's current state is ALPHA, but it is
27 %setup -q -c -n %{name}-%{version}
30 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
31 sed -i 's@%{_prefix}/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
38 install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
39 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc CREDITS ChangeLog README TODO
47 %attr(755,root,root) %{_bindir}/*