|
%define oname FlightGear |
|
|
|
|
1 |
Summary: The FlightGear Flight Simulator |
Summary: The FlightGear Flight Simulator |
2 |
Name: flightgear |
Name: flightgear |
3 |
Version: 2.4.0 |
Version: 2.4.0 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
License: GPLv2+ |
License: GPLv2+ |
6 |
Group: Games/Other |
Group: Games/Other |
7 |
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 |
21 |
Requires: flightgear-base |
Requires: flightgear-base |
22 |
Suggests: fgrun |
Suggests: fgrun |
23 |
URL: http://www.flightgear.org/ |
URL: http://www.flightgear.org/ |
24 |
Provides: %{oname} = %{version}-%{release} |
Provides: FlightGear = %{version}-%{release} |
25 |
|
|
26 |
%description |
%description |
27 |
The Flight Gear project is working to create a sophisticated flight simulator |
The Flight Gear project is working to create a sophisticated flight simulator |
33 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
34 |
|
|
35 |
%build |
%build |
36 |
%configure2_5x |
%configure2_5x --bindir=%{_gamesbindir} \ |
37 |
|
--datadir=%{_gamesdatadir} |
38 |
%make |
%make |
39 |
|
|
40 |
%install |
%install |
46 |
[Desktop Entry] |
[Desktop Entry] |
47 |
Name=Flight Gear |
Name=Flight Gear |
48 |
Comment=Flight Gear Flight Simulator |
Comment=Flight Gear Flight Simulator |
49 |
Exec=fgfs --fg-root=%{_datadir}/FlightGear |
Exec=%{_gamesbindir}/fgfs |
50 |
Icon=%{name} |
Icon=%{name} |
51 |
Terminal=false |
Terminal=false |
52 |
Type=Application |
Type=Application |
60 |
|
|
61 |
%files |
%files |
62 |
%doc README AUTHORS docs-mini/ |
%doc README AUTHORS docs-mini/ |
63 |
%{_bindir}/* |
%{_gamesbindir}/* |
64 |
%{_datadir}/applications/%{_real_vendor}-%{name}.desktop |
%{_datadir}/applications/%{_real_vendor}-%{name}.desktop |
65 |
%{_miconsdir}/%{name}.png |
%{_miconsdir}/%{name}.png |
66 |
%{_iconsdir}/%{name}.png |
%{_iconsdir}/%{name}.png |