1 Summary: Free Flight Simulator
2 Summary(pl): darmowy symulator lotu
6 Group: X11/Applications/Games
7 Group(de): X11/Applikationen/Spiele
8 Group(pl): X11/Aplikacje/Gry
10 Source0: ftp://ftp.flightgear.org/pub/fgfs/Source/%{name}-%{version}.tar.gz
11 Source1: ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-base-%{version}.tar.gz
12 Source2: ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-docs-%{version}.tar.gz
13 Patch0: %{name}-libs.patch
14 URL: http://www.flightgear.org
16 BuildRequires: OpenGL-devel
17 BuildRequires: XFree86-devel
18 BuildRequires: libstdc++-devel
19 BuildRequires: glut-devel
20 BuildRequires: automake
21 BuildRequires: autoconf
22 BuildRequires: plib >= 1.2.0
23 BuildRequires: SimGear-devel >= 0.0.14
24 BuildRequires: zlib-devel
25 BuildRequires: metakit-devel
26 BuildRequireS: findutils
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
30 %define _prefix /usr/X11R6
31 %define _mandir %{_prefix}/man
34 The Flight Gear project is working to create a sophisticated flight
35 simulator framework for the development and pursuit of interesting
36 flight simulator ideas. We are developing a solid basic sim that can
37 be expanded and improved upon by anyone interested in contributing.
40 Projet Flight Gear to wyszukany symulator lotów pozwalaj±cy
41 rozpowszechniaæ idee tego typu symulacji.
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_datadir}
59 %{__make} DESTDIR="$RPM_BUILD_ROOT" install
61 echo "#!/bin/sh" > runfgfs
62 echo "exec %{_bindir}/fgfs --fg-root=%{_datadir}/%{name} \$*" >> runfgfs
63 install runfgfs $RPM_BUILD_ROOT%{_bindir}
64 cp -a %{name} $RPM_BUILD_ROOT%{_datadir}
65 find %{name}-0.7 -name 'CVS' -type d | xargs rm -rf
67 gzip -9nf AUTHORS NEWS
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc %{name}-0.7/docs/*
76 %attr(755,root,root) %{_bindir}/fgfs
77 %attr(755,root,root) %{_bindir}/runfgfs