2024-01-05 17:43:25 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: FlightGear
|
2024-01-05 17:43:26 +01:00
|
|
|
Version: 2020.3.9
|
2024-01-05 17:43:26 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 17:43:25 +01:00
|
|
|
Summary: Flight Simulator
|
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:43:26 +01:00
|
|
|
URL: https://www.flightgear.org/
|
|
|
|
Source0: https://downloads.sourceforge.net/project/flightgear/release-%{majver}/flightgear-%{version}.tar.bz2
|
|
|
|
Source1: https://downloads.sourceforge.net/project/flightgear/release-%{majver}/FlightGear-%{version}-data.txz
|
2024-01-05 17:43:25 +01:00
|
|
|
Source2: flight.png
|
|
|
|
Patch0: FlightGear-3.4.0-fgviewer-find-lX11.patch
|
2024-01-05 17:43:26 +01:00
|
|
|
Patch1: FlightGear-2020.3.9-aarch64-rpi.patch
|
2024-01-05 17:43:25 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXi-devel
|
|
|
|
BuildRequires: libXmu-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libdbus-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libevent-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libfreeglut-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libglew-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libgsm-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libopenal-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libosg-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libplib-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libspeex-devel
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libspeexdsp-devel
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libSimGear-devel >= %{version}-2mamba
|
2024-01-05 17:43:25 +01:00
|
|
|
BuildRequires: libfltk-devel >= 1.3.3-2mamba
|
2024-01-05 17:43:26 +01:00
|
|
|
BuildRequires: libosg-devel >= 3.6.5
|
2024-01-05 17:43:25 +01:00
|
|
|
Requires: %{name}-data
|
|
|
|
Requires: alsa-oss
|
|
|
|
|
|
|
|
%description
|
|
|
|
The FlightGear flight simulator project is an open-source, multi-platform, cooperative flight simulator development project.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Summary: Maps for %{name}
|
|
|
|
|
|
|
|
%description data
|
|
|
|
The FlightGear flight simulator project is an open-source, multi-platform, cooperative flight simulator development project.
|
|
|
|
This package contains maps and scenary for FlightGear.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -a1 -n flightgear-%{version}
|
|
|
|
#% setup -q -n flightgear-%{version} -D -T
|
|
|
|
#:<< _EOF
|
|
|
|
#%patch0 -p1
|
2024-01-05 17:43:26 +01:00
|
|
|
%patch1 -p1
|
2024-01-05 17:43:25 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
|
|
|
-DCMAKE_EXE_LINKER_FLAGS="-lX11"
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
install -d 644 %{buildroot}%{_libdir}/%{name}
|
|
|
|
cp -r fgdata/* %{buildroot}%{_libdir}/%{name}
|
|
|
|
|
2024-01-05 17:43:26 +01:00
|
|
|
install -D -m0755 ./build/src/GUI/libfglauncherd.so %{buildroot}%{_libdir}/libfglauncherd.so
|
|
|
|
install -D -m0755 ./build/src/GUI/libfgqmluid.so %{buildroot}%{_libdir}/libfgqmluid.so
|
2024-01-05 17:43:25 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
2024-01-05 17:43:26 +01:00
|
|
|
%{_libdir}/libfglauncherd.so
|
|
|
|
%{_libdir}/libfgqmluid.so
|
|
|
|
%dir %{_libdir}/FlightGear
|
|
|
|
%{_libdir}/FlightGear/*
|
|
|
|
%{_datadir}/applications/org.flightgear.FlightGear.desktop
|
|
|
|
%{_datadir}/metainfo/org.flightgear.FlightGear.metainfo.xml
|
|
|
|
%{_datadir}/bash-completion/completions/fgfs
|
|
|
|
%{_datadir}/zsh/site-functions/_fgfs
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/flightgear.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/flightgear.svg
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man5/*.5*
|
|
|
|
%lang(it) %{_mandir}/it/man1/*.1*
|
|
|
|
%lang(it) %{_mandir}/it/man5/*.5*
|
2024-01-05 17:43:25 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files data
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%{_libdir}/%{name}/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:43:26 +01:00
|
|
|
* Tue Jun 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.3.9-2mamba
|
|
|
|
- rebuilt with OpenSceneGraph 3.6.5
|
|
|
|
|
2024-01-05 17:43:26 +01:00
|
|
|
* Sat Jun 19 2021 Automatic Build System <autodist@mambasoft.it> 2020.3.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:26 +01:00
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.3.8-1mamba
|
|
|
|
- update to 2020.3.8
|
|
|
|
|
2024-01-05 17:43:25 +01:00
|
|
|
* Fri Mar 04 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2016.1.1-1mamba
|
|
|
|
- update to 2016.1.1
|
|
|
|
|
|
|
|
* Sat Feb 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-2mamba
|
|
|
|
- install libfglauncher.so
|
|
|
|
|
|
|
|
* Sat Mar 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- update to 3.4.0
|
|
|
|
|
|
|
|
* Tue Mar 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- update to 3.0.0
|
|
|
|
|
|
|
|
* Fri May 24 2013 openmamba WebBuild System <webbuild@openmamba.org> 2.10.0-2mamba
|
|
|
|
- Rebuild with new libstdc++
|
|
|
|
|
|
|
|
* Tue Apr 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- update to 2.10.0
|
|
|
|
|
|
|
|
* Tue Apr 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-2mamba
|
|
|
|
- rebuilt with OpenScenGraph 3.1.5 and libSimGear 2.10
|
|
|
|
|
|
|
|
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
|
|
|
- update to 2.8.0
|
|
|
|
|
|
|
|
* Thu Jun 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- update to 2.0.0
|
|
|
|
|
|
|
|
* Sat May 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-4mamba
|
|
|
|
- rebuilt with OpenSceneGraph 2.9.4
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- update to 1.9.1
|
|
|
|
|
|
|
|
* Thu Jan 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Jan 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- update to 1.9.0
|
|
|
|
|
|
|
|
* Mon Jan 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- update to 1.0.0
|
|
|
|
|
|
|
|
* Tue Sep 06 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.8-2qilnx
|
|
|
|
- rebuild and moved from devel-contrib repository to devel repository
|
|
|
|
|
|
|
|
* Sat Sep 03 2005 Tiziano Pratellesi <tiziano.pratellesi@email.it> 0.9.8-1qilnx
|
|
|
|
- package created by autospec
|