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
|
|
|
|
Version: 1.8.1
|
2024-01-06 08:06:55 +01:00
|
|
|
Release: 2mamba
|
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-01-06 08:06:52 +01:00
|
|
|
URL: http://www.ogre3d.org
|
2024-01-06 08:06:53 +01:00
|
|
|
# hg clone https://bitbucket.org/sinbad/ogre -b v1-9
|
|
|
|
# cd ogre
|
|
|
|
# hg archive -X ".hg*" -r v1-9 ogre-1.9.20140831hg
|
|
|
|
# tar cJf ../../SOURCES/ogre-1.9.20140831hg.tar.xz ogre-1.9.20140831hg/
|
|
|
|
#Source: https://bitbucket.org/sinbad/ogre/ogre-%{version}.tar.xz
|
|
|
|
Source: https://downloads.sourceforge.net/project/ogre/ogre/%{majver}/%{version}/ogre_src_v%{pkgver}.tar.bz2
|
|
|
|
#Source: http://downloads.sourceforge.net/project/ogre/ogre/%ver/%{version}/ogre_src_v%{ver_download}.tar.bz2
|
|
|
|
Patch0: ogre-1.9.20140831hg-missing-latomic.patch
|
2024-01-06 08:06:52 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXaw-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXt-devel
|
2024-01-06 08:06:53 +01:00
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtinyxml-devel
|
2024-01-06 08:06:52 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: libzzip-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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-01-06 08:06:55 +01:00
|
|
|
%setup -q -n ogre_src_v%{pkgver}
|
|
|
|
#-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
|
|
|
|
rm CMake/Packages/FindFreetype.cmake
|
|
|
|
|
|
|
|
%build
|
2024-01-06 08:06:55 +01:00
|
|
|
#:<< ___EOF
|
2024-01-06 08:06:52 +01:00
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/OgreMeshUpgrader
|
|
|
|
%{_bindir}/OgreXMLConverter
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_libdir}/OGRE
|
|
|
|
%{_libdir}/OGRE/Plugin_BSPSceneManager.so*
|
|
|
|
%{_libdir}/OGRE/Plugin_OctreeSceneManager.so*
|
|
|
|
%{_libdir}/OGRE/Plugin_OctreeZone.so*
|
|
|
|
%{_libdir}/OGRE/Plugin_PCZSceneManager.so*
|
|
|
|
%{_libdir}/OGRE/Plugin_ParticleFX.so*
|
|
|
|
%{_libdir}/OGRE/RenderSystem_GL.so*
|
|
|
|
%{_libdir}/libOgreMain.so.*
|
|
|
|
#%{_libdir}/libOgreOverlay.so.*
|
|
|
|
%{_libdir}/libOgrePaging.so.*
|
|
|
|
%{_libdir}/libOgreProperty.so.*
|
|
|
|
%{_libdir}/libOgreRTShaderSystem.so.*
|
|
|
|
%{_libdir}/libOgreTerrain.so.*
|
|
|
|
#%{_libdir}/libOgreVolume.so.*
|
|
|
|
#%dir %{_datadir}/OGRE
|
|
|
|
#%{_datadir}/OGRE/*
|
2024-01-06 08:06:52 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/GLX
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/GLX/*.h
|
|
|
|
%{_includedir}/OGRE/OgreZip.h
|
2024-01-06 08:06:53 +01:00
|
|
|
#%dir %{_includedir}/OGRE/Overlay
|
|
|
|
#%{_includedir}/OGRE/Overlay/*.h
|
|
|
|
%dir %{_includedir}/OGRE/Paging
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Paging/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Plugins
|
|
|
|
%dir %{_includedir}/OGRE/Plugins/BSPSceneManager
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Plugins/BSPSceneManager/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Plugins/OctreeSceneManager
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Plugins/OctreeSceneManager/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Plugins/OctreeZone
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Plugins/OctreeZone/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Plugins/PCZSceneManager
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Plugins/PCZSceneManager/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Plugins/ParticleFX
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Plugins/ParticleFX/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Property
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Property/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/RTShaderSystem
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/RTShaderSystem/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/RenderSystems
|
|
|
|
%dir %{_includedir}/OGRE/RenderSystems/GL
|
|
|
|
%dir %{_includedir}/OGRE/RenderSystems/GL/GL
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/RenderSystems/GL/GL/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/RenderSystems/GL/GLX
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/RenderSystems/GL/GLX/*.h
|
|
|
|
%{_includedir}/OGRE/RenderSystems/GL/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Terrain
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Terrain/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
%dir %{_includedir}/OGRE/Threading
|
2024-01-06 08:06:52 +01:00
|
|
|
%{_includedir}/OGRE/Threading/*.h
|
2024-01-06 08:06:53 +01:00
|
|
|
#%dir %{_includedir}/OGRE/Volume
|
|
|
|
#%{_includedir}/OGRE/Volume/*.h
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/OGRE/cmake/*.cmake
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2024-01-06 08:06:52 +01:00
|
|
|
|
|
|
|
%changelog
|
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
|