Summary: The FlightGear Flight Simulator Name: flightgear Version: 2.6.0 Release: %mkrel 1 License: GPLv2+ Group: Games/Other Source0: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/%{name}-%{version}.tar.bz2 Source11: %{name}.16.png Source12: %{name}.32.png Source13: %{name}.48.png BuildRequires: simgear-devel >= %version BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(openthreads) BuildRequires: pkgconfig(openscenegraph) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(freealut) BuildRequires: boost-devel BuildRequires: plib-devel BuildRequires: fltk-devel BuildRequires: cmake Requires: flightgear-base Suggests: fgrun URL: http://www.flightgear.org/ Provides: FlightGear = %{version}-%{release} %description The Flight Gear project is working to create a sophisticated flight simulator framework for the development and pursuit of interesting flight simulator ideas. We are developing a solid basic sim that can be expanded and improved upon by anyone interested in contributing. %prep %setup -q -n %{name}-%{version} %build %cmake -DFG_DATA_DIR=%{_datadir}/%{name} %make %install %makeinstall_std -C build mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF [Desktop Entry] Name=Flight Gear Comment=Flight Gear Flight Simulator Exec=%{_gamesbindir}/fgfs Icon=%{name} Terminal=false Type=Application StartupNotify=true Categories=Game;Simulation; EOF install -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png install -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png %files %doc README AUTHORS docs-mini/ %{_gamesbindir}/* %{_datadir}/applications/%{_real_vendor}-%{name}.desktop %{_miconsdir}/%{name}.png %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %{_mandir}/man1/*