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 Patch0: %{name}-config.patch
12 URL: http://www.clanlib.org/
13 Requires: Hermes >= 1.3.1
14 #OpenGL is disabled in ClanLib 0.5.0 so we disable this requirement
16 BuildRequires: Hermes-devel >= 1.3.1
17 BuildRequires: XFree86-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: freetype-devel >= 2.0
21 #BuildRequires: OpenGL-devel
22 BuildRequires: libmikmod-devel
23 BuildRequires: libpng-devel >= 1.0.8
24 BuildRequires: libstdc++-devel
25 BuildRequires: libvorbis-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _noautoreqdep libGL.so.1 libGLU.so.1
32 The ClanLib SDK is designed to provide an platform independent game
33 SDK using a lot cleaner (and object oriented) interface than the
34 traditional way it is done in DirectX, SDL and such. The goals is to
35 avoid game developers constantly reinventing the wheel by providing
36 smarter ways to eg. load surfaces.
39 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
40 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
41 przejrzystszy ni¿ DirectX, SDL i inne.
44 A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para
45 facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer
46 uma interface comum para os problemas clássicos dos jogos (carregar
47 gráficos por exemplo).
50 Summary: ClanLib development package
51 Summary(pl): pakiet programistyczny dla ClanLib
52 Summary(pt_BR): Arquivos para desenvolvimento usando a Clanlib
53 Group: Development/Libraries
54 Requires: %{name} = %{version}
55 #Requires: %{name}-OpenGL = %{version}
56 Requires: %{name}-MikMod = %{version}
57 Requires: %{name}-TTF = %{version}
58 Requires: %{name}-Vorbis = %{version}
59 Requires: Hermes-devel
62 This is the development add-on package that includes the header files
63 needed to compile new ClanLib applications.
65 %description devel -l pl
66 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
67 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
69 %description devel -l pt_BR
70 Arquivos que possibilitam o desenvolvimento de aplicativos utilizando
74 Summary: svgalib target for ClanLib
75 Summary(pl): obs³uga svgalib dla ClanLib
76 Group: Development/Libraries
77 Requires: %{name} = %{version}
80 This is the svgalib target for ClanLib.
82 %description svgalib -l pl
83 Obs³uga svgalib dla ClanLib-a.
86 Summary: OpenGL target for ClanLib
87 Summary(pl): obs³uga OpenGL dla ClanLib
88 Group: Development/Libraries
89 Requires: %{name} = %{version}
92 This is the OpenGL target for ClanLib.
94 %description OpenGL -l pl
95 Obs³uga OpenGL dla ClanLib-a.
98 Summary: GGI target for ClanLib
99 Summary(pl): obs³uga GGI dla ClanLib
100 Group: Development/Libraries
101 Requires: %{name} = %{version}
104 This is the GGI target for ClanLib.
106 %description GGI -l pl
107 Obs³uga OpenGL dla ClanLib-a.
110 Summary: MikMod module for ClanLib
111 Summary(pl): Modu³ Mikmod dla ClanLib
112 Group: Development/Libraries
113 Requires: %{name} = %{version}
116 MikMod module for ClanLib.
118 %description MikMod -l pl
119 Modu³ Mikmod dla ClanLib-a.
122 Summary: Vorbis module for ClanLib
123 Summary(pl): Modu³ Vorbis dla ClanLib
124 Group: Development/Libraries
125 Requires: %{name} = %{version}
128 Vorbis module for ClanLib.
130 %description Vorbis -l pl
131 Modu³ Vorbis dla ClanLib-a.
134 Summary: TTF module for ClanLib
135 Summary(pl): Modu³ TTF dla ClanLib
136 Group: Development/Libraries
137 Requires: %{name} = %{version}
140 TTF module for ClanLib.
142 %description TTF -l pl
143 Modu³ TTF dla ClanLib-a.
146 Summary: ClanLib development package
147 Summary(pl): pakiet programistyczny dla ClanLib
148 Group: Development/Libraries
149 Requires: %{name}-devel = %{version}
152 This is the development add-on package that includes the header files
153 needed to compile new ClanLib applications.
155 %description static -l pl
156 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
157 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
165 # note: rtti is needed --- ClanLib uses exceptions!
171 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
189 --disable-lua # broken
191 # not functional right now
200 rm -rf $RPM_BUILD_ROOT
202 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
203 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
204 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
205 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
207 %{__make} docs_install \
208 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
209 HTML_PREFIX="`pwd`/html"
211 gzip -9nf README CREDITS
213 %post -p /sbin/ldconfig
214 %postun -p /sbin/ldconfig
216 %post OpenGL -p /sbin/ldconfig
217 %postun OpenGL -p /sbin/ldconfig
219 %post MikMod -p /sbin/ldconfig
220 %postun MikMod -p /sbin/ldconfig
222 %post TTF -p /sbin/ldconfig
223 %postun TTF -p /sbin/ldconfig
225 %post Vorbis -p /sbin/ldconfig
226 %postun Vorbis -p /sbin/ldconfig
229 rm -rf $RPM_BUILD_ROOT
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
234 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
235 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
236 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
237 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
238 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
239 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
240 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
241 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
244 #%defattr(644,root,root,755)
245 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
246 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
253 %defattr(644,root,root,755)
254 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
257 %defattr(644,root,root,755)
258 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
261 %defattr(644,root,root,755)
264 %attr(755,root,root) %{_libdir}/*.so
265 %attr(755,root,root) %{_bindir}/*
266 %{_includedir}/ClanLib
269 %defattr(644,root,root,755)