/[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 876212 - (hide annotations) (download)
Thu Sep 10 21:45:25 2015 UTC (8 years, 7 months ago) by ovitters
Original Path: cauldron/flightgear/current/SPECS/flightgear.spec
File size: 2282 byte(s)
SILENT make use of autopatch
1 fwang 126228 Summary: The FlightGear Flight Simulator
2     Name: flightgear
3 akien 815549 Version: 3.4.0
4 cjw 871500 Release: %mkrel 7
5 wally 91658 License: GPLv2+
6 zezinho 436723 Group: Games/Simulation
7 akien 793526 URL: http://www.flightgear.org/
8 fwang 134354 Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2
9 akien 821044 # Upstream patches that fix a security-related issue
10     Patch0: 0007-Stop-using-property-listener-for-fgValidatePath.patch
11     Patch1: 0008-Normalize-the-allowed-paths-as-well-fix-Windows-brea.patch
12 fwang 865235 Patch2: flightgear-3.4.0-linkage.patch
13 ennael 86652 BuildRequires: boost-devel
14 akien 793526 BuildRequires: cmake
15     BuildRequires: flite-devel
16 fwang 126231 BuildRequires: fltk-devel
17 akien 793526 BuildRequires: freeglut-devel
18 akien 793523 BuildRequires: gsm-devel
19 akien 793526 BuildRequires: plib-devel
20 fwang 602783 BuildRequires: pkgconfig(dbus-1)
21 akien 793526 BuildRequires: pkgconfig(freealut)
22     BuildRequires: pkgconfig(gl)
23     BuildRequires: pkgconfig(openal)
24     BuildRequires: pkgconfig(openthreads)
25     BuildRequires: pkgconfig(openscenegraph)
26 akien 793523 BuildRequires: pkgconfig(speex)
27 akien 793526 BuildRequires: pkgconfig(sqlite3)
28     BuildRequires: pkgconfig(udev)
29     BuildRequires: pkgconfig(xmu)
30     BuildRequires: pkgconfig(zlib)
31     BuildRequires: simgear-devel >= %{version}
32 zezinho 436718 Requires: flightgear-data = %{version}
33 tv 675671 Recommends: fgrun
34 fwang 135076 Provides: FlightGear = %{version}-%{release}
35 ennael 86652
36     %description
37     The Flight Gear project is working to create a sophisticated flight simulator
38     framework for the development and pursuit of interesting flight simulator
39     ideas. We are developing a solid basic sim that can be expanded and improved
40     upon by anyone interested in contributing.
41    
42     %prep
43 akien 821044 %setup -q
44 ovitters 876212 %autopatch -p1
45 ennael 86652
46     %build
47 zezinho 399096 %cmake \
48 akien 815549 -DBUILD_SHARED_LIBS=OFF \
49 zezinho 399096 -DFG_DATA_DIR=%{_gamesdatadir}/%{name} \
50 akien 793523 -DSYSTEM_FLITE=ON \
51     -DSYSTEM_GSM=ON \
52     -DSYSTEM_SPEEX=ON \
53 fwang 602783 -DSYSTEM_SQLITE=ON \
54 akien 803144 -DSIMGEAR_SHARED=ON
55 fwang 126228 %make
56 ennael 86652
57     %install
58 zezinho 214171 %makeinstall_std -C build
59 ennael 86652
60 fwang 484701 install -D package/flightgear.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
61 ennael 86652
62 fwang 602800 pushd icons
63     mkdir -p %{buildroot}%{_iconsdir}/hicolor
64 fwang 602829 for i in `find * -maxdepth 0 -type d`
65 fwang 484701 do
66 fwang 602800 cp -fr $i %{buildroot}%{_iconsdir}/hicolor/
67 fwang 484701 done
68 fwang 602830 mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
69     mv %{buildroot}%{_iconsdir}/hicolor/scalable/*.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
70 fwang 602800 popd
71 akien 815549
72 ennael 86652 %files
73     %doc README AUTHORS docs-mini/
74 zezinho 214195 %{_bindir}/*
75 dams 452190 %{_datadir}/applications/%{name}.desktop
76 fwang 602800 %{_iconsdir}/hicolor/*/apps/*
77 fwang 134355 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30