]> git.pld-linux.org Git - packages/dangerdeep.git/blob - dangerdeep.spec
- commented out empty desc
[packages/dangerdeep.git] / dangerdeep.spec
1 Summary:        Danger from the Deep - WW2 german submarine simulation
2 Summary(pl):    Danger from the Deep - symulacja niemieckiej ³odzi podwodnej
3 Name:           dangerdeep
4 Version:        0.0.19
5 Release:        0.1
6 License:        GPL v2
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
12 BuildRequires:  scons
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
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
22 playable.
23
24 #%%description -l pl
25
26 %prep
27 %setup -q -c -n %{name}-%{version}
28
29 %build
30 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
31 sed -i 's@%{_prefix}/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
32 scons
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
37
38 install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
39 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc CREDITS ChangeLog README TODO
47 %attr(755,root,root) %{_bindir}/*
48 %{_datadir}/%{name}
This page took 0.05195 seconds and 4 git commands to generate.