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 URL: http://www.clanlib.org/
12 Requires: Hermes >= 1.3.1
13 #OpenGL is disabled in ClanLib 0.5.0 so we disable this requirement
15 BuildRequires: Hermes-devel >= 1.3.1
16 BuildRequires: XFree86-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: freetype-devel >= 2.0
20 #BuildRequires: OpenGL-devel
21 BuildRequires: libmikmod-devel
22 BuildRequires: libpng-devel >= 1.0.8
23 BuildRequires: libstdc++-devel
24 BuildRequires: libvorbis-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _noautoreqdep libGL.so.1 libGLU.so.1
31 The ClanLib SDK is designed to provide an platform independent game
32 SDK using a lot cleaner (and object oriented) interface than the
33 traditional way it is done in DirectX, SDL and such. The goals is to
34 avoid game developers constantly reinventing the wheel by providing
35 smarter ways to eg. load surfaces.
38 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
39 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
40 przejrzystszy ni¿ DirectX, SDL i inne.
43 A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para
44 facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer
45 uma interface comum para os problemas clássicos dos jogos (carregar
46 gráficos por exemplo).
49 Summary: ClanLib development package
50 Summary(pl): pakiet programistyczny dla ClanLib
51 Summary(pt_BR): Arquivos para desenvolvimento usando a Clanlib
52 Group: Development/Libraries
53 Requires: %{name} = %{version}
54 #Requires: %{name}-OpenGL = %{version}
55 Requires: %{name}-MikMod = %{version}
56 Requires: %{name}-TTF = %{version}
57 Requires: %{name}-Vorbis = %{version}
58 Requires: Hermes-devel
61 This is the development add-on package that includes the header files
62 needed to compile new ClanLib applications.
64 %description devel -l pl
65 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
66 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
68 %description devel -l pt_BR
69 Arquivos que possibilitam o desenvolvimento de aplicativos utilizando
73 Summary: svgalib target for ClanLib
74 Summary(pl): obs³uga svgalib dla ClanLib
75 Group: Development/Libraries
76 Requires: %{name} = %{version}
79 This is the svgalib target for ClanLib.
81 %description svgalib -l pl
82 Obs³uga svgalib dla ClanLib-a.
85 Summary: OpenGL target for ClanLib
86 Summary(pl): obs³uga OpenGL dla ClanLib
87 Group: Development/Libraries
88 Requires: %{name} = %{version}
91 This is the OpenGL target for ClanLib.
93 %description OpenGL -l pl
94 Obs³uga OpenGL dla ClanLib-a.
97 Summary: GGI target for ClanLib
98 Summary(pl): obs³uga GGI dla ClanLib
99 Group: Development/Libraries
100 Requires: %{name} = %{version}
103 This is the GGI target for ClanLib.
105 %description GGI -l pl
106 Obs³uga OpenGL dla ClanLib-a.
109 Summary: MikMod module for ClanLib
110 Summary(pl): Modu³ Mikmod dla ClanLib
111 Group: Development/Libraries
112 Requires: %{name} = %{version}
115 MikMod module for ClanLib.
117 %description MikMod -l pl
118 Modu³ Mikmod dla ClanLib-a.
121 Summary: Vorbis module for ClanLib
122 Summary(pl): Modu³ Vorbis dla ClanLib
123 Group: Development/Libraries
124 Requires: %{name} = %{version}
127 Vorbis module for ClanLib.
129 %description Vorbis -l pl
130 Modu³ Vorbis dla ClanLib-a.
133 Summary: TTF module for ClanLib
134 Summary(pl): Modu³ TTF dla ClanLib
135 Group: Development/Libraries
136 Requires: %{name} = %{version}
139 TTF module for ClanLib.
141 %description TTF -l pl
142 Modu³ TTF dla ClanLib-a.
145 Summary: ClanLib development package
146 Summary(pl): pakiet programistyczny dla ClanLib
147 Group: Development/Libraries
148 Requires: %{name}-devel = %{version}
151 This is the development add-on package that includes the header files
152 needed to compile new ClanLib applications.
154 %description static -l pl
155 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
156 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
163 # note: rtti is needed --- ClanLib uses exceptions!
169 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
187 --disable-lua # broken
189 # not functional right now
198 rm -rf $RPM_BUILD_ROOT
200 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
201 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
202 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
203 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
205 %{__make} docs_install \
206 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
207 HTML_PREFIX="`pwd`/html"
209 gzip -9nf README CREDITS
211 %post -p /sbin/ldconfig
212 %postun -p /sbin/ldconfig
214 %post OpenGL -p /sbin/ldconfig
215 %postun OpenGL -p /sbin/ldconfig
217 %post MikMod -p /sbin/ldconfig
218 %postun MikMod -p /sbin/ldconfig
220 %post TTF -p /sbin/ldconfig
221 %postun TTF -p /sbin/ldconfig
223 %post Vorbis -p /sbin/ldconfig
224 %postun Vorbis -p /sbin/ldconfig
227 rm -rf $RPM_BUILD_ROOT
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
232 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
233 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
234 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
235 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
236 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
237 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
238 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
239 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
242 #%defattr(644,root,root,755)
243 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
244 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
255 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
259 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_libdir}/*.so
263 %attr(755,root,root) %{_bindir}/*
264 %{_includedir}/ClanLib
267 %defattr(644,root,root,755)