]> git.pld-linux.org Git - packages/CEGUI.git/blame - CEGUI.spec
- doesn't build, added TODO
[packages/CEGUI.git] / CEGUI.spec
CommitLineData
a7c52a89 1# TODO:
a7c52a89 2# - gcc33 patch only for AC-branch
54df35ea 3# - ogre-renderer (BR: CEGUI-OGRE >= 1.0.0 through pkgconfig)
c549a2c3 4# - maybe we should make subpackages? For example CEGUI-OPENGL (smc.spec)?
03900b39 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
a7c52a89 10#
71dc0787
JB
11Summary: CEGUI - a free library providing windowing and widgets
12Summary(pl.UTF-8): CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety
a7c52a89
ŁK
13Name: CEGUI
14Version: 0.5.0
15Release: 1
16License: LGPL
17Group: Libraries
18Source0: http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}b.tar.gz
19# Source0-md5: b42322a33c6a06eede76b15f75694a17
20Source1: http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
21# Source1-md5: e268b5812f146ee1ff9ba4c07ff501b7
c549a2c3 22Patch0: %{name}-gcc33.patch
54df35ea 23Patch1: %{name}-link.patch
a7c52a89 24URL: http://www.cegui.org.uk/
ae21b5c7 25BuildRequires: DevIL-devel
7e74cc56 26BuildRequires: FreeImage-devel
27BuildRequires: OpenGL-GLU-devel
54df35ea 28BuildRequires: OpenGL-glut-devel
296738c2 29BuildRequires: SILLY-devel >= 0.1.0
54df35ea 30BuildRequires: autoconf >= 2.59
a7c52a89 31BuildRequires: automake
296738c2 32BuildRequires: corona-devel >= 1.0.2
54df35ea
JB
33BuildRequires: expat-devel
34BuildRequires: freetype-devel >= 2.0
a1a8dadd 35BuildRequires: irrlicht-devel
7e74cc56 36BuildRequires: libstdc++-devel
54df35ea
JB
37BuildRequires: libtool >= 2:1.5
38BuildRequires: libxml2-devel >= 1:2.6
39BuildRequires: lua50-devel >= 5.0
40BuildRequires: pcre-devel >= 5.0
7e74cc56 41BuildRequires: pkgconfig
54df35ea 42BuildRequires: xerces-c-devel
ae21b5c7
JB
43# for irrlicht
44BuildRequires: xorg-lib-libXxf86vm-devel
a7c52a89
ŁK
45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47%description
48CEGUI stands for Crazy Eddie's Gui System; a free library providing
49windowing and widgets for graphics APIs / engines where such
50functionality is not natively available, or severely lacking. The
51library is object orientated, written in C++, and targeted at games
52developers who should be spending their time creating great games, not
53building GUI sub-systems!
54
71dc0787
JB
55%description -l pl.UTF-8
56CEGUI oznacza Crazy Eddie's Gui System - wolnodostępną bibliotekę
57zapewniającą okienka i widgety dla graficznych API i silników tam,
58gdzie natywnie taka funkcjonalność nie jest dostępna lub ma znaczące
59braki. Biblioteka jest zorientowana obiektowo, napisana w C++ i
60skierowana dla programistów gier, którzy powinni spędzać czas na
61pisaniu świetnych gier, a nie tworzeniu podsystemów GUI!
62
a7c52a89
ŁK
63%package devel
64Summary: Development files for CEGUI
71dc0787 65Summary(pl.UTF-8): Pliki programistyczne dla CEGUI
a7c52a89
ŁK
66Group: Development/Libraries
67Requires: %{name} = %{version}-%{release}
54df35ea
JB
68Requires: freetype-devel >= 2.0
69Requires: libstdc++-devel
70Requires: pcre-devel >= 5.0
a7c52a89
ŁK
71
72%description devel
73CEGUI headers and documentation.
74
71dc0787
JB
75%description devel -l pl.UTF-8
76Pliki nagłówkowe i dokumentacja do CEGUI.
77
a7c52a89
ŁK
78%prep
79%setup -q -b 1
80%patch0 -p1
54df35ea 81%patch1 -p1
a7c52a89
ŁK
82
83%build
84%{__libtoolize}
85%{__aclocal}
86%{__autoconf}
87%{__autoheader}
88%{__automake}
54df35ea
JB
89%configure \
90 --with-default-image-codec=FreeImageImageCodec \
91 --with-default-parser=LibxmlParser
a7c52a89
ŁK
92
93%{__make}
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
107%files
108%defattr(644,root,root,755)
109%doc AUTHORS ChangeLog README
54df35ea 110%attr(755,root,root) %{_libdir}/libCEGUI*.so.*.*.*
a7c52a89
ŁK
111
112%files devel
113%defattr(644,root,root,755)
114%doc documentation
54df35ea
JB
115%attr(755,root,root) %{_libdir}/libCEGUI*.so
116%{_libdir}/libCEGUI*.la
71dc0787 117%{_includedir}/%{name}
54df35ea
JB
118%{_pkgconfigdir}/CEGUI.pc
119%{_pkgconfigdir}/CEGUI-OPENGL.pc
This page took 0.114467 seconds and 4 git commands to generate.