Add Ubuntu 26.04 spec file with Qt6 dependencies
- Created lts26.04.spec for Ubuntu 26.04 LTS builds - Updated Qt5 dependencies to Qt6 (libQt6Core6, libQt6Gui6, etc.) - Added Qt6SerialPort and Qt6Multimedia requirements - Changed BuildRequires to pkgconfig(Qt6*) format - Updated python-xml to python3-xml - Changed libpq-devel to match Ubuntu naming Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 file changed
+105
@@ -0,0 +1,105 @@
|
|||||||
|
# $Id$
|
||||||
|
# $HeadURL$
|
||||||
|
#
|
||||||
|
# Ubuntu 26.04 LTS spec file for Qt6 migration
|
||||||
|
#
|
||||||
|
Name: @PROJECT@_@OS_SYSTEM@
|
||||||
|
Version: @VERSION@
|
||||||
|
Release: @RELEASE@
|
||||||
|
Packager: @PACKAGER@
|
||||||
|
Summary: Live Simulation Training System Software
|
||||||
|
License: proprietary
|
||||||
|
Group: Applications/Communications
|
||||||
|
Source: @SOURCES@
|
||||||
|
Vendor: Rheinmetall Electronics GmbH
|
||||||
|
URL: http://www.rheinmetall-electronics.de
|
||||||
|
Prefix: /shd/CTC
|
||||||
|
%description
|
||||||
|
Live Simulation Training System Software
|
||||||
|
Build information: @JENKINS_BUILD_TAG@
|
||||||
|
|
||||||
|
%define _unpackaged_files_terminate_build 0
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n @SOURCE_DIR_REL@
|
||||||
|
export source_dir=`pwd`
|
||||||
|
|
||||||
|
%build
|
||||||
|
my_builddir=%{_builddir}/%{buildsubdir}-build
|
||||||
|
rm -fr ${my_builddir}
|
||||||
|
mkdir -p ${my_builddir}
|
||||||
|
cd ${my_builddir}
|
||||||
|
cmake -DBUILD_RPM=ON -DBUILD_ALL=ON -DBUILD_TESTING=OFF @CMAKE_FLAGS@ -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_INSTALL_PREFIX=%{prefix} %{_builddir}/%{buildsubdir}
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
my_builddir=%{_builddir}/%{buildsubdir}-build
|
||||||
|
cd ${my_builddir}
|
||||||
|
DESTDIR=%{buildroot} cmake -DCOMPONENT=Unspecified -P cmake_install.cmake
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{__rm} -rf '%{buildroot}'
|
||||||
|
%{__rm} -rf '%{_builddir}'
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
#* date +"%a %b %d %Y" text
|
||||||
|
* Tue Sep 19 2017 CE
|
||||||
|
- initial
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# LTS Server
|
||||||
|
#
|
||||||
|
|
||||||
|
%package -n @PROJECT@_sv_@OS_SYSTEM@
|
||||||
|
Summary: LTS Software Server
|
||||||
|
Group: Applications/Communications
|
||||||
|
Prefix: /shd/CTC/SV
|
||||||
|
Requires: libecpg6
|
||||||
|
Requires: libgdal30
|
||||||
|
Requires: libpoppler-qt6-3
|
||||||
|
Requires: libQt6Concurrent6
|
||||||
|
Requires: libQt6Core6
|
||||||
|
Requires: libQt6Gui6
|
||||||
|
Requires: libQt6Network6
|
||||||
|
Requires: libQt6Sql6
|
||||||
|
Requires: libQt6WebSockets6
|
||||||
|
Requires: libQt6Xml6
|
||||||
|
Requires: libQt6Test6
|
||||||
|
Requires: libQt6SerialPort6
|
||||||
|
Requires: libQt6Multimedia6
|
||||||
|
Requires: ctc_GeographicLib
|
||||||
|
Requires: ctc_Log4Qt
|
||||||
|
Requires: ctc_rti
|
||||||
|
Requires: ctc_tmsif
|
||||||
|
Requires: ctc_schusstafel
|
||||||
|
# for elevation and new building files
|
||||||
|
Requires: @PROJECT@_situation_map
|
||||||
|
Requires: @PROJECT@_dependencies
|
||||||
|
#Requires: ctc_ngs_tes_uae_apache
|
||||||
|
BuildRequires: python3-xml
|
||||||
|
BuildRequires: pkgconfig(gdal)
|
||||||
|
BuildRequires: pkgconfig(poppler-qt6)
|
||||||
|
BuildRequires: pkgconfig(Qt6Concurrent)
|
||||||
|
BuildRequires: pkgconfig(Qt6Core)
|
||||||
|
BuildRequires: pkgconfig(Qt6Gui)
|
||||||
|
BuildRequires: pkgconfig(Qt6Network)
|
||||||
|
BuildRequires: pkgconfig(Qt6Sql)
|
||||||
|
BuildRequires: pkgconfig(Qt6Test)
|
||||||
|
BuildRequires: pkgconfig(Qt6WebSockets)
|
||||||
|
BuildRequires: pkgconfig(Qt6Xml)
|
||||||
|
BuildRequires: pkgconfig(Qt6SerialPort)
|
||||||
|
BuildRequires: pkgconfig(Qt6Multimedia)
|
||||||
|
BuildRequires: libpq-dev
|
||||||
|
BuildRequires: ctc_GeographicLib-devel
|
||||||
|
BuildRequires: ctc_Log4Qt-devel
|
||||||
|
BuildRequires: ctc_tmsif-devel
|
||||||
|
BuildRequires: ctc_rti-devel
|
||||||
|
# no devel version...
|
||||||
|
BuildRequires: ctc_schusstafel
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
|
%description -n @PROJECT@_sv_@OS_SYSTEM@
|
||||||
|
Live Simulation Training System Server Software
|
||||||
|
|
||||||
Reference in new issue
Block a user