]> git.pld-linux.org Git - packages/dangerdeep.git/blob - dangerdeep.spec
- BR: sed 4.0
[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_mixer-devel
12 BuildRequires:  SDL_net-devel
13 BuildRequires:  fftw3-devel
14 BuildRequires:  scons
15 BuildRequires:  sed >= 4.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Danger from the deep (aka dangerdeep) is a Free / Open Source World
20 War II german submarine simulation. It is currently available for
21 Linux/i386 and Windows, but since it uses SDL/OpenGL it should be
22 portable to other operating systems or platforms. This game is planned
23 as tactical simulation and will be as realistic as our time and
24 knowledge of physics allows. It's current state is ALPHA, but it is
25 playable.
26
27 %description -l pl
28 Danger from the deep jest darmow± (otwartymi ¼ród³ami) symulacj± 
29 niemieckiej ³odzi podwodnej z czasów II Wojny ¦wiatowej. 
30 Gra jest zaplanowana jako taktyczno-symulacyjna i bedzie tak 
31 realistyczna jak pozowli na to czas twórców i ich wiedza z fizyki.
32 Aktualny stan jest okre¶lony jako ALPHA, ale jest grywalna.
33
34 %prep
35 %setup -q -c
36
37 %build
38 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
39 sed -i 's@/usr/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
40 scons
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man6}
45
46 install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
47 install doc/man/%{name}.6 $RPM_BUILD_ROOT%{_mandir}/man6
48 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc CREDITS ChangeLog README TODO
56 %attr(755,root,root) %{_bindir}/*
57 %{_datadir}/%{name}
58 %{_mandir}/man6/%{name}.6*
This page took 0.079904 seconds and 4 git commands to generate.