1 |
Summary: The FlightGear Flight Simulator |
Summary: The FlightGear Flight Simulator |
2 |
Name: flightgear |
Name: flightgear |
3 |
Version: 3.2.0 |
Version: 3.4.0 |
4 |
Release: %mkrel 3 |
Release: %mkrel 1 |
5 |
License: GPLv2+ |
License: GPLv2+ |
6 |
Group: Games/Simulation |
Group: Games/Simulation |
7 |
URL: http://www.flightgear.org/ |
URL: http://www.flightgear.org/ |
8 |
Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2 |
Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2 |
|
Patch0: flightgear-3.2.0-mga-static-FGAdminUI.patch |
|
9 |
|
|
10 |
BuildRequires: boost-devel |
BuildRequires: boost-devel |
11 |
BuildRequires: cmake |
BuildRequires: cmake |
42 |
|
|
43 |
%build |
%build |
44 |
%cmake \ |
%cmake \ |
45 |
|
-DBUILD_SHARED_LIBS=OFF \ |
46 |
-DFG_DATA_DIR=%{_gamesdatadir}/%{name} \ |
-DFG_DATA_DIR=%{_gamesdatadir}/%{name} \ |
47 |
-DSYSTEM_FLITE=ON \ |
-DSYSTEM_FLITE=ON \ |
48 |
-DSYSTEM_GSM=ON \ |
-DSYSTEM_GSM=ON \ |
65 |
mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps/ |
mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps/ |
66 |
mv %{buildroot}%{_iconsdir}/hicolor/scalable/*.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/ |
mv %{buildroot}%{_iconsdir}/hicolor/scalable/*.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/ |
67 |
popd |
popd |
68 |
|
|
69 |
%files |
%files |
70 |
%doc README AUTHORS docs-mini/ |
%doc README AUTHORS docs-mini/ |
71 |
%{_bindir}/* |
%{_bindir}/* |
|
%{_datadir}/%{name} |
|
72 |
%{_datadir}/applications/%{name}.desktop |
%{_datadir}/applications/%{name}.desktop |
73 |
%{_iconsdir}/hicolor/*/apps/* |
%{_iconsdir}/hicolor/*/apps/* |
74 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |