2 # - gcc33 patch only for AC-branch
3 # - ogre-renderer (BR: CEGUI-OGRE >= 1.0.0 through pkgconfig)
4 # - maybe we should make subpackages? For example CEGUI-OPENGL (smc.spec)?
5 # - doesn't build (too newest xerces?):
6 # CEGUIXercesParser.cpp: In static member function
7 # 'static void CEGUI::XercesParser::initialiseSchema(xercesc_2_8::SAX2XMLReader*,
8 # const CEGUI::String&, const CEGUI::String&, const CEGUI::String&)':
9 # CEGUIXercesParser.cpp:233: error: incomplete type 'xercesc_2_8::Grammar' used in nested name specifier
11 Summary: CEGUI - a free library providing windowing and widgets
12 Summary(pl.UTF-8): CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety
18 Source0: http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}b.tar.gz
19 # Source0-md5: b42322a33c6a06eede76b15f75694a17
20 Source1: http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
21 # Source1-md5: e268b5812f146ee1ff9ba4c07ff501b7
22 Patch0: %{name}-gcc33.patch
23 Patch1: %{name}-link.patch
24 URL: http://www.cegui.org.uk/
25 BuildRequires: DevIL-devel
26 BuildRequires: FreeImage-devel
27 BuildRequires: OpenGL-GLU-devel
28 BuildRequires: OpenGL-glut-devel
29 BuildRequires: SILLY-devel >= 0.1.0
30 BuildRequires: autoconf >= 2.59
31 BuildRequires: automake
32 BuildRequires: corona-devel >= 1.0.2
33 BuildRequires: expat-devel
34 BuildRequires: freetype-devel >= 2.0
35 BuildRequires: irrlicht-devel
36 BuildRequires: libstdc++-devel
37 BuildRequires: libtool >= 2:1.5
38 BuildRequires: libxml2-devel >= 1:2.6
39 BuildRequires: lua50-devel >= 5.0
40 BuildRequires: pcre-devel >= 5.0
41 BuildRequires: pkgconfig
42 BuildRequires: xerces-c-devel
44 BuildRequires: xorg-lib-libXxf86vm-devel
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 CEGUI stands for Crazy Eddie's Gui System; a free library providing
49 windowing and widgets for graphics APIs / engines where such
50 functionality is not natively available, or severely lacking. The
51 library is object orientated, written in C++, and targeted at games
52 developers who should be spending their time creating great games, not
53 building GUI sub-systems!
55 %description -l pl.UTF-8
56 CEGUI oznacza Crazy Eddie's Gui System - wolnodostępną bibliotekę
57 zapewniającą okienka i widgety dla graficznych API i silników tam,
58 gdzie natywnie taka funkcjonalność nie jest dostępna lub ma znaczące
59 braki. Biblioteka jest zorientowana obiektowo, napisana w C++ i
60 skierowana dla programistów gier, którzy powinni spędzać czas na
61 pisaniu świetnych gier, a nie tworzeniu podsystemów GUI!
64 Summary: Development files for CEGUI
65 Summary(pl.UTF-8): Pliki programistyczne dla CEGUI
66 Group: Development/Libraries
67 Requires: %{name} = %{version}-%{release}
68 Requires: freetype-devel >= 2.0
69 Requires: libstdc++-devel
70 Requires: pcre-devel >= 5.0
73 CEGUI headers and documentation.
75 %description devel -l pl.UTF-8
76 Pliki nagłówkowe i dokumentacja do CEGUI.
90 --with-default-image-codec=FreeImageImageCodec \
91 --with-default-parser=LibxmlParser
96 rm -rf $RPM_BUILD_ROOT
99 DESTDIR=$RPM_BUILD_ROOT
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog README
110 %attr(755,root,root) %{_libdir}/libCEGUI*.so.*.*.*
113 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libCEGUI*.so
116 %{_libdir}/libCEGUI*.la
117 %{_includedir}/%{name}
118 %{_pkgconfigdir}/CEGUI.pc
119 %{_pkgconfigdir}/CEGUI-OPENGL.pc