From 37e6eba56cc15f93e8901c6b47c63106363b9aea Mon Sep 17 00:00:00 2001 From: lisu Date: Wed, 12 May 2010 12:06:16 +0000 Subject: [PATCH] - leave devel files in -devel subpackage and make -devel requires -OGRE and -OPENGL Changed files: CEGUI.spec -> 1.31 --- CEGUI.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CEGUI.spec b/CEGUI.spec index 1da07df..847c875 100644 --- a/CEGUI.spec +++ b/CEGUI.spec @@ -75,6 +75,8 @@ Summary: Development files for CEGUI Summary(pl.UTF-8): Pliki programistyczne dla CEGUI Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: CEGUI-OGRE +Requires: CEGUI-OPENGL Requires: freetype-devel >= 2.0 Requires: libstdc++-devel Requires: pcre-devel >= 5.0 @@ -195,7 +197,11 @@ rm -rf $RPM_BUILD_ROOT %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 %{_libdir}/libCEGUIBase.la +%{_libdir}/libCEGUIOgreRenderer.la +%{_libdir}/libCEGUIOpenGLRenderer.la # plugins - but as their headers are included... %{_libdir}/libCEGUICoronaImageCodec.la %{_libdir}/libCEGUIDevILImageCodec.la @@ -219,14 +225,10 @@ rm -rf $RPM_BUILD_ROOT %files OPENGL %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libCEGUIOpenGLRenderer-%{version}.so -%attr(755,root,root) %{_libdir}/libCEGUIOpenGLRenderer.so -%{_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 -- 2.43.0