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 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}-am_fix.patch
12 URL: http://www.flightgear.org/
13 BuildRequires: OpenGL-devel
14 BuildRequires: SimGear-devel >= 0.0.14
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
22 BuildRequires: plib >= 1.2.0
23 BuildRequires: zlib-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
28 %define _prefix /usr/X11R6
29 %define _mandir %{_prefix}/man
32 The Flight Gear project is working to create a sophisticated flight
33 simulator framework for the development and pursuit of interesting
34 flight simulator ideas. We are developing a solid basic sim that can
35 be expanded and improved upon by anyone interested in contributing.
38 Projet Flight Gear to wyrafinowany symulator lotów pozwalaj±cy
39 rozpowszechniaæ idee tego typu symulacji.
45 find %{name}-0.7 -name 'CVS' -type d | xargs rm -rf
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_libdir}
60 %{__make} DESTDIR="$RPM_BUILD_ROOT" install
62 echo "#!/bin/sh" > runfgfs
63 echo "exec %{_bindir}/fgfs --fg-root=%{_libdir}/%{name} \$*" >> runfgfs
64 install runfgfs $RPM_BUILD_ROOT%{_bindir}
65 cp -a %{name} $RPM_BUILD_ROOT%{_libdir}
67 gzip -9nf AUTHORS NEWS
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc *.gz %{name}-0.7/docs/*
75 %attr(755,root,root) %{_bindir}/fgfs
76 %attr(755,root,root) %{_bindir}/runfgfs