1 Summary: ClanLib, the platform independent game SDK
2 Summary(pl): ClanLib, niezale¿ny od platformy SDK do gier
12 Group(pt_BR): Bibliotecas
15 Source0: http://dark.x.dtu.dk/~mbn/clanlib/download/download-japj/%{name}-%{version}/%{name}-%{version}-1.tar.gz
16 Patch0: %{name}-OPT.patch
17 URL: http://www.clanlib.org/
18 Requires: Hermes >= 1.3.1
19 #OpenGL is disabled in ClanLib 0.5.0 so we disable this requirement
21 BuildRequires: Hermes-devel >= 1.3.1
22 BuildRequires: XFree86-devel
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: freetype-devel >= 2.0
26 #BuildRequires: OpenGL-devel
27 BuildRequires: libmikmod-devel
28 BuildRequires: libpng-devel >= 1.0.8
29 BuildRequires: libstdc++-devel
30 BuildRequires: libvorbis-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _noautoreqdep libGL.so.1 libGLU.so.1
37 The ClanLib SDK is designed to provide an platform independent game
38 SDK using a lot cleaner (and object oriented) interface than the
39 traditional way it is done in DirectX, SDL and such. The goals is to
40 avoid game developers constantly reinventing the wheel by providing
41 smarter ways to eg. load surfaces.
44 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
45 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
46 przejrzystszy ni¿ DirectX, SDL i inne.
49 Summary: ClanLib development package
50 Summary(pl): pakiet programistyczny dla ClanLib
51 Group: Development/Libraries
52 Group(de): Entwicklung/Libraries
53 Group(es): Desarrollo/Bibliotecas
54 Group(fr): Development/Librairies
55 Group(pl): Programowanie/Biblioteki
56 Group(pt_BR): Desenvolvimento/Bibliotecas
57 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
58 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
59 Requires: %{name} = %{version}
60 #Requires: %{name}-OpenGL = %{version}
61 Requires: %{name}-MikMod = %{version}
62 Requires: %{name}-TTF = %{version}
63 Requires: %{name}-Vorbis = %{version}
64 Requires: Hermes-devel
67 This is the development add-on package that includes the header files
68 needed to compile new ClanLib applications.
70 %description -l pl devel
71 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
72 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
75 Summary: svgalib target for ClanLib
76 Summary(pl): obs³uga svgalib dla ClanLib
77 Group: Development/Libraries
78 Group(de): Entwicklung/Libraries
79 Group(es): Desarrollo/Bibliotecas
80 Group(fr): Development/Librairies
81 Group(pl): Programowanie/Biblioteki
82 Group(pt_BR): Desenvolvimento/Bibliotecas
83 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
84 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
85 Requires: %{name} = %{version}
88 This is the svgalib target for ClanLib.
90 %description -l pl svgalib
91 Obs³uga svgalib dla ClanLib-a.
94 Summary: OpenGL target for ClanLib
95 Summary(pl): obs³uga OpenGL dla ClanLib
96 Group: Development/Libraries
97 Group(de): Entwicklung/Libraries
98 Group(es): Desarrollo/Bibliotecas
99 Group(fr): Development/Librairies
100 Group(pl): Programowanie/Biblioteki
101 Group(pt_BR): Desenvolvimento/Bibliotecas
102 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
103 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
104 Requires: %{name} = %{version}
107 This is the OpenGL target for ClanLib.
109 %description -l pl OpenGL
110 Obs³uga OpenGL dla ClanLib-a.
113 Summary: GGI target for ClanLib
114 Summary(pl): obs³uga GGI dla ClanLib
115 Group: Development/Libraries
116 Group(de): Entwicklung/Libraries
117 Group(es): Desarrollo/Bibliotecas
118 Group(fr): Development/Librairies
119 Group(pl): Programowanie/Biblioteki
120 Group(pt_BR): Desenvolvimento/Bibliotecas
121 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
122 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
123 Requires: %{name} = %{version}
126 This is the GGI target for ClanLib.
128 %description -l pl GGI
129 Obs³uga OpenGL dla ClanLib-a.
132 Summary: MikMod module for ClanLib
133 Summary(pl): Modu³ Mikmod dla ClanLib
134 Group: Development/Libraries
135 Group(de): Entwicklung/Libraries
136 Group(es): Desarrollo/Bibliotecas
137 Group(fr): Development/Librairies
138 Group(pl): Programowanie/Biblioteki
139 Group(pt_BR): Desenvolvimento/Bibliotecas
140 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
141 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
142 Requires: %{name} = %{version}
145 MikMod module for ClanLib.
147 %description -l pl MikMod
148 Modu³ Mikmod dla ClanLib-a.
151 Summary: Vorbis module for ClanLib
152 Summary(pl): Modu³ Vorbis dla ClanLib
153 Group: Development/Libraries
154 Group(de): Entwicklung/Libraries
155 Group(es): Desarrollo/Bibliotecas
156 Group(fr): Development/Librairies
157 Group(pl): Programowanie/Biblioteki
158 Group(pt_BR): Desenvolvimento/Bibliotecas
159 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
160 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
161 Requires: %{name} = %{version}
164 Vorbis module for ClanLib.
166 %description -l pl Vorbis
167 Modu³ Vorbis dla ClanLib-a.
170 Summary: TTF module for ClanLib
171 Summary(pl): Modu³ TTF dla ClanLib
172 Group: Development/Libraries
173 Group(de): Entwicklung/Libraries
174 Group(es): Desarrollo/Bibliotecas
175 Group(fr): Development/Librairies
176 Group(pl): Programowanie/Biblioteki
177 Group(pt_BR): Desenvolvimento/Bibliotecas
178 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
179 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
180 Requires: %{name} = %{version}
183 TTF module for ClanLib.
185 %description -l pl TTF
186 Modu³ TTF dla ClanLib-a.
189 Summary: ClanLib development package
190 Summary(pl): pakiet programistyczny dla ClanLib
191 Group: Development/Libraries
192 Group(de): Entwicklung/Libraries
193 Group(es): Desarrollo/Bibliotecas
194 Group(fr): Development/Librairies
195 Group(pl): Programowanie/Biblioteki
196 Group(pt_BR): Desenvolvimento/Bibliotecas
197 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
198 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
199 Requires: %{name}-devel = %{version}
202 This is the development add-on package that includes the header files
203 needed to compile new ClanLib applications.
205 %description -l pl static
206 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
207 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
214 # note: rtti is needed --- ClanLib uses exceptions!
220 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
239 # not functional right now
248 rm -rf $RPM_BUILD_ROOT
250 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
251 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
252 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
253 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
255 %{__make} docs_install \
256 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
257 HTML_PREFIX="`pwd`/html"
259 gzip -9nf README CREDITS
261 %post -p /sbin/ldconfig
262 %postun -p /sbin/ldconfig
264 %post OpenGL -p /sbin/ldconfig
265 %postun OpenGL -p /sbin/ldconfig
267 %post MikMod -p /sbin/ldconfig
268 %postun MikMod -p /sbin/ldconfig
270 %post TTF -p /sbin/ldconfig
271 %postun TTF -p /sbin/ldconfig
273 %post Vorbis -p /sbin/ldconfig
274 %postun Vorbis -p /sbin/ldconfig
277 rm -rf $RPM_BUILD_ROOT
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
282 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
283 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
284 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
285 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
286 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
287 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
288 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
289 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
292 #%defattr(644,root,root,755)
293 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
294 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
297 %defattr(644,root,root,755)
298 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
301 %defattr(644,root,root,755)
302 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
305 %defattr(644,root,root,755)
306 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
309 %defattr(644,root,root,755)
312 %attr(755,root,root) %{_libdir}/*.so
313 %attr(755,root,root) %{_bindir}/*
314 %{_includedir}/ClanLib
317 %defattr(644,root,root,755)