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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 350541 - (hide annotations) (download)
Fri Jan 11 20:53:00 2013 UTC (11 years, 2 months ago) by umeabot
Original Path: cauldron/flightgear/current/SPECS/flightgear.spec
File size: 2483 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
1 fwang 126228 Summary: The FlightGear Flight Simulator
2     Name: flightgear
3 zezinho 288202 Version: 2.8.0
4 umeabot 350541 Release: %mkrel 6
5 wally 91658 License: GPLv2+
6 malo 343877 Group: Games/Simulation
7 fwang 134354 Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2
8 zezinho 214178 Patch0: flightgear-2.6.0-mandriva-linkage.patch
9 zezinho 262003 Patch1: flightgear-2.6.0-fedora-check-for-%n-in-printf-format-string.patch
10     Patch2: flightgear-2.6.0-fedora-use-snprintf-for-rotor-strings.patch
11 zezinho 289021 Patch3: flightgear-2.8.0-mageia-linkage.patch
12 ennael 86652 Source11: %{name}.16.png
13     Source12: %{name}.32.png
14     Source13: %{name}.48.png
15 fwang 126228 BuildRequires: simgear-devel >= %version
16 shadow95 132334 BuildRequires: pkgconfig(zlib)
17     BuildRequires: pkgconfig(openal)
18 fwang 126230 BuildRequires: pkgconfig(openthreads)
19     BuildRequires: pkgconfig(openscenegraph)
20     BuildRequires: pkgconfig(gl)
21     BuildRequires: pkgconfig(freealut)
22 ennael 86652 BuildRequires: boost-devel
23 fwang 126231 BuildRequires: plib-devel
24     BuildRequires: fltk-devel
25 zezinho 214171 BuildRequires: cmake
26 zezinho 262106 BuildRequires: freeglut-devel
27 zezinho 262107 BuildRequires: pkgconfig(xmu)
28 ennael 86652 Requires: flightgear-base
29 shadow95 132334 Suggests: fgrun
30 ennael 86652 URL: http://www.flightgear.org/
31 fwang 135076 Provides: FlightGear = %{version}-%{release}
32 ennael 86652
33     %description
34     The Flight Gear project is working to create a sophisticated flight simulator
35     framework for the development and pursuit of interesting flight simulator
36     ideas. We are developing a solid basic sim that can be expanded and improved
37     upon by anyone interested in contributing.
38    
39     %prep
40 fwang 134354 %setup -q -n %{name}-%{version}
41 zezinho 214178 %patch0 -p1
42 zezinho 262003 %patch1 -p1
43     %patch2 -p1
44 zezinho 289021 %patch3 -p0
45 ennael 86652
46     %build
47 zezinho 214195 %cmake -DFG_DATA_DIR=%{_gamesdatadir}/%{name}
48 fwang 126228 %make
49 ennael 86652
50     %install
51 zezinho 214171 %makeinstall_std -C build
52 zezinho 293196 install -m644 -D build/src/Canvas/ShivaVG/src/libShivaVG.so %{buildroot}%{_libdir}/libShivaVG.so
53 ennael 86652
54     mkdir -p %{buildroot}%{_datadir}/applications
55 wally 91658 cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
56 ennael 86652 [Desktop Entry]
57     Name=Flight Gear
58 fwang 126263 Comment=Flight Gear Flight Simulator
59 zezinho 214195 Exec=fgfs
60 ennael 86652 Icon=%{name}
61     Terminal=false
62     Type=Application
63     StartupNotify=true
64 fwang 126228 Categories=Game;Simulation;
65 ennael 86652 EOF
66    
67     install -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png
68     install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png
69     install -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png
70    
71 zezinho 214206 # build doc is useless for end users
72     rm -rf %{buildroot}%{_docdir}/FlightGear
73    
74 ennael 86652 %files
75     %doc README AUTHORS docs-mini/
76 zezinho 214195 %{_bindir}/*
77 wally 91658 %{_datadir}/applications/%{_real_vendor}-%{name}.desktop
78 zezinho 293196 %{_libdir}/libShivaVG.so
79 ennael 86652 %{_miconsdir}/%{name}.png
80     %{_iconsdir}/%{name}.png
81     %{_liconsdir}/%{name}.png
82 fwang 134355 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30