1 Summary: Free Flight Simulator
2 Summary(pl): darmowy symulator lotu
7 Group: X11/Applications/Games
8 Source0: ftp://ftp.flightgear.org/pub/fgfs/Source/%{name}-%{version}.tar.gz
9 # Source0-md5: daf0db8ff92e3d3a61a814f90b148b0b
10 Source1: ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-base-%{version}.tar.gz
11 # Source1-md5: dc44ddf301cd78c2e8f86e45a474b9f7
12 Source2: ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-docs-0.7.7.tar.gz
13 # Source2-md5: 31f35d3e63e522565e8990ead99e7507
14 Patch0: %{name}-libs.patch
15 URL: http://www.flightgear.org/
16 BuildRequires: OpenGL-devel
17 BuildRequires: SimGear-devel >= 0.2.0
18 BuildRequires: XFree86-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: findutils
22 BuildRequires: glut-devel
23 BuildRequires: libstdc++-devel
24 BuildRequires: metakit-devel >= 2.4.3
25 BuildRequires: plib >= 1.6.0
26 BuildRequires: zlib-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
33 The Flight Gear project is working to create a sophisticated flight
34 simulator framework for the development and pursuit of interesting
35 flight simulator ideas. We are developing a solid basic sim that can
36 be expanded and improved upon by anyone interested in contributing.
39 Projet Flight Gear to wyrafinowany symulator lotów pozwalaj±cy
40 rozpowszechniaæ idee tego typu symulacji.
45 find %{name} -name 'CVS' -type d | xargs rm -rf
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_libdir}
61 DESTDIR=$RPM_BUILD_ROOT
63 echo "#!/bin/sh" > runfgfs
64 echo "exec %{_bindir}/fgfs --fg-root=%{_libdir}/%{name} \$*" >> runfgfs
65 install runfgfs $RPM_BUILD_ROOT%{_bindir}
66 cp -a %{name} $RPM_BUILD_ROOT%{_libdir}
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
73 %doc AUTHORS NEWS %{name}/Docs/*
74 %attr(755,root,root) %{_bindir}/fgfs
75 %attr(755,root,root) %{_bindir}/runfgfs
76 %attr(755,root,root) %{_bindir}/est-epsilon
77 %attr(755,root,root) %{_bindir}/fgjs
78 %attr(755,root,root) %{_bindir}/gl-info
79 %attr(755,root,root) %{_bindir}/js_demo