]> git.pld-linux.org Git - packages/dangerdeep.git/blob - dangerdeep.spec
- updated to version 0.1.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.1.0
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:  7e95d871b929a5e322d0a6bde37e7151
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± (z dostêpnymi ¼ród³ami) symulacj±
29 niemieckiej ³odzi podwodnej z czasów II Wojny ¦wiatowej. Gra jest
30 zaplanowana jako taktyczno-symulacyjna i bêdzie tak realistyczna jak
31 pozwoli na to czas twórców i ich wiedza z fizyki. Aktualny stan jest
32 okre¶lony jako ALPHA, ale jest grywalna.
33
34 %prep
35 %setup -q -c
36 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
37 sed -i 's@/usr/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
38
39 %build
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.159698 seconds and 4 git commands to generate.