packages: CEGUI/CEGUI.spec - check bcond in %%files
lisu
lisu at pld-linux.org
Mon May 17 11:32:25 CEST 2010
Author: lisu Date: Mon May 17 09:32:25 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- check bcond in %%files
---- Files affected:
packages/CEGUI:
CEGUI.spec (1.36 -> 1.37)
---- Diffs:
================================================================
Index: packages/CEGUI/CEGUI.spec
diff -u packages/CEGUI/CEGUI.spec:1.36 packages/CEGUI/CEGUI.spec:1.37
--- packages/CEGUI/CEGUI.spec:1.36 Wed May 12 16:52:59 2010
+++ packages/CEGUI/CEGUI.spec Mon May 17 11:32:19 2010
@@ -198,11 +198,11 @@
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libCEGUIBase.so
-%attr(755,root,root) %{_libdir}/libCEGUIOgreRenderer.so
-%attr(755,root,root) %{_libdir}/libCEGUIOpenGLRenderer.so
+%{?with_ogre:%attr(755,root,root) %{_libdir}/libCEGUIOgreRenderer.so}
+%{?with_opengl:%attr(755,root,root) %{_libdir}/libCEGUIOpenGLRenderer.so}
%{_libdir}/libCEGUIBase.la
-%{_libdir}/libCEGUIOgreRenderer.la
-%{_libdir}/libCEGUIOpenGLRenderer.la
+%{?with_ogre:%{_libdir}/libCEGUIOgreRenderer.la}
+%{?with_opengl:%{_libdir}/libCEGUIOpenGLRenderer.la}
# plugins - but as their headers are included...
%{_libdir}/libCEGUICoronaImageCodec.la
%{_libdir}/libCEGUIDevILImageCodec.la
@@ -219,8 +219,8 @@
%{_libdir}/libCEGUItoluapp.la
%{_includedir}/%{name}
%{_pkgconfigdir}/CEGUI.pc
-%{_pkgconfigdir}/CEGUI-OPENGL.pc
-%{_pkgconfigdir}/CEGUI-OGRE.pc
+%{?with_opengl:%{_pkgconfigdir}/CEGUI-OPENGL.pc}
+%{?with_ogre:%{_pkgconfigdir}/CEGUI-OGRE.pc}
%if %{with opengl}
%files OpenGL
@@ -240,6 +240,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.37 2010/05/17 09:32:19 lisu
+- check bcond in %%files
+
Revision 1.36 2010/05/12 14:52:59 lisu
- do not build ogre renderer by default until we have ogre's rpm
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/CEGUI/CEGUI.spec?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list