1 Summary: ClanLib, the platform independent game SDK
2 Summary(pl): ClanLib, niezale¿ny od platformy SDK do gier
3 Summary(pt_BR): SDK Clanlib
9 #Source0Download: http://www.clanlib.org/download.html
10 Source0: http://www.clanlib.org/download/files/%{name}-%{version}-1.tar.gz
11 # Source0-md5: 7115921953ef6fa45102c28622493650
12 Patch0: %{name}-OPT.patch
13 Patch1: %{name}-GL.patch
14 Patch2: %{name}-assert.patch
15 Patch3: %{name}-ft2build_h.patch
16 URL: http://www.clanlib.org/
17 # doesn't build with 0.9.12
18 #BuildRequires: DirectFB-devel = 0.9.9
19 BuildRequires: Hermes-devel >= 1.3.1
20 BuildRequires: OpenGL-devel
21 BuildRequires: XFree86-devel
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: freetype-devel >= 2.0
25 BuildRequires: libjpeg-devel
26 BuildRequires: libmikmod-devel
27 BuildRequires: libpng-devel >= 1.0.8
28 BuildRequires: libstdc++-devel
29 BuildRequires: libvorbis-devel >= 1:1.0
30 # If broken - don't require it....
31 #BuildRequires: lua-devel
33 Requires: Hermes >= 1.3.1
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define _noautoreqdep libGL.so.1 libGLU.so.1
39 The ClanLib SDK is designed to provide an platform independent game
40 SDK using a lot cleaner (and object oriented) interface than the
41 traditional way it is done in DirectX, SDL and such. The goal is to
42 avoid game developers constantly reinventing the wheel by providing
43 smarter ways to eg. load surfaces.
46 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
47 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
48 przejrzystszy ni¿ DirectX, SDL i inne.
51 A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para
52 facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer
53 uma interface comum para os problemas clássicos dos jogos (carregar
54 gráficos por exemplo).
57 Summary: ClanLib development package
58 Summary(pl): Pakiet programistyczny dla ClanLib
59 Summary(pt_BR): Arquivos para desenvolvimento usando a Clanlib
60 Group: Development/Libraries
61 Requires: %{name} = %{version}-%{release}
62 Requires: Hermes-devel
65 This is the development add-on package that includes the header files
66 needed to compile new ClanLib applications.
68 %description devel -l pl
69 Programistyczne dodatki do ClanLiba, zawieraj± pliki nag³ówkowe
70 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
72 %description devel -l pt_BR
73 Arquivos que possibilitam o desenvolvimento de aplicativos utilizando
77 Summary: ClanLib static libraries
78 Summary(pl): Biblioteki statyczne ClanLib
79 Group: Development/Libraries
80 Requires: %{name}-devel = %{version}-%{release}
83 ClanLib static libraries.
85 %description static -l pl
86 Biblioteki statyczne ClanLib.
89 Summary: OpenGL ClanLib library
90 Summary(pl): Biblioteka OpenGL dla ClanLiba
92 Requires: %{name} = %{version}-%{release}
96 OpenGL ClanLib library.
98 %description OpenGL -l pl
99 Biblioteka OpenGL dla ClanLiba.
101 %package OpenGL-devel
102 Summary: Headers files for OpenGL ClanLib library
103 Summary(pl): Pliki nag³ówkowe biblioteki OpenGL dla ClanLiba
104 Group: Development/Libraries
105 Requires: %{name}-OpenGL = %{version}-%{release}
106 Requires: %{name}-devel = %{version}-%{release}
107 Requires: OpenGL-devel
109 %description OpenGL-devel
110 Headers files for OpenGL ClanLib library.
112 %description OpenGL-devel -l pl
113 Pliki nag³ówkowe biblioteki OpenGL dla ClanLiba.
115 %package OpenGL-static
116 Summary: Static OpenGL ClanLib library
117 Summary(pl): Statyczna biblioteka OpenGL dla ClanLiba
118 Group: Development/Libraries
119 Requires: %{name}-OpenGL-devel = %{version}-%{release}
121 %description OpenGL-static
122 Static OpenGL ClanLib library.
124 %description OpenGL-static -l pl
125 Statyczna biblioteka OpenGL dla ClanLiba.
128 Summary: MikMod ClanLib library
129 Summary(pl): Biblioteka MikMod dla ClanLiba
131 Requires: %{name} = %{version}-%{release}
134 MikMod ClanLib library.
136 %description MikMod -l pl
137 Biblioteka MikMod dla ClanLiba.
139 %package MikMod-devel
140 Summary: Headers files for MikMod ClanLib library
141 Summary(pl): Pliki nag³ówkowe biblioteki MikMod dla ClanLiba
142 Group: Development/Libraries
143 Requires: %{name}-MikMod = %{version}-%{release}
144 Requires: %{name}-devel = %{version}-%{release}
145 Requires: libmikmod-devel
147 %description MikMod-devel
148 Headers files for MikMod ClanLib library.
150 %description MikMod-devel -l pl
151 Pliki nag³ówkowe biblioteki MikMod dla ClanLiba.
153 %package MikMod-static
154 Summary: Static MikMod ClanLib library
155 Summary(pl): Statyczna biblioteka MikMod dla ClanLiba
156 Group: Development/Libraries
157 Requires: %{name}-MikMod-devel = %{version}-%{release}
159 %description MikMod-static
160 Static MikMod ClanLib library.
162 %description MikMod-static -l pl
163 Statyczna biblioteka MikMod dla ClanLiba.
166 Summary: Vorbis ClanLib library
167 Summary(pl): Biblioteka Vorbis dla ClanLiba
169 Requires: %{name} = %{version}-%{release}
172 Vorbis ClanLib library.
174 %description Vorbis -l pl
175 Biblioteka Vorbis dla ClanLiba.
177 %package Vorbis-devel
178 Summary: Headers files for Vorbis ClanLib library
179 Summary(pl): Pliki nag³ówkowe biblioteki Vorbis dla ClanLiba
180 Group: Development/Libraries
181 Requires: %{name}-Vorbis = %{version}-%{release}
182 Requires: %{name}-devel = %{version}-%{release}
184 %description Vorbis-devel
185 Headers files for Vorbis ClanLib library.
187 %description Vorbis-devel -l pl
188 Pliki nag³ówkowe biblioteki Vorbis dla ClanLiba.
190 %package Vorbis-static
191 Summary: Static Vorbis ClanLib library
192 Summary(pl): Statyczna biblioteka Vorbis dla ClanLiba
193 Group: Development/Libraries
194 Requires: %{name}-Vorbis-devel = %{version}-%{release}
196 %description Vorbis-static
197 Static Vorbis ClanLib library.
199 %description Vorbis-static -l pl
200 Statyczna biblioteka Vorbis dla ClanLiba.
203 Summary: TTF ClanLib library
204 Summary(pl): Biblioteka TTF dla ClanLiba
206 Requires: %{name} = %{version}-%{release}
211 %description TTF -l pl
212 Biblioteka TTF dla ClanLiba.
215 Summary: Headers files for TTF ClanLib library
216 Summary(pl): Pliki nag³ówkowe biblioteki TTF dla ClanLiba
217 Group: Development/Libraries
218 Requires: %{name}-TTF = %{version}-%{release}
219 Requires: %{name}-devel = %{version}-%{release}
221 %description TTF-devel
222 Headers files for TTF ClanLib library.
224 %description TTF-devel -l pl
225 Pliki nag³ówkowe biblioteki TTF dla ClanLiba.
228 Summary: Static TTF ClanLib library
229 Summary(pl): Statyczna biblioteka TTF dla ClanLiba
230 Group: Development/Libraries
231 Requires: %{name}-TTF-devel = %{version}-%{release}
233 %description TTF-static
234 Static TTF ClanLib library.
236 %description TTF-static -l pl
237 Statyczna biblioteka TTF dla ClanLiba.
247 # note: rtti is needed --- ClanLib uses exceptions!
248 cp /usr/share/automake/config.sub .
254 --%{?debug:en}%{!?debug:dis}able-debug \
274 # lua is broken, DirectFB too fresh?
280 rm -rf $RPM_BUILD_ROOT
282 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
283 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
284 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
285 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
287 %{__make} docs_install \
288 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
289 HTML_PREFIX="`pwd`/html"
292 rm -rf $RPM_BUILD_ROOT
294 %post -p /sbin/ldconfig
295 %postun -p /sbin/ldconfig
297 %post OpenGL -p /sbin/ldconfig
298 %postun OpenGL -p /sbin/ldconfig
300 %post MikMod -p /sbin/ldconfig
301 %postun MikMod -p /sbin/ldconfig
303 %post TTF -p /sbin/ldconfig
304 %postun TTF -p /sbin/ldconfig
306 %post Vorbis -p /sbin/ldconfig
307 %postun Vorbis -p /sbin/ldconfig
310 %defattr(644,root,root,755)
312 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
313 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
314 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
315 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
316 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
317 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
318 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
319 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
322 %defattr(644,root,root,755)
324 %attr(755,root,root) %{_bindir}/clanlib-config
325 %attr(755,root,root) %{_libdir}/libclanApp.so
326 %attr(755,root,root) %{_libdir}/libclanCore.so
327 %attr(755,root,root) %{_libdir}/libclanDisplay.so
328 %attr(755,root,root) %{_libdir}/libclanGUI.so
329 %attr(755,root,root) %{_libdir}/libclan*JPEG.so
330 %attr(755,root,root) %{_libdir}/libclanNetwork.so
331 %attr(755,root,root) %{_libdir}/libclanPNG.so
332 %attr(755,root,root) %{_libdir}/libclanSound.so
333 %dir %{_includedir}/ClanLib
334 %{_includedir}/ClanLib/Application
335 %{_includedir}/ClanLib/Core
336 %{_includedir}/ClanLib/Display
337 %{_includedir}/ClanLib/GUI
338 %{_includedir}/ClanLib/*JPEG
339 %{_includedir}/ClanLib/Network
340 %{_includedir}/ClanLib/PNG
341 %{_includedir}/ClanLib/Signals
342 %{_includedir}/ClanLib/Sound
343 %{_includedir}/ClanLib/application.h
344 %{_includedir}/ClanLib/core.h
345 %{_includedir}/ClanLib/display.h
346 %{_includedir}/ClanLib/efence.h
347 %{_includedir}/ClanLib/gui.h
348 %{_includedir}/ClanLib/jpeg.h
349 %{_includedir}/ClanLib/network.h
350 %{_includedir}/ClanLib/png.h
351 %{_includedir}/ClanLib/signals.h
352 %{_includedir}/ClanLib/sound.h
355 %defattr(644,root,root,755)
356 %{_libdir}/libclanApp.a
357 %{_libdir}/libclanCore.a
358 %{_libdir}/libclanDisplay.a
359 %{_libdir}/libclanGUI.a
360 %{_libdir}/libclan*JPEG.a
361 %{_libdir}/libclanNetwork.a
362 %{_libdir}/libclanPNG.a
363 %{_libdir}/libclanSound.a
366 %defattr(644,root,root,755)
367 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
370 %defattr(644,root,root,755)
371 %attr(755,root,root) %{_libdir}/libclanGL.so
372 %{_includedir}/ClanLib/GL
373 %{_includedir}/ClanLib/gl.h
376 %defattr(644,root,root,755)
377 %{_libdir}/libclanGL.a
380 %defattr(644,root,root,755)
381 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
384 %defattr(644,root,root,755)
385 %attr(755,root,root) %{_libdir}/libclanMikMod.so
386 %{_includedir}/ClanLib/MikMod
387 %{_includedir}/ClanLib/mikmod.h
390 %defattr(644,root,root,755)
391 %{_libdir}/libclanMikMod.a
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
398 %defattr(644,root,root,755)
399 %attr(755,root,root) %{_libdir}/libclanVorbis.so
400 %{_includedir}/ClanLib/Vorbis
401 %{_includedir}/ClanLib/vorbis.h
404 %defattr(644,root,root,755)
405 %{_libdir}/libclanVorbis.a
408 %defattr(644,root,root,755)
409 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
412 %defattr(644,root,root,755)
413 %attr(755,root,root) %{_libdir}/libclanTTF.so
414 %{_includedir}/ClanLib/TTF
415 %{_includedir}/ClanLib/ttf.h
418 %defattr(644,root,root,755)
419 %{_libdir}/libclanTTF.a