2 # - gcc33 patch only for AC-branch
3 # - ogre-renderer (BR: CEGUI-OGRE >= 1.0.0 through pkgconfig)
4 # - corona (BR: corona >= 1.2.0 through corona-config script)
5 # - silly (BR: SILLY >= 0.1.0 through pkgconfig)
7 Summary: CEGUI - a free library providing windowing and widgets
8 Summary(pl.UTF-8): CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety
14 Source0: http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}b.tar.gz
15 # Source0-md5: b42322a33c6a06eede76b15f75694a17
16 Source1: http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
17 # Source1-md5: e268b5812f146ee1ff9ba4c07ff501b7
18 Patch0: %{name}-gcc33.patch
19 Patch1: %{name}-link.patch
20 URL: http://www.cegui.org.uk/
21 BuildRequires: DevIL-devel
22 BuildRequires: FreeImage-devel
23 BuildRequires: OpenGL-GLU-devel
24 BuildRequires: OpenGL-glut-devel
25 BuildRequires: autoconf >= 2.59
26 BuildRequires: automake
27 BuildRequires: expat-devel
28 BuildRequires: freetype-devel >= 2.0
29 BuildRequires: irrlicht-renderer
30 BuildRequires: libstdc++-devel
31 BuildRequires: libtool >= 2:1.5
32 BuildRequires: libxml2-devel >= 1:2.6
33 BuildRequires: lua50-devel >= 5.0
34 BuildRequires: pcre-devel >= 5.0
35 BuildRequires: pkgconfig
36 BuildRequires: xerces-c-devel
38 BuildRequires: xorg-lib-libXxf86vm-devel
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 CEGUI stands for Crazy Eddie's Gui System; a free library providing
43 windowing and widgets for graphics APIs / engines where such
44 functionality is not natively available, or severely lacking. The
45 library is object orientated, written in C++, and targeted at games
46 developers who should be spending their time creating great games, not
47 building GUI sub-systems!
49 %description -l pl.UTF-8
50 CEGUI oznacza Crazy Eddie's Gui System - wolnodostępną bibliotekę
51 zapewniającą okienka i widgety dla graficznych API i silników tam,
52 gdzie natywnie taka funkcjonalność nie jest dostępna lub ma znaczące
53 braki. Biblioteka jest zorientowana obiektowo, napisana w C++ i
54 skierowana dla programistów gier, którzy powinni spędzać czas na
55 pisaniu świetnych gier, a nie tworzeniu podsystemów GUI!
58 Summary: Development files for CEGUI
59 Summary(pl.UTF-8): Pliki programistyczne dla CEGUI
60 Group: Development/Libraries
61 Requires: %{name} = %{version}-%{release}
62 Requires: freetype-devel >= 2.0
63 Requires: libstdc++-devel
64 Requires: pcre-devel >= 5.0
67 CEGUI headers and documentation.
69 %description devel -l pl.UTF-8
70 Pliki nagłówkowe i dokumentacja do CEGUI.
84 --with-default-image-codec=FreeImageImageCodec \
85 --with-default-parser=LibxmlParser
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog README
104 %attr(755,root,root) %{_libdir}/libCEGUI*.so.*.*.*
107 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libCEGUI*.so
110 %{_libdir}/libCEGUI*.la
111 %{_includedir}/%{name}
112 %{_pkgconfigdir}/CEGUI.pc
113 %{_pkgconfigdir}/CEGUI-OPENGL.pc