]> git.pld-linux.org Git - packages/FlightGear.git/blob - FlightGear.spec
- added ac_fix patch
[packages/FlightGear.git] / FlightGear.spec
1 Summary:        Free Flight Simulator
2 Summary(pl):    darmowy symulator lotu
3 Name:           FlightGear
4 Version:        0.7.10
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.flightgear.org/pub/fgfs/Source/%{name}-%{version}.tar.gz
9 Source1:        http://ftp.flightgear.org/pub/fgfs/Shared/fgfs-base-%{version}.tar.gz
10 Source2:        http://ftp.flightgear.org/pub/fgfs/Shared/fgfs-docs-0.7.7.tar.gz
11 Patch0:         %{name}-am_fix.patch
12 Patch1:         %{name}-ac_fix.patch
13 URL:            http://www.flightgear.org/
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  SimGear-devel >= 0.0.18
16 BuildRequires:  XFree86-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  findutils
20 BuildRequires:  glut-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  metakit-devel
23 BuildRequires:  plib >= 1.2.0
24 BuildRequires:  zlib-devel
25 Requires:       OpenGL
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define _noautoreqdep   libGL.so.1 libGLU.so.1 libGLcore.so.1
29 %define _prefix         /usr/X11R6
30 %define _mandir         %{_prefix}/man
31
32 %description
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.
37
38 %description -l pl
39 Projet Flight Gear to wyrafinowany symulator lotów pozwalaj±cy
40 rozpowszechniaæ idee tego typu symulacji. 
41
42 %prep
43 %setup -q -a 1 -a 2
44 %patch0 -p1
45 %patch1 -p1
46
47 #find %{name}-0.7 -name 'CVS' -type d | xargs rm -rf
48
49 %build
50 rm -f missing
51 aclocal
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --with-network-olk
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_libdir}
61
62 %{__make} DESTDIR="$RPM_BUILD_ROOT" install
63
64 echo "#!/bin/sh" > runfgfs
65 echo "exec %{_bindir}/fgfs --fg-root=%{_libdir}/%{name} \$*" >> runfgfs
66 install runfgfs $RPM_BUILD_ROOT%{_bindir}
67 cp -a %{name} $RPM_BUILD_ROOT%{_libdir}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS NEWS %{name}/Docs/*
75 %attr(755,root,root) %{_bindir}/fgfs
76 %attr(755,root,root) %{_bindir}/runfgfs
77 %attr(755,root,root) %{_bindir}/est-epsilon
78 %attr(755,root,root) %{_bindir}/fgjs
79 %attr(755,root,root) %{_bindir}/gl-info
80 %attr(755,root,root) %{_bindir}/js_demo
81 %{_libdir}/%{name}
82 %{_mandir}/*
This page took 0.032993 seconds and 3 git commands to generate.