]> git.pld-linux.org Git - packages/CEGUI.git/commitdiff
- check bcond in %%files
authorlisu <lisu@pld-linux.org>
Mon, 17 May 2010 09:32:19 +0000 (09:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    CEGUI.spec -> 1.37

CEGUI.spec

index e44615190bbaa89ca64e1b2e03be3a784e89bb73..97401230a1d19f73cf818fd782e2820b94b0214d 100644 (file)
@@ -197,11 +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
+%{?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
@@ -218,8 +218,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
This page took 0.126313 seconds and 4 git commands to generate.