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