[packages/ogre] - build OpenEXR plugin - pass our CXXFLAGS - ton of unpackaged files

baggins baggins at pld-linux.org
Sun Oct 13 18:42:31 CEST 2019


commit 38b0a6cbc9a12a28ed0206a7233532fd8850bf64
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 13 18:41:03 2019 +0200

    - build OpenEXR plugin
    - pass our CXXFLAGS
    - ton of unpackaged files

 ogre.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ogre.spec b/ogre.spec
index de2e690..c3dd77f 100644
--- a/ogre.spec
+++ b/ogre.spec
@@ -23,8 +23,7 @@ Patch1:		x32.patch
 URL:		http://www.ogre3d.org/
 %{?with_samples:BuildRequires:	CEGUI-devel}
 BuildRequires:	FreeImage-devel
-# no makefiles for EXR plugin
-#BuildRequires:	OpenEXR-devel
+BuildRequires:	OpenEXR-devel
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	boost-devel >= 1.40
 %{?with_cg:BuildRequires:	cg-devel}
@@ -94,6 +93,7 @@ install -d build
 cd build
 # "None" is an alias for release, but uses plain CMAKE_CXX_FLAGS; "PLD" build type is not supported
 %cmake .. \
+	-DCMAKE_CXX_FLAGS="%{rpmcxxflags}" \
 	-DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:None} \
 	-DOGRE_BUILD_DEPENDENCIES=FALSE \
 	%{!?with_samples:-DOGRE_BUILD_SAMPLES=FALSE}
@@ -117,7 +117,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS COPYING README
+%doc AUTHORS README.md
 %attr(755,root,root) %{_bindir}/OgreMeshUpgrader
 %attr(755,root,root) %{_bindir}/OgreXMLConverter
 %attr(755,root,root) %{_libdir}/libOgreMain.so.*.*.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ogre.git/commitdiff/38b0a6cbc9a12a28ed0206a7233532fd8850bf64



More information about the pld-cvs-commit mailing list