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: 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}
66 This is the development add-on package that includes the header files
67 needed to compile new ClanLib applications.
69 %description -l pl devel
70 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
71 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
74 Summary: svgalib target for ClanLib
75 Summary(pl): obs³uga svgalib dla ClanLib
76 Group: Development/Libraries
77 Group(de): Entwicklung/Libraries
78 Group(es): Desarrollo/Bibliotecas
79 Group(fr): Development/Librairies
80 Group(pl): Programowanie/Biblioteki
81 Group(pt_BR): Desenvolvimento/Bibliotecas
82 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
83 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
84 Requires: %{name} = %{version}
87 This is the svgalib target for ClanLib.
89 %description -l pl svgalib
90 Obs³uga svgalib dla ClanLib-a.
93 Summary: OpenGL target for ClanLib
94 Summary(pl): obs³uga OpenGL dla ClanLib
95 Group: Development/Libraries
96 Group(de): Entwicklung/Libraries
97 Group(es): Desarrollo/Bibliotecas
98 Group(fr): Development/Librairies
99 Group(pl): Programowanie/Biblioteki
100 Group(pt_BR): Desenvolvimento/Bibliotecas
101 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
102 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
103 Requires: %{name} = %{version}
106 This is the OpenGL target for ClanLib.
108 %description -l pl OpenGL
109 Obs³uga OpenGL dla ClanLib-a.
112 Summary: GGI target for ClanLib
113 Summary(pl): obs³uga GGI dla ClanLib
114 Group: Development/Libraries
115 Group(de): Entwicklung/Libraries
116 Group(es): Desarrollo/Bibliotecas
117 Group(fr): Development/Librairies
118 Group(pl): Programowanie/Biblioteki
119 Group(pt_BR): Desenvolvimento/Bibliotecas
120 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
121 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
122 Requires: %{name} = %{version}
125 This is the GGI target for ClanLib.
127 %description -l pl GGI
128 Obs³uga OpenGL dla ClanLib-a.
131 Summary: MikMod module for ClanLib
132 Summary(pl): Modu³ Mikmod dla ClanLib
133 Group: Development/Libraries
134 Group(de): Entwicklung/Libraries
135 Group(es): Desarrollo/Bibliotecas
136 Group(fr): Development/Librairies
137 Group(pl): Programowanie/Biblioteki
138 Group(pt_BR): Desenvolvimento/Bibliotecas
139 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
140 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
141 Requires: %{name} = %{version}
144 MikMod module for ClanLib.
146 %description -l pl MikMod
147 Modu³ Mikmod dla ClanLib-a.
150 Summary: Vorbis module for ClanLib
151 Summary(pl): Modu³ Vorbis dla ClanLib
152 Group: Development/Libraries
153 Group(de): Entwicklung/Libraries
154 Group(es): Desarrollo/Bibliotecas
155 Group(fr): Development/Librairies
156 Group(pl): Programowanie/Biblioteki
157 Group(pt_BR): Desenvolvimento/Bibliotecas
158 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
159 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
160 Requires: %{name} = %{version}
163 Vorbis module for ClanLib.
165 %description -l pl Vorbis
166 Modu³ Vorbis dla ClanLib-a.
169 Summary: TTF module for ClanLib
170 Summary(pl): Modu³ TTF dla ClanLib
171 Group: Development/Libraries
172 Group(de): Entwicklung/Libraries
173 Group(es): Desarrollo/Bibliotecas
174 Group(fr): Development/Librairies
175 Group(pl): Programowanie/Biblioteki
176 Group(pt_BR): Desenvolvimento/Bibliotecas
177 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
178 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
179 Requires: %{name} = %{version}
182 TTF module for ClanLib.
184 %description -l pl TTF
185 Modu³ TTF dla ClanLib-a.
188 Summary: ClanLib development package
189 Summary(pl): pakiet programistyczny dla ClanLib
190 Group: Development/Libraries
191 Group(de): Entwicklung/Libraries
192 Group(es): Desarrollo/Bibliotecas
193 Group(fr): Development/Librairies
194 Group(pl): Programowanie/Biblioteki
195 Group(pt_BR): Desenvolvimento/Bibliotecas
196 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
197 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
198 Requires: %{name}-devel = %{version}
201 This is the development add-on package that includes the header files
202 needed to compile new ClanLib applications.
204 %description -l pl static
205 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
206 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
213 # note: rtti is needed --- ClanLib uses exceptions!
219 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
238 # not functional right now
247 rm -rf $RPM_BUILD_ROOT
249 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
250 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
251 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
252 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
254 %{__make} docs_install \
255 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
256 HTML_PREFIX="`pwd`/html"
258 gzip -9nf README CREDITS
260 %post -p /sbin/ldconfig
261 %postun -p /sbin/ldconfig
263 %post OpenGL -p /sbin/ldconfig
264 %postun OpenGL -p /sbin/ldconfig
266 %post MikMod -p /sbin/ldconfig
267 %postun MikMod -p /sbin/ldconfig
269 %post TTF -p /sbin/ldconfig
270 %postun TTF -p /sbin/ldconfig
272 %post Vorbis -p /sbin/ldconfig
273 %postun Vorbis -p /sbin/ldconfig
276 rm -rf $RPM_BUILD_ROOT
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
281 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
282 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
283 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
284 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
285 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
286 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
287 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
288 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
291 #%defattr(644,root,root,755)
292 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
293 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
296 %defattr(644,root,root,755)
297 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
300 %defattr(644,root,root,755)
301 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
308 %defattr(644,root,root,755)
311 %attr(755,root,root) %{_libdir}/*.so
312 %attr(755,root,root) %{_bindir}/*
313 %{_includedir}/ClanLib
316 %defattr(644,root,root,755)