Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aschnell:boost
FlightGear
FlightGear.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File FlightGear.spec of Package FlightGear
# # spec file for package FlightGear # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define main_version 2020.3 Name: FlightGear Version: %{main_version}.19 Release: 0 Summary: Flight Simulator License: GPL-2.0-only Group: Amusements/Games/3D/Simulation URL: https://www.flightgear.org/ Source0: https://sourceforge.net/projects/flightgear/files/release-%{main_version}/flightgear-%{version}.tar.bz2 BuildRequires: SimGear-devel = %{version} BuildRequires: cmake BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libboost_headers-devel BuildRequires: libevent-devel BuildRequires: pkgconfig BuildRequires: plib-devel BuildRequires: sqlite3-devel BuildRequires: update-desktop-files # Required for screensaver inhibition BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(speexdsp) # Additional dependencies to enable FlightGear's new Qt launcher interface BuildRequires: libQt5PlatformHeaders-devel BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) # If not installed, FG downloads the data on launch Recommends: FlightGear-data = %{version} %description The FlightGear 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 flightgear-%{version} # remove some unneeded doc files for ext in Cygwin IRIX Joystick Linux MSVC MSVC8 MacOS SimGear Unix Win32-X autoconf mingw plib src xmlsyntax; do rm -f docs-mini/README.${ext} done %build %cmake \ -DFG_DATA_DIR:STRING="%{_datadir}/flightgear" \ -DSYSTEM_SQLITE:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DBUILD_TESTING:BOOL=OFF \ -DENABLE_JS_DEMO:BOOL=OFF \ -DENABLE_GPSSMOOTH:BOOL=OFF \ -DENABLE_FGVIEWER:BOOL=OFF \ -DENABLE_FGELEV:BOOL=OFF \ -DOpenGL_GL_PREFERENCE=GLVND \ -DENABLE_METAR:BOOL=ON %cmake_build %install %cmake_install # install icons install -m 0755 -d %{buildroot}%{_datadir}/icons/hicolor/ pushd icons cp -r -t %{buildroot}%{_datadir}/icons/hicolor/ 16x16 32x32 48x48 64x64 128x128 scalable popd # install desktop file %suse_update_desktop_file org.flightgear.FlightGear # remove obsolete utilities cd %{buildroot}%{_bindir} && rm -f GPSsmooth MIDGsmooth UGsmooth metar yasim yasim-proptest %files %doc AUTHORS ChangeLog NEWS README Thanks docs-mini/* %license COPYING %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/it/man1/* %{_mandir}/it/man5/* %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/metainfo/org.flightgear.FlightGear.metainfo.xml %{_datadir}/bash-completion/completions/fgfs %{_datadir}/zsh/site-functions/_fgfs %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor