2024-02-06 12:50:54 +01:00
|
|
|
Name: openscenegraph
|
2024-01-05 17:51:33 +01:00
|
|
|
Version: 3.6.5
|
2024-02-06 12:50:54 +01:00
|
|
|
Release: 5mamba
|
2024-01-05 17:51:33 +01:00
|
|
|
Summary: An open source high performance 3D graphics toolkit
|
|
|
|
Group: Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:51:34 +01:00
|
|
|
URL: https://www.openscenegraph.com/
|
2024-01-05 17:51:33 +01:00
|
|
|
Source: https://github.com/openscenegraph/OpenSceneGraph/archive/refs/tags/OpenSceneGraph-%{version}.tar.gz
|
2024-01-05 17:51:33 +01:00
|
|
|
Patch1: OpenSceneGraph-3.6.5-libocct-7.6.0.patch
|
|
|
|
Patch2: OpenSceneGraph-3.6.5-ffmpeg-4.4.patch
|
2024-02-06 12:50:54 +01:00
|
|
|
Patch3: openscenegraph-3.6.5-openexr-3.2.1.patch
|
|
|
|
Patch4: openscenegraph-3.6.5-boost-1.84.0.patch
|
2024-01-05 17:51:33 +01:00
|
|
|
License: OSGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 17:51:34 +01:00
|
|
|
#libavresample.so.4()(64bit): .so link not found
|
|
|
|
#libavresample.so.4(LIBAVRESAMPLE_4)(64bit): .so link not found
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: libX11-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libXinerama-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libXrandr-devel
|
2024-01-05 17:51:34 +01:00
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
|
|
BuildRequires: libavdevice-ffmpeg-devel
|
|
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libcoin-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libdcmtk-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdal-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libgif-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
2024-02-06 12:50:54 +01:00
|
|
|
BuildRequires: libimath-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libjasper-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libnsl-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libocct-devel
|
2024-02-06 12:50:54 +01:00
|
|
|
BuildRequires: libopenexr-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpoppler-glib-devel
|
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libswresample-ffmpeg-devel
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: libswscale-ffmpeg-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libvncserver-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-02-06 12:50:54 +01:00
|
|
|
BuildRequires: libgdal-devel >= 3.8.3
|
|
|
|
BuildRequires: libdcmtk-devel >= 3.6.8
|
|
|
|
BuildRequires: dcmtk >= 3.6.8
|
2024-01-05 17:51:33 +01:00
|
|
|
BuildRequires: cmake
|
2024-01-05 17:51:33 +01:00
|
|
|
Requires: libosg = %{?epoch:%epoch:}%{version}-%{release}
|
2024-02-06 12:50:54 +01:00
|
|
|
Provides: OpenSceneGraph
|
|
|
|
Obsoletes: OpenSceneGraph < 3.6.5-4mamba
|
2024-01-05 17:51:33 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-05 17:51:33 +01:00
|
|
|
OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries.
|
|
|
|
|
|
|
|
%package -n libosg
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries provided by %{name}
|
|
|
|
|
|
|
|
%description -n libosg
|
|
|
|
OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n libosg-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libosg = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libosg-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-05 17:51:33 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-05 17:51:33 +01:00
|
|
|
%setup -q -n OpenSceneGraph-OpenSceneGraph-%{version}
|
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-02-06 12:50:54 +01:00
|
|
|
%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
|
2024-01-05 17:51:33 +01:00
|
|
|
|
|
|
|
%define minver %(echo %version | cut -d. -f2)
|
|
|
|
|
|
|
|
if [ "`expr %minver % 2`" == "1" ]; then
|
|
|
|
echo "WARNING: unstable version detected; don't want to build it to support FlightGear."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:51:33 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 17:51:33 +01:00
|
|
|
export PKG_CONFIG_PATH="%{_libdir}/ffmpeg4/pkgconfig"
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
%cmake -d build \
|
|
|
|
\
|
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
-DLIB_POSTFIX=64
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
%post -n libosg -p /sbin/ldconfig
|
|
|
|
%postun -n libosg -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/osgarchive
|
|
|
|
%{_bindir}/osgconv
|
|
|
|
%{_bindir}/osgfilecache
|
|
|
|
%{_bindir}/osgversion
|
|
|
|
%{_bindir}/osgviewer
|
|
|
|
%{_bindir}/present3D
|
2024-01-05 17:51:33 +01:00
|
|
|
|
|
|
|
%files -n libosg
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libOpenThreads.so.*
|
|
|
|
%{_libdir}/libosg*.so.*
|
|
|
|
%{_libdir}/osgPlugins-%{version}/*.so
|
|
|
|
%doc AUTHORS.txt LICENSE.txt
|
|
|
|
|
|
|
|
%files -n libosg-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/osg*
|
2024-01-05 17:51:33 +01:00
|
|
|
%{_includedir}/osg*/*
|
2024-01-05 17:51:33 +01:00
|
|
|
%dir %{_includedir}/OpenThreads
|
2024-01-05 17:51:33 +01:00
|
|
|
%{_includedir}/OpenThreads/*
|
|
|
|
%{_libdir}/pkgconfig/openscenegraph*.pc
|
|
|
|
%{_libdir}/pkgconfig/openthreads.pc
|
2024-01-05 17:51:33 +01:00
|
|
|
%{_libdir}/libOpenThreads.so
|
|
|
|
%{_libdir}/libosg*.so
|
2024-01-05 17:51:33 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-06 12:50:54 +01:00
|
|
|
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-5mamba
|
|
|
|
- rebuilt with libgdal 3.8.3
|
|
|
|
|
|
|
|
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-4mamba
|
|
|
|
- rebuilt with dcmtk 3.6.8 and gdal 3.7.3
|
|
|
|
- source renamed from OpenSceneGraph to openscenegraph
|
|
|
|
|
2024-01-05 17:51:34 +01:00
|
|
|
* Sat Feb 11 2023 Sdk Build System <sdk@mambasoft.it> 3.6.5-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: libgdal-devel>=0:3.6.2-1mamba
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
* Mon May 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-2mamba
|
|
|
|
- rebuilt with dcmtk 3.6.7
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
* Mon Jun 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-1mamba
|
|
|
|
- update to 3.6.5
|
|
|
|
|
2024-01-05 17:51:33 +01:00
|
|
|
* Fri Feb 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- update to 3.4.0
|
|
|
|
|
|
|
|
* Sat Mar 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- update to 3.2.1
|
|
|
|
- revert to stable for FlighGear 3.4 build
|
|
|
|
|
|
|
|
* Thu Jan 29 2015 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-2mamba
|
|
|
|
- rebuilt with ffmpeg 2.2
|
|
|
|
|
|
|
|
* Sun Oct 06 2013 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 18 2013 Automatic Build System <autodist@mambasoft.it> 3.1.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 21 2013 Automatic Build System <autodist@mambasoft.it> 3.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 3.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 20 2013 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 08 2012 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 11 2012 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.7-3mamba
|
|
|
|
- rebuilt with libpoppler-glib 0.16
|
|
|
|
|
|
|
|
* Wed Jun 09 2010 Automatic Build System <autodist@mambasoft.it> 2.9.7-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun May 16 2010 Automatic Build System <autodist@mambasoft.it> 2.9.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 25 2009 Automatic Build System <autodist@mambasoft.it> 2.9.4-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Apr 28 2009 Automatic Build System <autodist@mambasoft.it> 2.9.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- package created by autospec
|