89 lines
2.0 KiB
RPMSpec
Executable File
89 lines
2.0 KiB
RPMSpec
Executable File
#
|
|
# spec file for package OpenSceneGraph (Version 3.1.7)
|
|
# $Revision$
|
|
# $Date$
|
|
# $Id$
|
|
#
|
|
|
|
%define real_name NGS_addons
|
|
|
|
Name: NGS_addons
|
|
Provides: %{name}
|
|
|
|
Requires: ace
|
|
Requires: NGS
|
|
Requires: ScoreConfiguration
|
|
Requires: ScoreGeometry
|
|
Requires: ScoreGeodesy
|
|
Requires: tao
|
|
|
|
BuildRequires: ace-devel
|
|
BuildRequires: NGS-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: ScoreConfiguration-devel
|
|
BuildRequires: ScoreGeometry-devel
|
|
BuildRequires: ScoreGeodesy-devel
|
|
BuildRequires: tao-devel
|
|
|
|
License: commercial
|
|
Group: System/Libraries
|
|
Summary: NGS - adapter to MAK RTI v4.5.0
|
|
Version: 1.0.1
|
|
Release: 1
|
|
Source: NGSAddOns-master.tar.gz
|
|
Patch1: NGSAddOns-master.patch
|
|
AutoReqProv: no
|
|
|
|
%debug_package
|
|
|
|
%description
|
|
NGS - adapter to MAK RTI v4.5.0
|
|
|
|
%prep
|
|
%setup -q -n NGSAddOns-master
|
|
%patch1 -p1
|
|
|
|
%build
|
|
builddir=%{_builddir}/%{buildsubdir}-build
|
|
rm -rf ${builddir}
|
|
mkdir -p ${builddir}
|
|
cd ${builddir}
|
|
cmake -Wno-dev \
|
|
-DCMAKE_INSTALL_PREFIX=/opt/NGS/NGSPublic \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DBUILD_QTSWTESTTOOL=ON \
|
|
-DBUILD_RESCONVERTER=OFF \
|
|
-DBUILD_RESOURCEMONITOR=OFF \
|
|
-DC++11=ON \
|
|
-DSCOREGEOMETRY_ROOT=/opt/NGS/NGSPublic \
|
|
-DTP_ACE_ROOT=/usr \
|
|
-DTP_ACE_TAO_INSTALL=/usr \
|
|
-DTP_BOOST_ROOT=/usr \
|
|
-DTP_NGS_ROOT=/opt/NGS/NGSPublic \
|
|
-DTP_QT_ROOT=/usr \
|
|
-DTP_SCORECONFIGURATION_ROOT=/usr \
|
|
-DTP_SCOREGEODESY_ROOT=/usr \
|
|
-DTP_TAO_ROOT=/usr/share/tao \
|
|
%{_builddir}/%{buildsubdir}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
builddir=%{_builddir}/%{buildsubdir}-build
|
|
cd ${builddir}
|
|
make DESTDIR=%{buildroot} install %{_smp_mflags}
|
|
|
|
%clean
|
|
%{__rm} -rf '%{buildroot}'
|
|
%{__rm} -rf '%{_builddir}/%{buildsubdir}'
|
|
%{__rm} -rf '%{_builddir}/%{buildsubdir}-build'
|
|
|
|
%files
|
|
%defattr(-,root,root,755)
|
|
/opt/NGS/NGSPublic/exe
|
|
/opt/NGS/NGSPublic/qtswtesttool
|
|
/opt/NGS/NGSPublic/simmonitor
|
|
|
|
%changelog
|
|
* Tue Mar 12 2019 Christian Ehrlicher
|
|
- initial version NGS v14.1.1 / RTIFacade v1.0.1
|