]> git.pld-linux.org Git - packages/dangerdeep.git/blob - dangerdeep.spec
- release 0.2,
[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.1.1
5 Release:        0.2
6 License:        GPL v2
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
15 BuildRequires:  scons
16 BuildRequires:  sed >= 4.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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
26 playable.
27
28 %description -l pl
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.
34
35 %package utils
36 Summary:        Danger from the Deep - Utils
37 Summary(pl):    Danger from the Deep - narzêdzia
38 Group:          Applications/Games
39 Requires:       %{name}
40 %description utils
41 %description utils -l pl
42
43 %prep
44 %setup -q
45 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
46 sed -i 's@/usr/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
47
48 %build
49 scons
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man6}
54
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}
58
59 install build/linux/{crosssection,damagemodel,oceantest,portal,viewmodel} $RPM_BUILD_ROOT%{_bindir}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc CREDITS ChangeLog README
67 %attr(755,root,root) %{_bindir}/%{name}
68 %{_datadir}/%{name}
69 %{_mandir}/man6/%{name}.6*
70
71 %files utils
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/*
This page took 0.070672 seconds and 4 git commands to generate.