]> git.pld-linux.org Git - packages/FlightGear.git/blob - FlightGear.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/FlightGear.git] / FlightGear.spec
1 Summary:        Free Flight Simulator
2 Summary(pl):    darmowy symulator lotu
3 Name:           FlightGear
4 Version:        0.8.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        ftp://ftp.flightgear.org/pub/fgfs/Source/%{name}-%{version}.tar.gz
9 Source1:        ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-base-%{version}.tar.gz
10 Source2:        ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-docs-0.7.7.tar.gz
11 Patch0:         %{name}-libs.patch
12 URL:            http://www.flightgear.org/
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  SimGear-devel >= 0.2.0
15 BuildRequires:  XFree86-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  findutils
19 BuildRequires:  glut-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  metakit-devel >= 2.4.3
22 BuildRequires:  plib >= 1.6.0
23 BuildRequires:  zlib-devel
24 Requires:       OpenGL
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define _noautoreqdep   libGL.so.1 libGLU.so.1 libGLcore.so.1
28
29 %description
30 The Flight Gear project is working to create a sophisticated flight
31 simulator framework for the development and pursuit of interesting
32 flight simulator ideas. We are developing a solid basic sim that can
33 be expanded and improved upon by anyone interested in contributing.
34
35 %description -l pl
36 Projet Flight Gear to wyrafinowany symulator lotów pozwalaj±cy
37 rozpowszechniaæ idee tego typu symulacji. 
38
39 %prep
40 %setup -q -a 1 -a 2
41 %patch0 -p1
42 find %{name} -name 'CVS' -type d | xargs rm -rf
43
44 %build
45 rm -f missing
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure \
50         --with-network-olk
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_libdir}
56
57 %{__make} DESTDIR="$RPM_BUILD_ROOT" install
58
59 echo "#!/bin/sh" > runfgfs
60 echo "exec %{_bindir}/fgfs --fg-root=%{_libdir}/%{name} \$*" >> runfgfs
61 install runfgfs $RPM_BUILD_ROOT%{_bindir}
62 cp -a %{name} $RPM_BUILD_ROOT%{_libdir}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS NEWS %{name}/Docs/*
70 %attr(755,root,root) %{_bindir}/fgfs
71 %attr(755,root,root) %{_bindir}/runfgfs
72 %attr(755,root,root) %{_bindir}/est-epsilon
73 %attr(755,root,root) %{_bindir}/fgjs
74 %attr(755,root,root) %{_bindir}/gl-info
75 %attr(755,root,root) %{_bindir}/js_demo
76 %{_libdir}/%{name}
77 %{_mandir}/*/*
This page took 0.073813 seconds and 3 git commands to generate.