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