/[packages]/backports/5/flightgear/current/SPECS/flightgear.spec
ViewVC logotype

Contents of /backports/5/flightgear/current/SPECS/flightgear.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134354 - (show annotations) (download)
Thu Aug 18 20:06:55 2011 UTC (12 years, 8 months ago) by fwang
Original Path: cauldron/flightgear/current/SPECS/flightgear.spec
File size: 1897 byte(s)
new version 2.4.0 final
1 %define oname FlightGear
2
3 Summary: The FlightGear Flight Simulator
4 Name: flightgear
5 Version: 2.4.0
6 Release: %mkrel 1
7 License: GPLv2+
8 Group: Games/Other
9 Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2
10 Source11: %{name}.16.png
11 Source12: %{name}.32.png
12 Source13: %{name}.48.png
13 BuildRequires: simgear-devel >= %version
14 BuildRequires: pkgconfig(zlib)
15 BuildRequires: pkgconfig(openal)
16 BuildRequires: pkgconfig(openthreads)
17 BuildRequires: pkgconfig(openscenegraph)
18 BuildRequires: pkgconfig(gl)
19 BuildRequires: pkgconfig(freealut)
20 BuildRequires: boost-devel
21 BuildRequires: plib-devel
22 BuildRequires: fltk-devel
23 Requires: flightgear-base
24 Suggests: fgrun
25 URL: http://www.flightgear.org/
26 Provides: %{oname} = %{version}-%{release}
27
28 %description
29 The Flight Gear project is working to create a sophisticated flight simulator
30 framework for the development and pursuit of interesting flight simulator
31 ideas. We are developing a solid basic sim that can be expanded and improved
32 upon by anyone interested in contributing.
33
34 %prep
35 %setup -q -n %{name}-%{version}
36
37 %build
38 %configure2_5x
39 %make
40
41 %install
42 rm -rf %{buildroot}
43 %makeinstall_std
44
45 mkdir -p %{buildroot}%{_datadir}/applications
46 cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
47 [Desktop Entry]
48 Name=Flight Gear
49 Comment=Flight Gear Flight Simulator
50 Exec=fgfs --fg-root=%{_datadir}/FlightGear
51 Icon=%{name}
52 Terminal=false
53 Type=Application
54 StartupNotify=true
55 Categories=Game;Simulation;
56 EOF
57
58 install -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png
59 install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png
60 install -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png
61
62 %files
63 %doc README AUTHORS docs-mini/
64 %{_bindir}/*
65 %{_datadir}/applications/%{_real_vendor}-%{name}.desktop
66 %{_miconsdir}/%{name}.png
67 %{_iconsdir}/%{name}.png
68 %{_liconsdir}/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.30