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 # Source0-md5: 7115921953ef6fa45102c28622493650
10 Source0: http://www.clanlib.org/~sphair/download/%{name}-%{version}-1.tar.gz
11 Patch0: %{name}-OPT.patch
12 Patch1: %{name}-GL.patch
13 Patch2: %{name}-assert.patch
14 URL: http://www.clanlib.org/
15 # doesn't build with 0.9.12
16 #BuildRequires: DirectFB-devel = 0.9.9
17 BuildRequires: Hermes-devel >= 1.3.1
18 BuildRequires: OpenGL-devel
19 BuildRequires: XFree86-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: freetype-devel >= 2.0
23 BuildRequires: libjpeg-devel
24 BuildRequires: libmikmod-devel
25 BuildRequires: libpng-devel >= 1.0.8
26 BuildRequires: libstdc++-devel
27 BuildRequires: libvorbis-devel >= 1:1.0
28 # If broken - don't require it....
29 #BuildRequires: lua-devel
31 Requires: Hermes >= 1.3.1
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _noautoreqdep libGL.so.1 libGLU.so.1
38 The ClanLib SDK is designed to provide an platform independent game
39 SDK using a lot cleaner (and object oriented) interface than the
40 traditional way it is done in DirectX, SDL and such. The goals is to
41 avoid game developers constantly reinventing the wheel by providing
42 smarter ways to eg. load surfaces.
45 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
46 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
47 przejrzystszy ni¿ DirectX, SDL i inne.
50 A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para
51 facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer
52 uma interface comum para os problemas clássicos dos jogos (carregar
53 gráficos por exemplo).
56 Summary: ClanLib development package
57 Summary(pl): pakiet programistyczny dla ClanLib
58 Summary(pt_BR): Arquivos para desenvolvimento usando a Clanlib
59 Group: Development/Libraries
60 Requires: %{name} = %{version}
61 Requires: %{name}-OpenGL = %{version}
62 Requires: %{name}-MikMod = %{version}
63 Requires: %{name}-TTF = %{version}
64 Requires: %{name}-Vorbis = %{version}
65 Requires: Hermes-devel
68 This is the development add-on package that includes the header files
69 needed to compile new ClanLib applications.
71 %description devel -l pl
72 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
73 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
75 %description devel -l pt_BR
76 Arquivos que possibilitam o desenvolvimento de aplicativos utilizando
80 Summary: svgalib target for ClanLib
81 Summary(pl): obs³uga svgalib dla ClanLib
82 Group: Development/Libraries
83 Requires: %{name} = %{version}
86 This is the svgalib target for ClanLib.
88 %description svgalib -l pl
89 Obs³uga svgalib dla ClanLib-a.
92 Summary: OpenGL target for ClanLib
93 Summary(pl): obs³uga OpenGL dla ClanLib
94 Group: Development/Libraries
95 Requires: %{name} = %{version}
98 This is the OpenGL target for ClanLib.
100 %description OpenGL -l pl
101 Obs³uga OpenGL dla ClanLib-a.
104 Summary: GGI target for ClanLib
105 Summary(pl): obs³uga GGI dla ClanLib
106 Group: Development/Libraries
107 Requires: %{name} = %{version}
110 This is the GGI target for ClanLib.
112 %description GGI -l pl
113 Obs³uga GGI dla ClanLib-a.
116 Summary: MikMod module for ClanLib
117 Summary(pl): Modu³ Mikmod dla ClanLib
118 Group: Development/Libraries
119 Requires: %{name} = %{version}
122 MikMod module for ClanLib.
124 %description MikMod -l pl
125 Modu³ Mikmod dla ClanLib-a.
128 Summary: Vorbis module for ClanLib
129 Summary(pl): Modu³ Vorbis dla ClanLib
130 Group: Development/Libraries
131 Requires: %{name} = %{version}
134 Vorbis module for ClanLib.
136 %description Vorbis -l pl
137 Modu³ Vorbis dla ClanLib-a.
140 Summary: TTF module for ClanLib
141 Summary(pl): Modu³ TTF dla ClanLib
142 Group: Development/Libraries
143 Requires: %{name} = %{version}
146 TTF module for ClanLib.
148 %description TTF -l pl
149 Modu³ TTF dla ClanLib-a.
152 Summary: ClanLib development package
153 Summary(pl): pakiet programistyczny dla ClanLib
154 Group: Development/Libraries
155 Requires: %{name}-devel = %{version}
158 This is the development add-on package that includes the header files
159 needed to compile new ClanLib applications.
161 %description static -l pl
162 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
163 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
172 # note: rtti is needed --- ClanLib uses exceptions!
178 --%{?debug:en}%{!?debug:dis}able-debug \
198 # lua is broken, DirectFB too fresh?
200 # not functional right now
201 # in fact - non existenz in actual configure...
209 rm -rf $RPM_BUILD_ROOT
211 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
212 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
213 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
214 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
216 %{__make} docs_install \
217 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
218 HTML_PREFIX="`pwd`/html"
221 rm -rf $RPM_BUILD_ROOT
223 %post -p /sbin/ldconfig
224 %postun -p /sbin/ldconfig
226 %post OpenGL -p /sbin/ldconfig
227 %postun OpenGL -p /sbin/ldconfig
229 %post MikMod -p /sbin/ldconfig
230 %postun MikMod -p /sbin/ldconfig
232 %post TTF -p /sbin/ldconfig
233 %postun TTF -p /sbin/ldconfig
235 %post Vorbis -p /sbin/ldconfig
236 %postun Vorbis -p /sbin/ldconfig
239 %defattr(644,root,root,755)
240 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
241 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
242 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
243 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
244 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
245 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
246 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
247 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
248 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
255 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
259 %defattr(644,root,root,755)
260 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
263 %defattr(644,root,root,755)
264 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
267 %defattr(644,root,root,755)
268 %doc README CREDITS html
269 %attr(755,root,root) %{_libdir}/*.so
270 %attr(755,root,root) %{_bindir}/*
271 %{_includedir}/ClanLib
274 %defattr(644,root,root,755)