2024-01-06 08:06:53 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
%define pkgver %(echo %version | tr . -)
|
2024-01-06 08:06:52 +01:00
|
|
|
Name: ogre
|
2024-01-06 08:06:53 +01:00
|
|
|
Epoch: 1
|
2024-11-09 20:15:57 +01:00
|
|
|
Version: 14.3.1
|
|
|
|
Release: 1mamba
|
2024-01-06 08:06:53 +01:00
|
|
|
Summary: A scene-oriented, flexible 3D engine
|
2024-01-06 08:06:52 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 08:06:53 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-11-09 20:15:57 +01:00
|
|
|
URL: https://www.ogre3d.org/
|
|
|
|
Source: https://github.com/OGRECave/ogre.git/v%{version}/ogre-%{version}.tar.bz2
|
2024-01-06 08:06:53 +01:00
|
|
|
Patch0: ogre-1.9.20140831hg-missing-latomic.patch
|
2024-01-06 08:06:52 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-11-09 20:15:57 +01:00
|
|
|
BuildRequires: java-openjdk11-runtime
|
|
|
|
BuildRequires: java-openjdk8-runtime
|
2024-01-06 08:06:52 +01:00
|
|
|
BuildRequires: libICE-devel
|
2024-11-09 20:15:57 +01:00
|
|
|
BuildRequires: libQt5Core
|
|
|
|
BuildRequires: libQt5Gui
|
|
|
|
BuildRequires: libSDL2-devel
|
2024-01-06 08:06:52 +01:00
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXaw-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXt-devel
|
2024-11-09 20:15:57 +01:00
|
|
|
BuildRequires: libbullet-devel
|
2024-01-06 08:06:53 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
2024-11-09 20:15:57 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libpython310-devel
|
2024-01-06 08:06:53 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 08:06:52 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-11-09 20:15:57 +01:00
|
|
|
BuildRequires: mono-devel
|
|
|
|
BuildRequires: pugixml-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-06 08:06:52 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-11-09 20:15:57 +01:00
|
|
|
BuildRequires: swig3
|
2024-01-06 08:06:52 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce applications utilising hardware-accelerated 3D graphics.
|
|
|
|
The class library abstracts all the details of using the underlying system libraries like Direct3D and OpenGL and provides an interface based on world objects and other intuitive classes.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce applications utilising hardware-accelerated 3D graphics.
|
|
|
|
The class library abstracts all the details of using the underlying system libraries like Direct3D and OpenGL and provides an interface based on world objects and other intuitive classes.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-11-09 20:15:57 +01:00
|
|
|
%setup -q
|
2024-01-06 08:06:55 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< __EOF
|
2024-01-06 08:06:53 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
#-n %{name}_src_v%{ver_download}
|
2024-01-06 08:06:52 +01:00
|
|
|
# use cmake default
|
2024-11-09 20:15:57 +01:00
|
|
|
#rm CMake/Packages/FindFreetype.cmake
|
2024-01-06 08:06:52 +01:00
|
|
|
|
|
|
|
%build
|
2024-11-09 20:15:57 +01:00
|
|
|
#:<< _EOF
|
|
|
|
%cmake -d build \
|
|
|
|
-DOGRE_RESOURCEMANAGER_STRICT=0 \
|
|
|
|
-DOGRE_NODELESS_POSITIONING=ON \
|
|
|
|
-DOGRE_BUILD_DEPENDENCIES=FALSE \
|
|
|
|
-DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \
|
|
|
|
-DOGRE_BUILD_PLUGIN_EXRCODEC=TRUE \
|
|
|
|
-DSWIG_EXECUTABLE=/usr/bin/swig3 \
|
|
|
|
-DPYTHON_EXECUTABLE=%{__python310} \
|
|
|
|
-DPYTHON_INCLUDE_DIR=%{python310_inc}
|
|
|
|
|
|
|
|
# -DSWIG_DIR_PATH=/usr/share/swig/3.0.12
|
|
|
|
|
|
|
|
#_EOF
|
|
|
|
|
|
|
|
%make -j2
|
2024-01-06 08:06:52 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/OgreMeshUpgrader
|
|
|
|
%{_bindir}/OgreXMLConverter
|
2024-11-09 20:15:57 +01:00
|
|
|
%{_bindir}/SampleBrowser
|
|
|
|
%{_bindir}/VRMLConverter
|
|
|
|
%{_libdir}/libOgreBites.so.*
|
|
|
|
%{_libdir}/libOgreBitesQt.so.*
|
|
|
|
#%{_libdir}/libOgreHLMS.so.*
|
|
|
|
%{_libdir}/libOgreMeshLodGenerator.so.*
|
|
|
|
%{_libdir}/libOgreOverlay.so.*
|
|
|
|
%{_libdir}/libOgreVolume.so.*
|
2024-01-06 08:06:53 +01:00
|
|
|
%{_libdir}/libOgreMain.so.*
|
|
|
|
%{_libdir}/libOgrePaging.so.*
|
|
|
|
%{_libdir}/libOgreProperty.so.*
|
|
|
|
%{_libdir}/libOgreRTShaderSystem.so.*
|
|
|
|
%{_libdir}/libOgreTerrain.so.*
|
2024-11-09 20:15:57 +01:00
|
|
|
%dir %{_libdir}/OGRE
|
|
|
|
%{_libdir}/OGRE/*
|
|
|
|
%exclude %{_libdir}/OGRE/cmake
|
|
|
|
%dir %{_datadir}/OGRE-%{majver}
|
|
|
|
%{_datadir}/OGRE-%{majver}/*
|
|
|
|
%{_datadir}/java/Ogre-%{version}.jar
|
|
|
|
%dir %{_prefix}/lib/cli/ogre-sharp-%{version}
|
|
|
|
%{_prefix}/lib/cli/ogre-sharp-%{version}/*
|
|
|
|
%dir %{_prefix}/lib/python3.10/dist-packages/Ogre
|
|
|
|
%{_prefix}/lib/python3.10/dist-packages/Ogre/*
|
|
|
|
%dir %{_datadir}/doc/OGRE
|
|
|
|
%{_datadir}/doc/OGRE/*
|
|
|
|
%doc AUTHORS LICENSE
|
2024-01-06 08:06:52 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE
|
2024-11-09 20:15:57 +01:00
|
|
|
%{_includedir}/OGRE/*
|
|
|
|
#%{_libdir}/libOgreGLSupport.a
|
2024-01-06 08:06:53 +01:00
|
|
|
%{_libdir}/*.so
|
2024-11-09 20:15:57 +01:00
|
|
|
#%{_prefix}/lib/libOgre.so
|
2024-01-06 08:06:53 +01:00
|
|
|
%{_libdir}/OGRE/cmake/*.cmake
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2024-01-06 08:06:52 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-09 20:15:57 +01:00
|
|
|
* Sat Nov 02 2024 Automatic Build System <autodist@openmamba.org> 14.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 22 2024 Automatic Build System <autodist@openmamba.org> 14.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 06 2024 Automatic Build System <autodist@openmamba.org> 14.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon May 13 2024 Automatic Build System <autodist@openmamba.org> 14.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Apr 23 2024 Automatic Build System <autodist@openmamba.org> 14.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 14.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 14.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 20 2023 Automatic Build System <autodist@mambasoft.it> 14.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 19 2023 Automatic Build System <autodist@mambasoft.it> 14.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Automatic Build System <autodist@mambasoft.it> 14.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 13 2023 Automatic Build System <autodist@mambasoft.it> 14.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 13.6.4-2mamba
|
|
|
|
- rebuilt with cmake options required for stuntrally and with python 3.10
|
|
|
|
|
|
|
|
* Fri Apr 14 2023 Automatic Build System <autodist@mambasoft.it> 13.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 13.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 13.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 28 2023 Automatic Build System <autodist@mambasoft.it> 13.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Automatic Build System <autodist@mambasoft.it> 13.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 25 2022 Automatic Build System <autodist@mambasoft.it> 13.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 19 2022 Automatic Build System <autodist@mambasoft.it> 13.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 20 2022 Automatic Build System <autodist@mambasoft.it> 13.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 17 2022 Automatic Build System <autodist@mambasoft.it> 13.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Automatic Build System <autodist@mambasoft.it> 13.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Automatic Build System <autodist@mambasoft.it> 13.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 07 2022 Automatic Build System <autodist@mambasoft.it> 13.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 21 2022 Automatic Build System <autodist@mambasoft.it> 13.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 13 2021 Automatic Build System <autodist@mambasoft.it> 13.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 09 2021 Automatic Build System <autodist@mambasoft.it> 13.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 30 2021 Automatic Build System <autodist@mambasoft.it> 13.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 18 2021 Automatic Build System <autodist@mambasoft.it> 13.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 17 2021 Automatic Build System <autodist@mambasoft.it> 13.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 Automatic Build System <autodist@mambasoft.it> 13.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 Automatic Build System <autodist@mambasoft.it> 1.12.12-2mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 01 2021 Automatic Build System <autodist@mambasoft.it> 1.12.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 04 2019 Automatic Build System <autodist@mambasoft.it> 1.11.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 09 2018 Automatic Build System <autodist@mambasoft.it> 1.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 11 2018 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 13 2018 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.12-1mamba
|
|
|
|
- update to 1.10.12
|
|
|
|
|
2024-01-06 08:06:55 +01:00
|
|
|
* Fri Feb 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-2mamba
|
|
|
|
- rebuilt with gcc 5.3.0
|
|
|
|
|
2024-01-06 08:06:53 +01:00
|
|
|
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- update to 1.8.1
|
|
|
|
- revert to stable 1.8.1 for stuntrally (bump up epoch)
|
|
|
|
|
|
|
|
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.20140831hg-1mamba
|
|
|
|
- update to 1.9.20140831hg
|
|
|
|
- move devel files to -devel package
|
|
|
|
|
2024-01-06 08:06:52 +01:00
|
|
|
* Mon Dec 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
|
|
|
|
- rebuilt with boost 1.55
|
|
|
|
|
|
|
|
* Tue Nov 26 2013 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 20 2013 openmamba WebBuild System <webbuild@openmamba.org> 1.8.1-2mamba
|
|
|
|
- fixed summary
|
|
|
|
|
|
|
|
* Tue Oct 30 2012 openmamba WebBuild System <webbuild@openmamba.org> 1.8.1-1mamba
|
|
|
|
- package created by autospec
|