]>
Commit | Line | Data |
---|---|---|
a7c52a89 | 1 | # TODO: |
1dbcb621 | 2 | # - separate packages for plugins |
dab1ca85 BZ |
3 | # |
4 | # Conditional build: | |
06eb5540 | 5 | %bcond_without xercesc # build XercesParser |
4f3d9164 | 6 | %bcond_without ogre # build without Ogre renderer |
52ea5f04 | 7 | %bcond_without opengl # build without OpenGL renderer |
06eb5540 | 8 | %bcond_with samples # build samples |
a7c52a89 | 9 | # |
71dc0787 JB |
10 | Summary: CEGUI - a free library providing windowing and widgets |
11 | Summary(pl.UTF-8): CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety | |
a7c52a89 | 12 | Name: CEGUI |
03137a33 JB |
13 | Version: 0.7.7 |
14 | Release: 0.1 | |
779edc3e | 15 | License: LGPL v2.1+ (with MIT parts) |
a7c52a89 | 16 | Group: Libraries |
bc6db235 | 17 | Source0: http://downloads.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz |
03137a33 | 18 | # Source0-md5: 8b83577f86eaa1581765dd155c7c8f24 |
bc6db235 | 19 | Source1: http://downloads.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz |
03137a33 | 20 | # Source1-md5: 4d011b7e262222a4c0129ccb19014686 |
a7c52a89 | 21 | URL: http://www.cegui.org.uk/ |
ae21b5c7 | 22 | BuildRequires: DevIL-devel |
1dbcb621 | 23 | BuildRequires: DirectFB-devel >= 1.2.0 |
7e74cc56 | 24 | BuildRequires: FreeImage-devel |
296738c2 | 25 | BuildRequires: SILLY-devel >= 0.1.0 |
54df35ea | 26 | BuildRequires: autoconf >= 2.59 |
a7c52a89 | 27 | BuildRequires: automake |
1dbcb621 | 28 | BuildRequires: corona-devel |
54df35ea JB |
29 | BuildRequires: expat-devel |
30 | BuildRequires: freetype-devel >= 2.0 | |
1dbcb621 | 31 | BuildRequires: gtk+2-devel >= 2:2.4 |
779edc3e | 32 | BuildRequires: irrlicht-devel >= 1.4 |
7e74cc56 | 33 | BuildRequires: libstdc++-devel |
54df35ea JB |
34 | BuildRequires: libtool >= 2:1.5 |
35 | BuildRequires: libxml2-devel >= 1:2.6 | |
d4686777 | 36 | BuildRequires: lua51-devel >= 5.1 |
06eb5540 | 37 | %if %{with ogre} |
1dbcb621 | 38 | BuildRequires: ogre-devel >= 1.6.0 |
f2fc487e | 39 | BuildRequires: ois-devel >= 1.0.0 |
06eb5540 | 40 | %endif |
d4686777 JB |
41 | BuildRequires: pcre-devel >= 5.0 |
42 | BuildRequires: pkgconfig | |
1dbcb621 | 43 | BuildRequires: sed >= 4.0 |
a172647d | 44 | BuildRequires: tinyxml-devel |
53031d9d | 45 | BuildRequires: tolua++-devel |
779edc3e JB |
46 | # for irrlicht renderer |
47 | BuildRequires: xorg-lib-libXxf86vm-devel | |
1dbcb621 JB |
48 | %if %{with opengl} |
49 | BuildRequires: OpenGL-GLU-devel | |
50 | BuildRequires: OpenGL-glut-devel | |
51 | BuildRequires: glew-devel | |
52 | %endif | |
dab1ca85 | 53 | %if %{with xercesc} |
54df35ea | 54 | BuildRequires: xerces-c-devel |
dab1ca85 | 55 | %endif |
d4686777 | 56 | Requires: irrlicht >= 1.4 |
a7c52a89 ŁK |
57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
58 | ||
59 | %description | |
60 | CEGUI stands for Crazy Eddie's Gui System; a free library providing | |
61 | windowing and widgets for graphics APIs / engines where such | |
62 | functionality is not natively available, or severely lacking. The | |
63 | library is object orientated, written in C++, and targeted at games | |
64 | developers who should be spending their time creating great games, not | |
65 | building GUI sub-systems! | |
66 | ||
71dc0787 JB |
67 | %description -l pl.UTF-8 |
68 | CEGUI oznacza Crazy Eddie's Gui System - wolnodostępną bibliotekę | |
69 | zapewniającą okienka i widgety dla graficznych API i silników tam, | |
70 | gdzie natywnie taka funkcjonalność nie jest dostępna lub ma znaczące | |
71 | braki. Biblioteka jest zorientowana obiektowo, napisana w C++ i | |
72 | skierowana dla programistów gier, którzy powinni spędzać czas na | |
73 | pisaniu świetnych gier, a nie tworzeniu podsystemów GUI! | |
74 | ||
a7c52a89 ŁK |
75 | %package devel |
76 | Summary: Development files for CEGUI | |
71dc0787 | 77 | Summary(pl.UTF-8): Pliki programistyczne dla CEGUI |
a7c52a89 ŁK |
78 | Group: Development/Libraries |
79 | Requires: %{name} = %{version}-%{release} | |
54df35ea JB |
80 | Requires: freetype-devel >= 2.0 |
81 | Requires: libstdc++-devel | |
82 | Requires: pcre-devel >= 5.0 | |
a7c52a89 ŁK |
83 | |
84 | %description devel | |
715a1989 | 85 | CEGUI headers. |
a7c52a89 | 86 | |
71dc0787 | 87 | %description devel -l pl.UTF-8 |
715a1989 BZ |
88 | Pliki nagłówkowe CEGUI. |
89 | ||
90 | %package docs | |
91 | Summary: Documentation files for CEGUI | |
92 | Summary(pl.UTF-8): Pliki dokumentacji CEGUI | |
53106289 | 93 | Group: Documentation |
715a1989 BZ |
94 | Requires: %{name} = %{version}-%{release} |
95 | ||
96 | %description docs | |
97 | CEGUI documentation. | |
98 | ||
99 | %description docs -l pl.UTF-8 | |
100 | Dokumentacja CEGUI. | |
101 | ||
f2fc487e JB |
102 | %package ImageCodec-Corona |
103 | Summary: CoronaImageCodec library for CEGUI | |
104 | Summary(pl.UTF-8): Biblioteka CoronaImageCodec dla CEGUI | |
105 | Group: Libraries | |
106 | Requires: %{name} = %{version}-%{release} | |
107 | ||
108 | %description ImageCodec-Corona | |
109 | CoronaImageCodec library for CEGUI. | |
110 | ||
111 | %description ImageCodec-Corona -l pl.UTF-8 | |
112 | Biblioteka CoronaImageCodec dla CEGUI | |
113 | ||
114 | %package ImageCodec-Corona-devel | |
115 | Summary: Header files for CEGUI CoronaImageCodec library | |
116 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI CoronaImageCodec | |
117 | Group: Development/Libraries | |
118 | Requires: %{name}-ImageCodec-Corona = %{version}-%{release} | |
119 | Requires: %{name}-devel = %{version}-%{release} | |
120 | Requires: corona-devel | |
121 | ||
122 | %description ImageCodec-Corona-devel | |
123 | Header files for CEGUI CoronaImageCodec library. | |
124 | ||
125 | %description ImageCodec-Corona-devel -l pl.UTF-8 | |
126 | Pliki nagłówkowe biblioteki CEGUI CoronaImageCodec. | |
127 | ||
128 | %package ImageCodec-DevIL | |
129 | Summary: DevILImageCodec library for CEGUI | |
130 | Summary(pl.UTF-8): Biblioteka DevILImageCodec dla CEGUI | |
131 | Group: Libraries | |
132 | Requires: %{name} = %{version}-%{release} | |
133 | ||
134 | %description ImageCodec-DevIL | |
135 | DevILImageCodec library for CEGUI. | |
136 | ||
137 | %description ImageCodec-DevIL -l pl.UTF-8 | |
138 | Biblioteka DevILImageCodec dla CEGUI | |
139 | ||
140 | %package ImageCodec-DevIL-devel | |
141 | Summary: Header files for CEGUI DevILImageCodec library | |
142 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI DevILImageCodec | |
143 | Group: Development/Libraries | |
144 | Requires: %{name}-ImageCodec-DevIL = %{version}-%{release} | |
145 | Requires: %{name}-devel = %{version}-%{release} | |
146 | Requires: DevIL-devel | |
147 | ||
148 | %description ImageCodec-DevIL-devel | |
149 | Header files for CEGUI DevILImageCodec library. | |
150 | ||
151 | %description ImageCodec-DevIL-devel -l pl.UTF-8 | |
152 | Pliki nagłówkowe biblioteki CEGUI DevILImageCodec. | |
153 | ||
154 | %package ImageCodec-FreeImage | |
155 | Summary: FreeImageImageCodec library for CEGUI | |
156 | Summary(pl.UTF-8): Biblioteka FreeImageImageCodec dla CEGUI | |
157 | Group: Libraries | |
158 | Requires: %{name} = %{version}-%{release} | |
159 | ||
160 | %description ImageCodec-FreeImage | |
161 | FreeImageImageCodec library for CEGUI. | |
162 | ||
163 | %description ImageCodec-FreeImage -l pl.UTF-8 | |
164 | Biblioteka FreeImageImageCodec dla CEGUI | |
165 | ||
166 | %package ImageCodec-FreeImage-devel | |
167 | Summary: Header files for CEGUI FreeImageImageCodec library | |
168 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI FreeImageImageCodec | |
169 | Group: Development/Libraries | |
170 | Requires: %{name}-ImageCodec-FreeImage = %{version}-%{release} | |
171 | Requires: %{name}-devel = %{version}-%{release} | |
172 | Requires: FreeImage-devel | |
173 | ||
174 | %description ImageCodec-FreeImage-devel | |
175 | Header files for CEGUI FreeImageImageCodec library. | |
176 | ||
177 | %description ImageCodec-FreeImage-devel -l pl.UTF-8 | |
178 | Pliki nagłówkowe biblioteki CEGUI FreeImageImageCodec. | |
179 | ||
180 | %package ImageCodec-SILLY | |
181 | Summary: SILLYImageCodec library for CEGUI | |
182 | Summary(pl.UTF-8): Biblioteka SILLYImageCodec dla CEGUI | |
183 | Group: Libraries | |
184 | Requires: %{name} = %{version}-%{release} | |
185 | Requires: SILLY >= 0.1.0 | |
186 | ||
187 | %description ImageCodec-SILLY | |
188 | SILLYImageCodec library for CEGUI. | |
189 | ||
190 | %description ImageCodec-SILLY -l pl.UTF-8 | |
191 | Biblioteka SILLYImageCodec dla CEGUI | |
192 | ||
193 | %package ImageCodec-SILLY-devel | |
194 | Summary: Header files for CEGUI SILLYImageCodec library | |
195 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI SILLYImageCodec | |
196 | Group: Development/Libraries | |
197 | Requires: %{name}-ImageCodec-SILLY = %{version}-%{release} | |
198 | Requires: %{name}-devel = %{version}-%{release} | |
199 | Requires: SILLY-devel >= 0.1.0 | |
200 | ||
201 | %description ImageCodec-SILLY-devel | |
202 | Header files for CEGUI SILLYImageCodec library. | |
203 | ||
204 | %description ImageCodec-SILLY-devel -l pl.UTF-8 | |
205 | Pliki nagłówkowe biblioteki CEGUI SILLYImageCodec. | |
206 | ||
207 | %package Renderer-Irrlicht | |
208 | Summary: IrrlichtRenderer library for CEGUI | |
209 | Summary(pl.UTF-8): Biblioteka IrrlichtRenderer dla CEGUI | |
210 | Group: Libraries | |
211 | Requires: %{name} = %{version}-%{release} | |
212 | Requires: irrlicht >= 1.4 | |
213 | ||
214 | %description Renderer-Irrlicht | |
215 | IrrlichtRenderer library for CEGUI. | |
216 | ||
217 | %description Renderer-Irrlicht -l pl.UTF-8 | |
218 | Biblioteka IrrlichtRenderer dla CEGUI | |
219 | ||
220 | %package Renderer-Irrlicht-devel | |
221 | Summary: Header files for CEGUI IrrlichtRenderer library | |
222 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI IrrlichtRenderer | |
223 | Group: Development/Libraries | |
224 | Requires: %{name}-Renderer-Irrlicht = %{version}-%{release} | |
225 | Requires: %{name}-devel = %{version}-%{release} | |
226 | Requires: irrlicht-devel >= 1.4 | |
227 | ||
228 | %description Renderer-Irrlicht-devel | |
229 | Header files for CEGUI IrrlichtRenderer library. | |
230 | ||
231 | %description Renderer-Irrlicht-devel -l pl.UTF-8 | |
232 | Pliki nagłówkowe biblioteki CEGUI IrrlichtRenderer. | |
233 | ||
234 | %package Renderer-Ogre | |
1dbcb621 JB |
235 | Summary: OgreRenderer library for CEGUI |
236 | Summary(pl.UTF-8): Biblioteka OgreRenderer dla CEGUI | |
237 | Group: Libraries | |
238 | Requires: %{name} = %{version}-%{release} | |
f2fc487e | 239 | Obsoletes: CEGUI-Ogre |
1dbcb621 | 240 | |
f2fc487e | 241 | %description Renderer-Ogre |
1dbcb621 JB |
242 | OgreRenderer library for CEGUI. |
243 | ||
f2fc487e | 244 | %description Renderer-Ogre -l pl.UTF-8 |
1dbcb621 JB |
245 | Biblioteka OgreRenderer dla CEGUI |
246 | ||
f2fc487e | 247 | %package Renderer-Ogre-devel |
1dbcb621 JB |
248 | Summary: Header files for CEGUI OgreRenderer library |
249 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI OgreRenderer | |
250 | Group: Development/Libraries | |
f2fc487e JB |
251 | Requires: %{name}-Renderer-Ogre = %{version}-%{release} |
252 | Requires: %{name}-devel = %{version}-%{release} | |
1dbcb621 | 253 | Requires: ogre-devel >= 1.6.0 |
f2fc487e | 254 | Obsoletes: CEGUI-Ogre-devel |
1dbcb621 | 255 | |
f2fc487e | 256 | %description Renderer-Ogre-devel |
1dbcb621 JB |
257 | Header files for CEGUI OgreRenderer library. |
258 | ||
f2fc487e | 259 | %description Renderer-Ogre-devel -l pl.UTF-8 |
1dbcb621 JB |
260 | Pliki nagłówkowe biblioteki CEGUI OgreRenderer. |
261 | ||
f2fc487e | 262 | %package Renderer-OpenGL |
52ea5f04 | 263 | Summary: OpenGLRenderer library for CEGUI |
264 | Summary(pl.UTF-8): Biblioteka OpenGLRenderer dla CEGUI | |
265 | Group: Libraries | |
266 | Requires: %{name} = %{version}-%{release} | |
f2fc487e | 267 | Obsoletes: CEGUI-OpenGL |
52ea5f04 | 268 | |
f2fc487e | 269 | %description Renderer-OpenGL |
52ea5f04 | 270 | OpenGLRenderer library for CEGUI. |
271 | ||
f2fc487e | 272 | %description Renderer-OpenGL -l pl.UTF-8 |
52ea5f04 | 273 | Biblioteka OpenGLRenderer dla CEGUI. |
71dc0787 | 274 | |
f2fc487e | 275 | %package Renderer-OpenGL-devel |
1dbcb621 JB |
276 | Summary: Header files for CEGUI OpenGLRenderer library |
277 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CEGUI OpenGLRenderer | |
278 | Group: Development/Libraries | |
f2fc487e JB |
279 | Requires: %{name}-Renderer-OpenGL = %{version}-%{release} |
280 | Requires: %{name}-devel = %{version}-%{release} | |
1dbcb621 JB |
281 | Requires: OpenGL-GLU-devel |
282 | Requires: OpenGL-glut-devel | |
283 | Requires: glew-devel | |
f2fc487e | 284 | Obsoletes: CEGUI-OpenGL-devel |
b5f1620c | 285 | |
f2fc487e | 286 | %description Renderer-OpenGL-devel |
1dbcb621 | 287 | Header files for CEGUI OpenGLRenderer library. |
b5f1620c | 288 | |
f2fc487e | 289 | %description Renderer-OpenGL-devel -l pl.UTF-8 |
1dbcb621 | 290 | Pliki nagłówkowe biblioteki CEGUI OpenGLRenderer. |
b5f1620c | 291 | |
03137a33 JB |
292 | %package -n python-CEGUI |
293 | Summary: Python binding for CEGUI | |
294 | Summary(pl.UTF-8): Wiązania Pythona do CEGUI | |
295 | Group: Libraries/Python | |
296 | Requires: %{name} = %{version}-%{release} | |
297 | ||
298 | %description -n python-CEGUI | |
299 | Python binding for CEGUI. | |
300 | ||
301 | %description -n python-CEGUI -l pl.UTF-8 | |
302 | Wiązania Pythona do CEGUI. | |
303 | ||
304 | %package -n python-CEGUI-Renderer-OpenGL | |
f2fc487e JB |
305 | Summary: Python binding for CEGUI OpenGLRenderer library |
306 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki CEGUI OpenGLRenderer | |
03137a33 | 307 | Group: Libraries/Python |
f2fc487e | 308 | Requires: %{name}-Renderer-OpenGL = %{version}-%{release} |
03137a33 JB |
309 | Requires: python-CEGUI = %{version}-%{release} |
310 | ||
311 | %description -n python-CEGUI-Renderer-OpenGL | |
f2fc487e | 312 | Python binding for CEGUI OpenGLRenderer library. |
03137a33 JB |
313 | |
314 | %description -n python-CEGUI-Renderer-OpenGL -l pl.UTF-8 | |
f2fc487e | 315 | Wiązania Pythona do biblioteki CEGUI OpenGLRenderer. |
03137a33 | 316 | |
a7c52a89 | 317 | %prep |
346ffa4c | 318 | %setup -q -a 1 |
1dbcb621 JB |
319 | |
320 | sed -i -e 's/lua5\.1/lua51/' acinclude.m4 | |
a7c52a89 ŁK |
321 | |
322 | %build | |
323 | %{__libtoolize} | |
324 | %{__aclocal} | |
325 | %{__autoconf} | |
326 | %{__autoheader} | |
327 | %{__automake} | |
54df35ea | 328 | %configure \ |
53031d9d | 329 | cegui_corona_config=/usr/bin/corona-config \ |
54df35ea | 330 | --with-default-image-codec=FreeImageImageCodec \ |
d4686777 | 331 | --with-default-xml-parser=LibxmlParser \ |
06eb5540 | 332 | %{!?with_samples:--disable-samples} \ |
1dbcb621 JB |
333 | --enable-ogre-renderer%{!?with_ogre:=no} \ |
334 | --enable-opengl-renderer%{!?with_opengl:=no} \ | |
335 | --enable-xerces-c%{!?with_xercesc:=no} | |
a7c52a89 ŁK |
336 | |
337 | %{__make} | |
338 | ||
339 | %install | |
340 | rm -rf $RPM_BUILD_ROOT | |
341 | ||
342 | %{__make} install \ | |
343 | DESTDIR=$RPM_BUILD_ROOT | |
344 | ||
03137a33 JB |
345 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la |
346 | ||
347 | %if %{without samples} | |
348 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/CEGUI/{animations,fonts,imagesets,layouts,looknfeel,lua_scripts,schemes,xml_schemas} | |
349 | %endif | |
350 | ||
a7c52a89 ŁK |
351 | %clean |
352 | rm -rf $RPM_BUILD_ROOT | |
353 | ||
354 | %post -p /sbin/ldconfig | |
355 | %postun -p /sbin/ldconfig | |
356 | ||
f2fc487e JB |
357 | %post ImageCodec-Corona -p /sbin/ldconfig |
358 | %postun ImageCodec-Corona -p /sbin/ldconfig | |
359 | %post ImageCodec-DevIL -p /sbin/ldconfig | |
360 | %postun ImageCodec-DevIL -p /sbin/ldconfig | |
361 | %post ImageCodec-FreeImage -p /sbin/ldconfig | |
362 | %postun ImageCodec-FreeImage -p /sbin/ldconfig | |
363 | %post ImageCodec-SILLY -p /sbin/ldconfig | |
364 | %postun ImageCodec-SILLY -p /sbin/ldconfig | |
365 | ||
366 | %post Renderer-Irrlicht -p /sbin/ldconfig | |
367 | %postun Renderer-Irrlicht -p /sbin/ldconfig | |
368 | %post Renderer-Ogre -p /sbin/ldconfig | |
369 | %postun Renderer-Ogre -p /sbin/ldconfig | |
370 | %post Renderer-OpenGL -p /sbin/ldconfig | |
371 | %postun Renderer-OpenGL -p /sbin/ldconfig | |
372 | ||
a7c52a89 ŁK |
373 | %files |
374 | %defattr(644,root,root,755) | |
346ffa4c | 375 | %doc doc/README |
346ffa4c | 376 | %attr(755,root,root) %{_libdir}/libCEGUIBase-%{version}.so |
d4686777 | 377 | # plugins |
346ffa4c | 378 | %attr(755,root,root) %{_libdir}/libCEGUIExpatParser-%{version}.so |
3b0715c7 | 379 | %attr(755,root,root) %{_libdir}/libCEGUIExpatParser.so |
346ffa4c | 380 | %attr(755,root,root) %{_libdir}/libCEGUIFalagardWRBase-%{version}.so |
3b0715c7 | 381 | %attr(755,root,root) %{_libdir}/libCEGUIFalagardWRBase.so |
346ffa4c | 382 | %attr(755,root,root) %{_libdir}/libCEGUILibxmlParser-%{version}.so |
3b0715c7 | 383 | %attr(755,root,root) %{_libdir}/libCEGUILibxmlParser.so |
1dbcb621 JB |
384 | %attr(755,root,root) %{_libdir}/libCEGUILuaScriptModule-%{version}.so |
385 | %attr(755,root,root) %{_libdir}/libCEGUILuaScriptModule.so | |
d050fb3e | 386 | %attr(755,root,root) %{_libdir}/libCEGUISTBImageCodec-%{version}.so |
387 | %attr(755,root,root) %{_libdir}/libCEGUISTBImageCodec.so | |
346ffa4c | 388 | %attr(755,root,root) %{_libdir}/libCEGUITGAImageCodec-%{version}.so |
3b0715c7 | 389 | %attr(755,root,root) %{_libdir}/libCEGUITGAImageCodec.so |
346ffa4c | 390 | %attr(755,root,root) %{_libdir}/libCEGUITinyXMLParser-%{version}.so |
3b0715c7 | 391 | %attr(755,root,root) %{_libdir}/libCEGUITinyXMLParser.so |
346ffa4c | 392 | %attr(755,root,root) %{_libdir}/libCEGUIXercesParser-%{version}.so |
3b0715c7 | 393 | %attr(755,root,root) %{_libdir}/libCEGUIXercesParser.so |
715a1989 BZ |
394 | |
395 | %files docs | |
cbbebc22 | 396 | %defattr(644,root,root,755) |
308999b0 | 397 | %doc docs |
a7c52a89 ŁK |
398 | |
399 | %files devel | |
400 | %defattr(644,root,root,755) | |
3b0715c7 | 401 | %attr(755,root,root) %{_libdir}/libCEGUIBase.so |
d4686777 | 402 | %{_libdir}/libCEGUIBase.la |
d4686777 | 403 | # plugins - but as their headers are included... |
d4686777 JB |
404 | %{_libdir}/libCEGUIExpatParser.la |
405 | %{_libdir}/libCEGUIFalagardWRBase.la | |
406 | %{_libdir}/libCEGUIFreeImageImageCodec.la | |
d4686777 | 407 | %{_libdir}/libCEGUILibxmlParser.la |
1dbcb621 | 408 | %{_libdir}/libCEGUILuaScriptModule.la |
d050fb3e | 409 | %{_libdir}/libCEGUISTBImageCodec.la |
d4686777 JB |
410 | %{_libdir}/libCEGUITGAImageCodec.la |
411 | %{_libdir}/libCEGUITinyXMLParser.la | |
412 | %{_libdir}/libCEGUIXercesParser.la | |
1dbcb621 JB |
413 | %dir %{_includedir}/%{name} |
414 | %{_includedir}/%{name}/CEGUI*.h | |
f2fc487e JB |
415 | %dir %{_includedir}/%{name}/ImageCodecModules |
416 | %{_includedir}/%{name}/ImageCodecModules/STBImageCodec | |
417 | %{_includedir}/%{name}/ImageCodecModules/TGAImageCodec | |
1dbcb621 | 418 | %dir %{_includedir}/%{name}/RendererModules |
1dbcb621 JB |
419 | %{_includedir}/%{name}/ScriptingModules |
420 | %{_includedir}/%{name}/WindowRendererSets | |
421 | %{_includedir}/%{name}/XMLParserModules | |
422 | %{_includedir}/%{name}/elements | |
423 | %{_includedir}/%{name}/falagard | |
54df35ea | 424 | %{_pkgconfigdir}/CEGUI.pc |
1dbcb621 | 425 | |
f2fc487e JB |
426 | %files ImageCodec-Corona |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_libdir}/libCEGUICoronaImageCodec-%{version}.so | |
429 | %attr(755,root,root) %{_libdir}/libCEGUICoronaImageCodec.so | |
430 | ||
431 | %files ImageCodec-Corona-devel | |
432 | %defattr(644,root,root,755) | |
433 | %{_libdir}/libCEGUICoronaImageCodec.la | |
434 | %{_includedir}/%{name}/ImageCodecModules/CoronaImageCodec | |
435 | ||
436 | %files ImageCodec-DevIL | |
437 | %defattr(644,root,root,755) | |
438 | %attr(755,root,root) %{_libdir}/libCEGUIDevILImageCodec-%{version}.so | |
439 | %attr(755,root,root) %{_libdir}/libCEGUIDevILImageCodec.so | |
440 | ||
441 | %files ImageCodec-DevIL-devel | |
442 | %defattr(644,root,root,755) | |
443 | %{_libdir}/libCEGUIDevILImageCodec.la | |
444 | %{_includedir}/%{name}/ImageCodecModules/DevILImageCodec | |
445 | ||
446 | %files ImageCodec-FreeImage | |
447 | %defattr(644,root,root,755) | |
448 | %attr(755,root,root) %{_libdir}/libCEGUIFreeImageImageCodec-%{version}.so | |
449 | %attr(755,root,root) %{_libdir}/libCEGUIFreeImageImageCodec.so | |
450 | ||
451 | %files ImageCodec-FreeImage-devel | |
452 | %defattr(644,root,root,755) | |
453 | %{_libdir}/libCEGUIFreeImageImageCodec.la | |
454 | %{_includedir}/%{name}/ImageCodecModules/FreeImageImageCodec | |
455 | ||
456 | %files ImageCodec-SILLY | |
457 | %defattr(644,root,root,755) | |
458 | %attr(755,root,root) %{_libdir}/libCEGUISILLYImageCodec-%{version}.so | |
459 | %attr(755,root,root) %{_libdir}/libCEGUISILLYImageCodec.so | |
460 | ||
461 | %files ImageCodec-SILLY-devel | |
462 | %defattr(644,root,root,755) | |
463 | %{_libdir}/libCEGUISILLYImageCodec.la | |
464 | %{_includedir}/%{name}/ImageCodecModules/SILLYImageCodec | |
465 | ||
466 | %files Renderer-Irrlicht | |
467 | %defattr(644,root,root,755) | |
468 | %attr(755,root,root) %{_libdir}/libCEGUIIrrlichtRenderer-%{version}.so | |
469 | %attr(755,root,root) %{_libdir}/libCEGUIIrrlichtRenderer.so | |
470 | ||
471 | %files Renderer-Irrlicht-devel | |
472 | %defattr(644,root,root,755) | |
473 | %{_libdir}/libCEGUIIrrlichtRenderer.la | |
474 | %{_includedir}/%{name}/RendererModules/Irrlicht | |
475 | ||
1dbcb621 | 476 | %if %{with ogre} |
f2fc487e | 477 | %files Renderer-Ogre |
1dbcb621 JB |
478 | %defattr(644,root,root,755) |
479 | %attr(755,root,root) %{_libdir}/libCEGUIOgreRenderer-%{version}.so | |
f2fc487e | 480 | %attr(755,root,root) %{_libdir}/libCEGUIOgreRenderer.so |
1dbcb621 | 481 | |
f2fc487e | 482 | %files Renderer-Ogre-devel |
1dbcb621 | 483 | %defattr(644,root,root,755) |
1dbcb621 JB |
484 | %{_libdir}/libCEGUIOgreRenderer.la |
485 | %{_includedir}/%{name}/RendererModules/Ogre | |
486 | %{_pkgconfigdir}/CEGUI-OGRE.pc | |
487 | %endif | |
52ea5f04 | 488 | |
489 | %if %{with opengl} | |
f2fc487e | 490 | %files Renderer-OpenGL |
52ea5f04 | 491 | %defattr(644,root,root,755) |
492 | %attr(755,root,root) %{_libdir}/libCEGUIOpenGLRenderer-%{version}.so | |
b5f1620c | 493 | |
f2fc487e | 494 | %files Renderer-OpenGL-devel |
b5f1620c | 495 | %defattr(644,root,root,755) |
1dbcb621 JB |
496 | %attr(755,root,root) %{_libdir}/libCEGUIOpenGLRenderer.so |
497 | %{_libdir}/libCEGUIOpenGLRenderer.la | |
498 | %{_includedir}/%{name}/RendererModules/OpenGL | |
499 | %{_pkgconfigdir}/CEGUI-OPENGL.pc | |
b5f1620c | 500 | %endif |
03137a33 JB |
501 | |
502 | %files -n python-CEGUI | |
503 | %defattr(644,root,root,755) | |
504 | %attr(755,root,root) %{py_sitedir}/PyCEGUI.so | |
505 | ||
506 | %files -n python-CEGUI-Renderer-OpenGL | |
507 | %defattr(644,root,root,755) | |
508 | %attr(755,root,root) %{py_sitedir}/PyCEGUIOpenGLRenderer.so |