/[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 793523 - (hide annotations) (download)
Sun Oct 26 19:20:24 2014 UTC (9 years, 5 months ago) by akien
Original Path: cauldron/flightgear/current/SPECS/flightgear.spec
File size: 2127 byte(s)
- Version 3.2.0
- Enable use of system flite, gsm and speex (SILENT)
1 fwang 126228 Summary: The FlightGear Flight Simulator
2     Name: flightgear
3 akien 793523 Version: 3.2.0
4     Release: %mkrel 1
5 wally 91658 License: GPLv2+
6 zezinho 436723 Group: Games/Simulation
7 fwang 134354 Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2
8 akien 793523 Patch0: flightgear-3.2.0-mga-static-FGAdminUI.patch
9 fwang 126228 BuildRequires: simgear-devel >= %version
10 shadow95 132334 BuildRequires: pkgconfig(zlib)
11     BuildRequires: pkgconfig(openal)
12 fwang 126230 BuildRequires: pkgconfig(openthreads)
13     BuildRequires: pkgconfig(openscenegraph)
14     BuildRequires: pkgconfig(gl)
15     BuildRequires: pkgconfig(freealut)
16 ennael 86652 BuildRequires: boost-devel
17 fwang 126231 BuildRequires: plib-devel
18     BuildRequires: fltk-devel
19 akien 793523 BuildRequires: flite-devel
20     BuildRequires: gsm-devel
21 fwang 602783 BuildRequires: sqlite3-devel
22 fwang 484710 BuildRequires: udev-devel
23 zezinho 214171 BuildRequires: cmake
24 zezinho 262106 BuildRequires: freeglut-devel
25 zezinho 262107 BuildRequires: pkgconfig(xmu)
26 fwang 602783 BuildRequires: pkgconfig(dbus-1)
27 akien 793523 BuildRequires: pkgconfig(speex)
28 zezinho 436718 Requires: flightgear-data = %{version}
29 tv 675671 Recommends: 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 akien 793523 %apply_patches
42 ennael 86652
43     %build
44 zezinho 399096 %cmake \
45     -DFG_DATA_DIR=%{_gamesdatadir}/%{name} \
46 akien 793523 -DSYSTEM_FLITE=ON \
47     -DSYSTEM_GSM=ON \
48     -DSYSTEM_SPEEX=ON \
49 fwang 602783 -DSYSTEM_SQLITE=ON \
50 zezinho 399096 -DSIMGEAR_SHARED=ON \
51     -DJPEG_FACTORY=ON
52 fwang 126228 %make
53 ennael 86652
54     %install
55 zezinho 214171 %makeinstall_std -C build
56 ennael 86652
57 fwang 484701 install -D package/flightgear.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
58 ennael 86652
59 fwang 602800 pushd icons
60     mkdir -p %{buildroot}%{_iconsdir}/hicolor
61 fwang 602829 for i in `find * -maxdepth 0 -type d`
62 fwang 484701 do
63 fwang 602800 cp -fr $i %{buildroot}%{_iconsdir}/hicolor/
64 fwang 484701 done
65 fwang 602830 mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
66     mv %{buildroot}%{_iconsdir}/hicolor/scalable/*.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
67 fwang 602800 popd
68    
69 ennael 86652 %files
70     %doc README AUTHORS docs-mini/
71 zezinho 214195 %{_bindir}/*
72 fwang 602829 %{_datadir}/%{name}
73 dams 452190 %{_datadir}/applications/%{name}.desktop
74 fwang 602800 %{_iconsdir}/hicolor/*/apps/*
75 fwang 134355 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30