packages: CEGUI/CEGUI.spec - subpackage for OgreRenderer
lisu
lisu at pld-linux.org
Wed May 12 13:51:16 CEST 2010
Author: lisu Date: Wed May 12 11:51:16 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- subpackage for OgreRenderer
---- Files affected:
packages/CEGUI:
CEGUI.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: packages/CEGUI/CEGUI.spec
diff -u packages/CEGUI/CEGUI.spec:1.29 packages/CEGUI/CEGUI.spec:1.30
--- packages/CEGUI/CEGUI.spec:1.29 Wed May 12 13:36:40 2010
+++ packages/CEGUI/CEGUI.spec Wed May 12 13:51:10 2010
@@ -2,8 +2,6 @@
# TODO:
# - external tinyxml
# - external tolua++
-# - ogre-renderer (BR: CEGUI-OGRE >= 1.0.0 through pkgconfig)
-# - maybe we should make subpackages? For example CEGUI-OPENGL (smc.spec)?
#
# Conditional build:
%bcond_without xercesc # build XercesParser
@@ -112,6 +110,18 @@
%description OPENGL -l pl.UTF-8
Biblioteka OpenGLRenderer dla CEGUI.
+%package OGRE
+Summary: OgreRenderer library for CEGUI
+Summary(pl.UTF-8): Biblioteka OgreRenderer dla CEGUI
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description OGRE
+OgreRenderer library for CEGUI.
+
+%description OGRE -l pl.UTF-8
+Biblioteka OgreRenderer dla CEGUI
+
%prep
%setup -q -a 1
%patch0 -p1
@@ -204,6 +214,7 @@
%{_includedir}/%{name}
%{_pkgconfigdir}/CEGUI.pc
%{_pkgconfigdir}/CEGUI-OPENGL.pc
+%{_pkgconfigdir}/CEGUI-OGRE.pc
%if %{with opengl}
%files OPENGL
@@ -213,12 +224,24 @@
%{_libdir}/libCEGUIOpenGLRenderer.la
%endif
+%if %{with ogre}
+%files OGRE
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libCEGUIOgreRenderer-%{version}.so
+%attr(755,root,root) %{_libdir}/libCEGUIOgreRenderer.so
+%{_libdir}/libCEGUIOgreRenderer.la
+%endif
+
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2010/05/12 11:51:10 lisu
+- subpackage for OgreRenderer
+
Revision 1.29 2010/05/12 11:36:40 lisu
- bcond and spare package for OpenGLRenderer
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/CEGUI/CEGUI.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list