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: http://dark.x.dtu.dk/~mbn/clanlib/download/download-japj/%{name}-%{version}/%{name}-%{version}-1.tar.gz
10 Patch0: %{name}-OPT.patch
11 Patch1: %{name}-config.patch
12 URL: http://www.clanlib.org/
13 # doesn't build with 0.9.12
14 #BuildRequires: DirectFB-devel = 0.9.9
15 BuildRequires: Hermes-devel >= 1.3.1
16 BuildRequires: OpenGL-devel
17 BuildRequires: XFree86-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: libmikmod-devel
22 BuildRequires: libpng-devel >= 1.0.8
23 BuildRequires: libjpeg-devel
24 BuildRequires: libstdc++-devel
25 BuildRequires: libvorbis-devel >= 1:1.0
26 # If broken - don't require it....
27 #BuildRequires: lua-devel
29 Requires: Hermes >= 1.3.1
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _noautoreqdep libGL.so.1 libGLU.so.1
36 The ClanLib SDK is designed to provide an platform independent game
37 SDK using a lot cleaner (and object oriented) interface than the
38 traditional way it is done in DirectX, SDL and such. The goals is to
39 avoid game developers constantly reinventing the wheel by providing
40 smarter ways to eg. load surfaces.
43 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
44 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
45 przejrzystszy ni¿ DirectX, SDL i inne.
48 A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para
49 facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer
50 uma interface comum para os problemas clássicos dos jogos (carregar
51 gráficos por exemplo).
54 Summary: ClanLib development package
55 Summary(pl): pakiet programistyczny dla ClanLib
56 Summary(pt_BR): Arquivos para desenvolvimento usando a Clanlib
57 Group: Development/Libraries
58 Requires: %{name} = %{version}
59 Requires: %{name}-OpenGL = %{version}
60 Requires: %{name}-MikMod = %{version}
61 Requires: %{name}-TTF = %{version}
62 Requires: %{name}-Vorbis = %{version}
63 Requires: Hermes-devel
66 This is the development add-on package that includes the header files
67 needed to compile new ClanLib applications.
69 %description devel -l pl
70 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
71 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
73 %description devel -l pt_BR
74 Arquivos que possibilitam o desenvolvimento de aplicativos utilizando
78 Summary: svgalib target for ClanLib
79 Summary(pl): obs³uga svgalib dla ClanLib
80 Group: Development/Libraries
81 Requires: %{name} = %{version}
84 This is the svgalib target for ClanLib.
86 %description svgalib -l pl
87 Obs³uga svgalib dla ClanLib-a.
90 Summary: OpenGL target for ClanLib
91 Summary(pl): obs³uga OpenGL dla ClanLib
92 Group: Development/Libraries
93 Requires: %{name} = %{version}
96 This is the OpenGL target for ClanLib.
98 %description OpenGL -l pl
99 Obs³uga OpenGL dla ClanLib-a.
102 Summary: GGI target for ClanLib
103 Summary(pl): obs³uga GGI dla ClanLib
104 Group: Development/Libraries
105 Requires: %{name} = %{version}
108 This is the GGI target for ClanLib.
110 %description GGI -l pl
111 Obs³uga GGI dla ClanLib-a.
114 Summary: MikMod module for ClanLib
115 Summary(pl): Modu³ Mikmod dla ClanLib
116 Group: Development/Libraries
117 Requires: %{name} = %{version}
120 MikMod module for ClanLib.
122 %description MikMod -l pl
123 Modu³ Mikmod dla ClanLib-a.
126 Summary: Vorbis module for ClanLib
127 Summary(pl): Modu³ Vorbis dla ClanLib
128 Group: Development/Libraries
129 Requires: %{name} = %{version}
132 Vorbis module for ClanLib.
134 %description Vorbis -l pl
135 Modu³ Vorbis dla ClanLib-a.
138 Summary: TTF module for ClanLib
139 Summary(pl): Modu³ TTF dla ClanLib
140 Group: Development/Libraries
141 Requires: %{name} = %{version}
144 TTF module for ClanLib.
146 %description TTF -l pl
147 Modu³ TTF dla ClanLib-a.
150 Summary: ClanLib development package
151 Summary(pl): pakiet programistyczny dla ClanLib
152 Group: Development/Libraries
153 Requires: %{name}-devel = %{version}
156 This is the development add-on package that includes the header files
157 needed to compile new ClanLib applications.
159 %description static -l pl
160 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
161 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
169 # note: rtti is needed --- ClanLib uses exceptions!
175 --%{?debug:en}%{!?debug:dis}able-debug \
195 # lua is broken, DirectFB too fresh?
197 # not functional right now
198 # in fact - non existenz in actual configure...
206 rm -rf $RPM_BUILD_ROOT
208 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
209 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
210 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
211 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
213 %{__make} docs_install \
214 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
215 HTML_PREFIX="`pwd`/html"
217 %post -p /sbin/ldconfig
218 %postun -p /sbin/ldconfig
220 %post OpenGL -p /sbin/ldconfig
221 %postun OpenGL -p /sbin/ldconfig
223 %post MikMod -p /sbin/ldconfig
224 %postun MikMod -p /sbin/ldconfig
226 %post TTF -p /sbin/ldconfig
227 %postun TTF -p /sbin/ldconfig
229 %post Vorbis -p /sbin/ldconfig
230 %postun Vorbis -p /sbin/ldconfig
233 rm -rf $RPM_BUILD_ROOT
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
238 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
239 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
240 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
241 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
242 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
243 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
244 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
245 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
248 %defattr(644,root,root,755)
249 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
252 %defattr(644,root,root,755)
253 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
256 %defattr(644,root,root,755)
257 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
264 %defattr(644,root,root,755)
265 %doc README CREDITS html
266 %attr(755,root,root) %{_libdir}/*.so
267 %attr(755,root,root) %{_bindir}/*
268 %{_includedir}/ClanLib
271 %defattr(644,root,root,755)