rebuilt by autoport with build requirements: libopencascade-devel>=0:7.8.1-2mamba [release 3.6.5-6mamba;Fri Oct 25 2024]

This commit is contained in:
Automatic Build System 2024-10-26 10:17:07 +02:00
parent 8b764fa96b
commit c15721913e

View File

@ -1,12 +1,12 @@
Name: openscenegraph
Version: 3.6.5
Release: 5mamba
Release: 6mamba
Summary: An open source high performance 3D graphics toolkit
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.openscenegraph.com/
URL: https://openscenegraph.github.io/openscenegraph.io/
Source: https://github.com/openscenegraph/OpenSceneGraph/archive/refs/tags/OpenSceneGraph-%{version}.tar.gz
Patch1: OpenSceneGraph-3.6.5-libocct-7.6.0.patch
Patch2: OpenSceneGraph-3.6.5-ffmpeg-4.4.patch
@ -14,17 +14,15 @@ Patch3: openscenegraph-3.6.5-openexr-3.2.1.patch
Patch4: openscenegraph-3.6.5-boost-1.84.0.patch
License: OSGPL
## AUTOBUILDREQ-BEGIN
#libavresample.so.4()(64bit): .so link not found
#libavresample.so.4(LIBAVRESAMPLE_4)(64bit): .so link not found
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libX11-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavdevice-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libavcodec-ffmpeg4-devel
BuildRequires: libavdevice-ffmpeg4-devel
BuildRequires: libavformat-ffmpeg4-devel
BuildRequires: libavresample-ffmpeg4-devel
BuildRequires: libavutil-ffmpeg4-devel
BuildRequires: libcairo-devel
BuildRequires: libcoin-devel
BuildRequires: libcurl-devel
@ -41,16 +39,17 @@ BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libimath-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: libjpeg-turbo
BuildRequires: liblas-devel
BuildRequires: libnsl-devel
BuildRequires: libocct-devel
BuildRequires: libopenexr-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: librsvg-devel
BuildRequires: libsdl12-compat-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswresample-ffmpeg-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libswresample-ffmpeg4-devel
BuildRequires: libswscale-ffmpeg4-devel
BuildRequires: libtiff-devel
BuildRequires: libvncserver-devel
BuildRequires: libz-devel
@ -88,11 +87,14 @@ This package contains libraries and header files for developing applications tha
%setup -q -n OpenSceneGraph-OpenSceneGraph-%{version}
#-D -T
#:<< _EOF
%patch 1 -p1
#%patch 1 -p1
%patch 2 -p1 -b .ffmpeg-4.4
%patch 3 -p1 -b .openexr-3.2.1
%patch 4 -p1 -b .boost-1.84.0
# Disable OpenCascade plugin (incompatible with current 3.8.1)
mv CMakeModules/FindOpenCascade.cmake{,.bak}
%define minver %(echo %version | cut -d. -f2)
if [ "`expr %minver % 2`" == "1" ]; then
@ -107,6 +109,7 @@ export PKG_CONFIG_PATH="%{_libdir}/ffmpeg4/pkgconfig"
%cmake -d build \
\
-Wno-dev \
%ifarch x86_64 aarch64
-DLIB_POSTFIX=64
%endif
@ -120,8 +123,6 @@ export PKG_CONFIG_PATH="%{_libdir}/ffmpeg4/pkgconfig"
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libosg -p /sbin/ldconfig
%postun -n libosg -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -151,6 +152,9 @@ export PKG_CONFIG_PATH="%{_libdir}/ffmpeg4/pkgconfig"
%{_libdir}/libosg*.so
%changelog
* Fri Oct 25 2024 Automatic Build System <autodist@mambasoft.it> 3.6.5-6mamba
- rebuilt by autoport with build requirements: libopencascade-devel>=0:7.8.1-2mamba
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-5mamba
- rebuilt with libgdal 3.8.3