Репозиторий Sisyphus
Последнее обновление: 19 июля 2019 | Пакетов: 17691 | Посещений: 14357239
en ru br
Репозитории ALT
S:2018.2.2-alt2
5.1: 1.9.1-alt3
4.1: 1.0.0-alt1.1
4.0: 0.3.10-alt1
3.0: 0.3.8-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: SimGear

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define major 2018.2
Name: SimGear
Version: %major.2
Release: alt2

Summary: Simulator Construction Tools

License: GPL
Group: System/Libraries
Url: http://www.flightgear.org

Packager: Michael Shigorin <mike at altlinux.org>

# Source-url: https://sourceforge.net/projects/flightgear/files/release-%major/simgear-%version.tar.bz2

Source: %name-%version.tar
Patch0: simgear-3.2.0-fedora-format.patch
Patch1: simgear-3.6.0-fedora-aarch64.patch
Patch2: %name-g++8.patch

# Automatically added by buildreq on Sat Mar 03 2012

# optimized out: cmake-modules libGL-devel libICE-devel libOpenThreads-devel libSM-devel libX11-devel libXau-devel libXext-devel libopenal-devel libstdc++-devel xorg-kbproto-devel xorg-xproto-devel
BuildRequires: boost-devel-headers cmake gcc-c++ libGLU-devel libOpenSceneGraph-devel libXi-devel libXt-devel libalut-devel libapr1-devel zlib-devel libcurl-devel

BuildRequires: cmake libapr1-devel

%description
SimGear is a set of open-source libraries designed to be used
as building blocks for quickly assembling 3d simulations, games,
and visualization applications.

%package -n libsimgear-devel-static
Summary: Simulation library (development part, static)
Group: Development/C
Provides: SimGear = %version
Provides: SimGear-devel = %version
Obsoletes: SimGear-devel < 1.0.0
Conflicts: SimGear-devel < 1.0.0

# from SimGearTargets.cmake

Requires: libOpenSceneGraph-devel libOpenThreads-devel
Requires: zlib-devel libcurl-devel libopenal-devel libGL-devel libGLU-devel

%description -n libsimgear-devel-static
SimGear is a set of open-source libraries designed to be used as
building blocks for quickly assembling 3d simulations, games,
and visualization applications.

This package contains header files for SimGear.

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p2
%__subst "s|\${CMAKE_INSTALL_LIBDIR}/cmake/SimGear|%_libdir/cmake/SimGear|" CMakeLists.txt

%build
%add_optflags %optflags_shared
%cmake_insource -DENABLE_TESTS=OFF
%make_build

%install
%makeinstall_std

%files -n libsimgear-devel-static
%_libdir/*.a
%_includedir/simgear
%_libdir/cmake/SimGear/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin