109 lines
3.7 KiB
RPMSpec
109 lines
3.7 KiB
RPMSpec
|
%define ver %(echo %{version} | cut -d . -f 1-2)
|
||
|
%define ver_download 1-8-1
|
||
|
Name: ogre
|
||
|
Version: 1.9.0
|
||
|
Release: 2mamba
|
||
|
Summary: a scene-oriented, flexible 3D engine
|
||
|
Group: Development/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: openmamba WebBuild System <webbuild@openmamba.org>
|
||
|
URL: http://www.ogre3d.org
|
||
|
Source: http://downloads.sourceforge.net/project/ogre/ogre/%ver/%{version}/ogre_src_v%{ver_download}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libboost-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libGL-devel
|
||
|
BuildRequires: libGLU-devel
|
||
|
BuildRequires: libICE-devel
|
||
|
BuildRequires: libSM-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libX11-devel
|
||
|
BuildRequires: libXaw-devel
|
||
|
BuildRequires: libXext-devel
|
||
|
BuildRequires: libXrandr-devel
|
||
|
BuildRequires: libXt-devel
|
||
|
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
|
||
|
%setup -q -n %{name}_src_v%{ver_download}
|
||
|
# use cmake default
|
||
|
rm CMake/Packages/FindFreetype.cmake
|
||
|
|
||
|
%build
|
||
|
%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
|
||
|
%{_libdir}/OGRE/*.so
|
||
|
%{_libdir}/OGRE/*.so.1.8.1
|
||
|
%{_libdir}/OGRE/cmake/*.cmake
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/*.so.1.8.1
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/OGRE/*.h
|
||
|
%{_includedir}/OGRE/GLX/*.h
|
||
|
%{_includedir}/OGRE/OgreZip.h
|
||
|
%{_includedir}/OGRE/Paging/*.h
|
||
|
%{_includedir}/OGRE/Plugins/BSPSceneManager/*.h
|
||
|
%{_includedir}/OGRE/Plugins/OctreeSceneManager/*.h
|
||
|
%{_includedir}/OGRE/Plugins/OctreeZone/*.h
|
||
|
%{_includedir}/OGRE/Plugins/PCZSceneManager/*.h
|
||
|
%{_includedir}/OGRE/Plugins/ParticleFX/*.h
|
||
|
%{_includedir}/OGRE/Property/*.h
|
||
|
%{_includedir}/OGRE/RTShaderSystem/*.h
|
||
|
%{_includedir}/OGRE/RenderSystems/GL/GL/*.h
|
||
|
%{_includedir}/OGRE/RenderSystems/GL/GLX/*.h
|
||
|
%{_includedir}/OGRE/RenderSystems/GL/*.h
|
||
|
%{_includedir}/OGRE/Terrain/*.h
|
||
|
%{_includedir}/OGRE/Threading/*.h
|
||
|
|
||
|
%changelog
|
||
|
* 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
|