/[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 793526 - (hide annotations) (download)
Sun Oct 26 19:23:57 2014 UTC (9 years, 5 months ago) by akien
Original Path: cauldron/flightgear/current/SPECS/flightgear.spec
File size: 2140 byte(s)
Reorder BRs alphabetically (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 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 793523 Patch0: flightgear-3.2.0-mga-static-FGAdminUI.patch
10 akien 793526
11 ennael 86652 BuildRequires: boost-devel
12 akien 793526 BuildRequires: cmake
13     BuildRequires: flite-devel
14 fwang 126231 BuildRequires: fltk-devel
15 akien 793526 BuildRequires: freeglut-devel
16 akien 793523 BuildRequires: gsm-devel
17 akien 793526 BuildRequires: plib-devel
18 fwang 602783 BuildRequires: pkgconfig(dbus-1)
19 akien 793526 BuildRequires: pkgconfig(freealut)
20     BuildRequires: pkgconfig(gl)
21     BuildRequires: pkgconfig(openal)
22     BuildRequires: pkgconfig(openthreads)
23     BuildRequires: pkgconfig(openscenegraph)
24 akien 793523 BuildRequires: pkgconfig(speex)
25 akien 793526 BuildRequires: pkgconfig(sqlite3)
26     BuildRequires: pkgconfig(udev)
27     BuildRequires: pkgconfig(xmu)
28     BuildRequires: pkgconfig(zlib)
29     BuildRequires: simgear-devel >= %{version}
30 zezinho 436718 Requires: flightgear-data = %{version}
31 tv 675671 Recommends: fgrun
32 fwang 135076 Provides: FlightGear = %{version}-%{release}
33 ennael 86652
34     %description
35     The Flight Gear project is working to create a sophisticated flight simulator
36     framework for the development and pursuit of interesting flight simulator
37     ideas. We are developing a solid basic sim that can be expanded and improved
38     upon by anyone interested in contributing.
39    
40     %prep
41 fwang 134354 %setup -q -n %{name}-%{version}
42 akien 793523 %apply_patches
43 ennael 86652
44     %build
45 zezinho 399096 %cmake \
46     -DFG_DATA_DIR=%{_gamesdatadir}/%{name} \
47 akien 793523 -DSYSTEM_FLITE=ON \
48     -DSYSTEM_GSM=ON \
49     -DSYSTEM_SPEEX=ON \
50 fwang 602783 -DSYSTEM_SQLITE=ON \
51 zezinho 399096 -DSIMGEAR_SHARED=ON \
52     -DJPEG_FACTORY=ON
53 fwang 126228 %make
54 ennael 86652
55     %install
56 zezinho 214171 %makeinstall_std -C build
57 ennael 86652
58 fwang 484701 install -D package/flightgear.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
59 ennael 86652
60 fwang 602800 pushd icons
61     mkdir -p %{buildroot}%{_iconsdir}/hicolor
62 fwang 602829 for i in `find * -maxdepth 0 -type d`
63 fwang 484701 do
64 fwang 602800 cp -fr $i %{buildroot}%{_iconsdir}/hicolor/
65 fwang 484701 done
66 fwang 602830 mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
67     mv %{buildroot}%{_iconsdir}/hicolor/scalable/*.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
68 fwang 602800 popd
69    
70 ennael 86652 %files
71     %doc README AUTHORS docs-mini/
72 zezinho 214195 %{_bindir}/*
73 fwang 602829 %{_datadir}/%{name}
74 dams 452190 %{_datadir}/applications/%{name}.desktop
75 fwang 602800 %{_iconsdir}/hicolor/*/apps/*
76 fwang 134355 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30