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-sphair/%{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: libpng-devel >= 1.0.8
22 BuildRequires: zlib-devel
23 BuildRequires: Hermes-devel >= 1.3.1
24 BuildRequires: libstdc++-devel
25 BuildRequires: XFree86-devel
26 #BuildRequires: OpenGL-devel
27 BuildRequires: libmikmod-devel
28 BuildRequires: freetype-devel >= 2.0
29 BuildRequires: libvorbis-devel
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 Summary: ClanLib development package
49 Summary(pl): pakiet programistyczny dla ClanLib
50 Group: Development/Libraries
51 Group(de): Entwicklung/Libraries
52 Group(es): Desarrollo/Bibliotecas
53 Group(fr): Development/Librairies
54 Group(pl): Programowanie/Biblioteki
55 Group(pt_BR): Desenvolvimento/Bibliotecas
56 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
57 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
58 Requires: %{name} = %{version}
59 #Requires: %{name}-OpenGL = %{version}
60 Requires: %{name}-MikMod = %{version}
61 Requires: %{name}-TTF = %{version}
62 Requires: %{name}-Vorbis = %{version}
65 This is the development add-on package that includes the header files
66 needed to compile new ClanLib applications.
68 %description -l pl devel
69 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
70 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
73 Summary: svgalib target for ClanLib
74 Summary(pl): obs³uga svgalib dla ClanLib
75 Group: Development/Libraries
76 Group(de): Entwicklung/Libraries
77 Group(es): Desarrollo/Bibliotecas
78 Group(fr): Development/Librairies
79 Group(pl): Programowanie/Biblioteki
80 Group(pt_BR): Desenvolvimento/Bibliotecas
81 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
82 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
83 Requires: %{name} = %{version}
86 This is the svgalib target for ClanLib.
88 %description -l pl svgalib
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 Group(de): Entwicklung/Libraries
96 Group(es): Desarrollo/Bibliotecas
97 Group(fr): Development/Librairies
98 Group(pl): Programowanie/Biblioteki
99 Group(pt_BR): Desenvolvimento/Bibliotecas
100 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
101 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
102 Requires: %{name} = %{version}
105 This is the OpenGL target for ClanLib.
107 %description -l pl OpenGL
108 Obs³uga OpenGL dla ClanLib-a.
111 Summary: GGI target for ClanLib
112 Summary(pl): obs³uga GGI dla ClanLib
113 Group: Development/Libraries
114 Group(de): Entwicklung/Libraries
115 Group(es): Desarrollo/Bibliotecas
116 Group(fr): Development/Librairies
117 Group(pl): Programowanie/Biblioteki
118 Group(pt_BR): Desenvolvimento/Bibliotecas
119 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
120 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
121 Requires: %{name} = %{version}
124 This is the GGI target for ClanLib.
126 %description -l pl GGI
127 Obs³uga OpenGL dla ClanLib-a.
130 Summary: MikMod module for ClanLib
131 Summary(pl): Modu³ Mikmod dla ClanLib
132 Group: Development/Libraries
133 Group(de): Entwicklung/Libraries
134 Group(es): Desarrollo/Bibliotecas
135 Group(fr): Development/Librairies
136 Group(pl): Programowanie/Biblioteki
137 Group(pt_BR): Desenvolvimento/Bibliotecas
138 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
139 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
140 Requires: %{name} = %{version}
143 MikMod module for ClanLib.
145 %description -l pl MikMod
146 Modu³ Mikmod dla ClanLib-a.
149 Summary: Vorbis module for ClanLib
150 Summary(pl): Modu³ Vorbis dla ClanLib
151 Group: Development/Libraries
152 Group(de): Entwicklung/Libraries
153 Group(es): Desarrollo/Bibliotecas
154 Group(fr): Development/Librairies
155 Group(pl): Programowanie/Biblioteki
156 Group(pt_BR): Desenvolvimento/Bibliotecas
157 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
158 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
159 Requires: %{name} = %{version}
162 Vorbis module for ClanLib.
164 %description -l pl Vorbis
165 Modu³ Vorbis dla ClanLib-a.
168 Summary: TTF module for ClanLib
169 Summary(pl): Modu³ TTF dla ClanLib
170 Group: Development/Libraries
171 Group(de): Entwicklung/Libraries
172 Group(es): Desarrollo/Bibliotecas
173 Group(fr): Development/Librairies
174 Group(pl): Programowanie/Biblioteki
175 Group(pt_BR): Desenvolvimento/Bibliotecas
176 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
177 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
178 Requires: %{name} = %{version}
181 TTF module for ClanLib.
183 %description -l pl TTF
184 Modu³ TTF dla ClanLib-a.
187 Summary: ClanLib development package
188 Summary(pl): pakiet programistyczny dla ClanLib
189 Group: Development/Libraries
190 Group(de): Entwicklung/Libraries
191 Group(es): Desarrollo/Bibliotecas
192 Group(fr): Development/Librairies
193 Group(pl): Programowanie/Biblioteki
194 Group(pt_BR): Desenvolvimento/Bibliotecas
195 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
196 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
197 Requires: %{name}-devel = %{version}
200 This is the development add-on package that includes the header files
201 needed to compile new ClanLib applications.
203 %description -l pl static
204 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
205 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
212 # note: rtti is needed --- ClanLib uses exceptions!
218 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
237 # not functional right now
246 rm -rf $RPM_BUILD_ROOT
248 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
249 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
250 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
251 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
253 %{__make} docs_install \
254 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
255 HTML_PREFIX="`pwd`/html"
257 gzip -9nf README CREDITS
259 %post -p /sbin/ldconfig
260 %postun -p /sbin/ldconfig
262 %post OpenGL -p /sbin/ldconfig
263 %postun OpenGL -p /sbin/ldconfig
265 %post MikMod -p /sbin/ldconfig
266 %postun MikMod -p /sbin/ldconfig
268 %post TTF -p /sbin/ldconfig
269 %postun TTF -p /sbin/ldconfig
271 %post Vorbis -p /sbin/ldconfig
272 %postun Vorbis -p /sbin/ldconfig
275 rm -rf $RPM_BUILD_ROOT
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
280 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
281 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
282 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
283 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
284 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
285 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
286 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
287 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
290 #%defattr(644,root,root,755)
291 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
292 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
295 %defattr(644,root,root,755)
296 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
303 %defattr(644,root,root,755)
304 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
307 %defattr(644,root,root,755)
310 %attr(755,root,root) %{_libdir}/*.so
311 %attr(755,root,root) %{_bindir}/*
312 %{_includedir}/ClanLib
315 %defattr(644,root,root,755)