]> git.pld-linux.org Git - packages/dangerdeep.git/blob - dangerdeep.spec
- killed files duplicate
[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} = %{version}-%{release}
40
41 %description utils
42 Danger from the Deep - utils.
43
44 %description utils -l pl
45 Danger from the Deep - narzêdzia.
46
47 %prep
48 %setup -q
49 sed -i 's@-g -O2@%{rpmcflags}@' SConstruct
50 sed -i 's@/usr/local/share/dangerdeep@%{_datadir}/dangerdeep@' SConstruct
51
52 %build
53 scons
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man6}
58
59 install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
60 install doc/man/%{name}.6 $RPM_BUILD_ROOT%{_mandir}/man6
61 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
62
63 install build/linux/{crosssection,damagemodel,oceantest,portal,viewmodel} $RPM_BUILD_ROOT%{_bindir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc CREDITS ChangeLog README
71 %attr(755,root,root) %{_bindir}/%{name}
72 %{_datadir}/%{name}
73 %{_mandir}/man6/%{name}.6*
74
75 %files utils
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/crosssection
78 %attr(755,root,root) %{_bindir}/damagemodel
79 %attr(755,root,root) %{_bindir}/oceantest
80 %attr(755,root,root) %{_bindir}/portal
81 %attr(755,root,root) %{_bindir}/viewmodel
This page took 0.041661 seconds and 4 git commands to generate.