[cegui] - Put the OGRE and Irrlicht renderers in their own subpackages to reduce the number of deps of the

Hans de Goede jwrdegoede at fedoraproject.org
Mon Jan 3 15:37:00 UTC 2011


commit 908ea73b9023d9c0577799461c52e7b166181566
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Mon Jan 3 16:43:51 2011 +0100

    - Put the OGRE and Irrlicht renderers in their own subpackages to reduce the
      number of deps of the main cegui package

 cegui.spec |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/cegui.spec b/cegui.spec
index 51dcc83..e6984db 100644
--- a/cegui.spec
+++ b/cegui.spec
@@ -1,6 +1,6 @@
 Name:           cegui
 Version:        0.7.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Free library providing windowing and widgets for graphics APIs / engines
 Group:          System Environment/Libraries
 License:        MIT
@@ -44,6 +44,8 @@ Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 Requires:       %{name}-DevIL-imagecodec = %{version}-%{release}
 Requires:       %{name}-freeimage-imagecodec = %{version}-%{release}
+Requires:       %{name}-irrlicht-renderer = %{version}-%{release}
+Requires:       %{name}-ogre-renderer = %{version}-%{release}
 Requires:       %{name}-libxml-xmlparser = %{version}-%{release}
 Requires:       %{name}-tinyxml-xmlparser = %{version}-%{release}
 Requires:       %{name}-xerces-xmlparser = %{version}-%{release}
@@ -80,6 +82,24 @@ Requires:       cegui = %{version}-%{release}
 Alternative imagecode library for CEGUI using freeimage.
 
 
+%package irrlicht-renderer
+Summary:        Irrlicht renderer for CEGUI
+Group:          System Environment/Libraries
+Requires:       cegui = %{version}-%{release}
+
+%description irrlicht-renderer
+Irrlicht renderer for CEGUI.
+
+
+%package ogre-renderer
+Summary:        OGRE renderer for CEGUI
+Group:          System Environment/Libraries
+Requires:       cegui = %{version}-%{release}
+
+%description ogre-renderer
+OGRE renderer for CEGUI.
+
+
 %package libxml-xmlparser
 Summary:        Alternative xml parsing library for CEGUI using libxml
 Group:          System Environment/Libraries
@@ -156,6 +176,8 @@ rm -rf %{buildroot}
 %{_libdir}/libCEGUI*-%{version}.so
 %exclude %{_libdir}/libCEGUIDevILImageCodec-%{version}.so
 %exclude %{_libdir}/libCEGUIFreeImageImageCodec-%{version}.so
+%exclude %{_libdir}/libCEGUIIrrlichtRenderer-%{version}.so
+%exclude %{_libdir}/libCEGUIOgreRenderer-%{version}.so
 %exclude %{_libdir}/libCEGUILibxmlParser-%{version}.so
 %exclude %{_libdir}/libCEGUITinyXMLParser-%{version}.so
 %exclude %{_libdir}/libCEGUIXercesParser-%{version}.so
@@ -183,6 +205,14 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %{_libdir}/libCEGUIFreeImageImageCodec-%{version}.so
 
+%files irrlicht-renderer
+%defattr(-,root,root,-)
+%{_libdir}/libCEGUIIrrlichtRenderer-%{version}.so
+
+%files ogre-renderer
+%defattr(-,root,root,-)
+%{_libdir}/libCEGUIOgreRenderer-%{version}.so
+
 %files libxml-xmlparser
 %defattr(-,root,root,-)
 %{_libdir}/libCEGUILibxmlParser-%{version}.so
@@ -197,6 +227,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jan 03 2011 Hans de Goede <hdegoede at redhat.com> 0.7.5-3
+- Put the OGRE and Irrlicht renderers in their own subpackages to reduce the
+  number of deps of the main cegui package
+
 * Mon Jan 03 2011 Bruno Wolff III <bruno at wolff.to> 0.7.5-2
 - Fix typo in ogre dependency
 


More information about the scm-commits mailing list