]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with sse2 # use SSE2 instructions | |
4 | # | |
5 | %ifarch pentium4 %{x8664} | |
6 | %define with_sse2 1 | |
7 | %endif | |
8 | # | |
9 | %define cvmajor 2.3 | |
10 | Summary: ClanLib, the platform independent game SDK | |
11 | Summary(pl.UTF-8): ClanLib, niezależny od platformy SDK do gier | |
12 | Summary(pt_BR.UTF-8): SDK Clanlib | |
13 | Name: ClanLib | |
14 | Version: 2.3.6 | |
15 | Release: 1 | |
16 | License: BSD-like (see COPYING) | |
17 | Group: Libraries | |
18 | #Source0Download: http://www.clanlib.org/download.html | |
19 | Source0: http://www.clanlib.org/download/releases-2.0/%{name}-%{version}.tgz | |
20 | # Source0-md5: aa037a8a6297fb0b2efd927b1b15e8de | |
21 | Patch0: %{name}-build.patch | |
22 | Patch1: %{name}-link.patch | |
23 | URL: http://www.clanlib.org/ | |
24 | BuildRequires: OpenGL-GLU-devel | |
25 | BuildRequires: alsa-lib-devel | |
26 | BuildRequires: autoconf >= 2.59-9 | |
27 | BuildRequires: automake >= 1.6 | |
28 | BuildRequires: doxygen | |
29 | BuildRequires: fontconfig-devel | |
30 | BuildRequires: freetype-devel >= 2 | |
31 | BuildRequires: libjpeg-devel | |
32 | BuildRequires: libmikmod-devel | |
33 | BuildRequires: libpng-devel >= 1.2 | |
34 | BuildRequires: libstdc++-devel | |
35 | BuildRequires: libtool >= 2:1.4d-3 | |
36 | BuildRequires: libvorbis-devel >= 1:1.0 | |
37 | BuildRequires: libxslt-progs | |
38 | BuildRequires: pcre-devel | |
39 | BuildRequires: perl-base | |
40 | BuildRequires: pkgconfig | |
41 | BuildRequires: sqlite3-devel | |
42 | BuildRequires: xorg-lib-libXi-devel | |
43 | BuildRequires: xorg-lib-libXxf86vm-devel | |
44 | BuildRequires: zlib-devel | |
45 | %{?with_sse2:Requires: cpuinfo(sse2)} | |
46 | Obsoletes: ClanLib-SDL | |
47 | Obsoletes: ClanLib-TTF | |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
49 | ||
50 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
51 | ||
52 | %description | |
53 | The ClanLib SDK is designed to provide an platform independent game | |
54 | SDK using a lot cleaner (and object oriented) interface than the | |
55 | traditional way it is done in DirectX, SDL and such. The goal is to | |
56 | avoid game developers constantly reinventing the wheel by providing | |
57 | smarter ways to eg. load surfaces. | |
58 | ||
59 | %description -l pl.UTF-8 | |
60 | ClanLib SDK jest projektowany jako niezależny od platformy SDK dla | |
61 | gier. Stosuje prosty (i zorientowany obiektowo) interfejs, | |
62 | przejrzystszy niż DirectX, SDL i inne. | |
63 | ||
64 | %description -l pt_BR.UTF-8 | |
65 | A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para | |
66 | facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer | |
67 | uma interface comum para os problemas clássicos dos jogos (carregar | |
68 | gráficos por exemplo). | |
69 | ||
70 | %package devel | |
71 | Summary: ClanLib development package | |
72 | Summary(pl.UTF-8): Pakiet programistyczny dla ClanLib | |
73 | Summary(pt_BR.UTF-8): Arquivos para desenvolvimento usando a Clanlib | |
74 | Group: Development/Libraries | |
75 | Requires: %{name} = %{version}-%{release} | |
76 | Requires: libstdc++-devel | |
77 | # for libclanDisplay | |
78 | Requires: xorg-lib-libXxf86vm-devel | |
79 | Obsoletes: ClanLib-SDL-devel | |
80 | Obsoletes: ClanLib-TTF-devel | |
81 | ||
82 | %description devel | |
83 | This is the development add-on package that includes the header files | |
84 | needed to compile new ClanLib applications. | |
85 | ||
86 | %description devel -l pl.UTF-8 | |
87 | Programistyczne dodatki do ClanLiba, zawierają pliki nagłówkowe | |
88 | potrzebne do kompilacji programów korzystających z ClanLib. | |
89 | ||
90 | %description devel -l pt_BR.UTF-8 | |
91 | Arquivos que possibilitam o desenvolvimento de aplicativos utilizando | |
92 | a biblioteca Clanlib. | |
93 | ||
94 | %package static | |
95 | Summary: ClanLib static libraries | |
96 | Summary(pl.UTF-8): Statyczne biblioteki ClanLib | |
97 | Group: Development/Libraries | |
98 | Requires: %{name}-devel = %{version}-%{release} | |
99 | Obsoletes: ClanLib-SDL-static | |
100 | Obsoletes: ClanLib-TTF-static | |
101 | ||
102 | %description static | |
103 | This package contains static versions of ClanLib libraries. | |
104 | ||
105 | %description static -l pl.UTF-8 | |
106 | Ten pakiet zawiera statyczne wersje bibliotek ClanLib. | |
107 | ||
108 | %package OpenGL | |
109 | Summary: OpenGL ClanLib library | |
110 | Summary(pl.UTF-8): Biblioteka OpenGL dla ClanLiba | |
111 | Group: Libraries | |
112 | Requires: %{name} = %{version}-%{release} | |
113 | ||
114 | %description OpenGL | |
115 | OpenGL ClanLib library. | |
116 | ||
117 | %description OpenGL -l pl.UTF-8 | |
118 | Biblioteka OpenGL dla ClanLiba. | |
119 | ||
120 | %package OpenGL-devel | |
121 | Summary: Header files for OpenGL ClanLib library | |
122 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenGL dla ClanLiba | |
123 | Group: Development/Libraries | |
124 | Requires: %{name}-OpenGL = %{version}-%{release} | |
125 | Requires: %{name}-devel = %{version}-%{release} | |
126 | Requires: OpenGL-GLU-devel | |
127 | Requires: xorg-lib-libXi-devel | |
128 | Requires: xorg-lib-libXxf86vm-devel | |
129 | ||
130 | %description OpenGL-devel | |
131 | Header files for OpenGL ClanLib library. | |
132 | ||
133 | %description OpenGL-devel -l pl.UTF-8 | |
134 | Pliki nagłówkowe biblioteki OpenGL dla ClanLiba. | |
135 | ||
136 | %package OpenGL-static | |
137 | Summary: Static OpenGL ClanLib library | |
138 | Summary(pl.UTF-8): Statyczna biblioteka OpenGL dla ClanLiba | |
139 | Group: Development/Libraries | |
140 | Requires: %{name}-OpenGL-devel = %{version}-%{release} | |
141 | ||
142 | %description OpenGL-static | |
143 | Static OpenGL ClanLib library. | |
144 | ||
145 | %description OpenGL-static -l pl.UTF-8 | |
146 | Statyczna biblioteka OpenGL dla ClanLiba. | |
147 | ||
148 | %package OpenGL1 | |
149 | Summary: OpenGL1 ClanLib library | |
150 | Summary(pl.UTF-8): Biblioteka OpenGL1 dla ClanLiba | |
151 | Group: Libraries | |
152 | Requires: %{name} = %{version}-%{release} | |
153 | ||
154 | %description OpenGL1 | |
155 | OpenGL1 ClanLib library. | |
156 | ||
157 | %description OpenGL1 -l pl.UTF-8 | |
158 | Biblioteka OpenGL1 dla ClanLiba. | |
159 | ||
160 | %package OpenGL1-devel | |
161 | Summary: Header files for OpenGL1 ClanLib library | |
162 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenGL1 dla ClanLiba | |
163 | Group: Development/Libraries | |
164 | Requires: %{name}-OpenGL1 = %{version}-%{release} | |
165 | Requires: %{name}-devel = %{version}-%{release} | |
166 | Requires: OpenGL-GLU-devel | |
167 | Requires: xorg-lib-libXi-devel | |
168 | Requires: xorg-lib-libXxf86vm-devel | |
169 | ||
170 | %description OpenGL1-devel | |
171 | Header files for OpenGL1 ClanLib library. | |
172 | ||
173 | %description OpenGL1-devel -l pl.UTF-8 | |
174 | Pliki nagłówkowe biblioteki OpenGL1 dla ClanLiba. | |
175 | ||
176 | %package OpenGL1-static | |
177 | Summary: Static OpenGL1 ClanLib library | |
178 | Summary(pl.UTF-8): Statyczna biblioteka OpenGL1 dla ClanLiba | |
179 | Group: Development/Libraries | |
180 | Requires: %{name}-OpenGL1-devel = %{version}-%{release} | |
181 | ||
182 | %description OpenGL1-static | |
183 | Static OpenGL1 ClanLib library. | |
184 | ||
185 | %description OpenGL1-static -l pl.UTF-8 | |
186 | Statyczna biblioteka OpenGL1 dla ClanLiba. | |
187 | ||
188 | %package MikMod | |
189 | Summary: MikMod ClanLib library | |
190 | Summary(pl.UTF-8): Biblioteka MikMod dla ClanLiba | |
191 | Group: Libraries | |
192 | Requires: %{name} = %{version}-%{release} | |
193 | ||
194 | %description MikMod | |
195 | MikMod ClanLib library. | |
196 | ||
197 | %description MikMod -l pl.UTF-8 | |
198 | Biblioteka MikMod dla ClanLiba. | |
199 | ||
200 | %package MikMod-devel | |
201 | Summary: Header files for MikMod ClanLib library | |
202 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MikMod dla ClanLiba | |
203 | Group: Development/Libraries | |
204 | Requires: %{name}-MikMod = %{version}-%{release} | |
205 | Requires: %{name}-devel = %{version}-%{release} | |
206 | Requires: libmikmod-devel | |
207 | ||
208 | %description MikMod-devel | |
209 | Header files for MikMod ClanLib library. | |
210 | ||
211 | %description MikMod-devel -l pl.UTF-8 | |
212 | Pliki nagłówkowe biblioteki MikMod dla ClanLiba. | |
213 | ||
214 | %package MikMod-static | |
215 | Summary: Static MikMod ClanLib library | |
216 | Summary(pl.UTF-8): Statyczna biblioteka MikMod dla ClanLiba | |
217 | Group: Development/Libraries | |
218 | Requires: %{name}-MikMod-devel = %{version}-%{release} | |
219 | ||
220 | %description MikMod-static | |
221 | Static MikMod ClanLib library. | |
222 | ||
223 | %description MikMod-static -l pl.UTF-8 | |
224 | Statyczna biblioteka MikMod dla ClanLiba. | |
225 | ||
226 | %package SWRender | |
227 | Summary: ClanLib SWRender (Software Rendering) library | |
228 | Summary(pl.UTF-8): Biblioteka ClanLib SWRender (Software Rendering) | |
229 | Group: Libraries | |
230 | Requires: %{name} = %{version}-%{release} | |
231 | ||
232 | %description SWRender | |
233 | ClanLib SWRender software rendering library, utilizing SSE2 | |
234 | instructions of x86 processors. | |
235 | %if %{without sse2} | |
236 | ||
237 | Note: this package is only stub; ClanLib needs to be recompiled with | |
238 | SSE2 instructions for it to work. | |
239 | %endif | |
240 | ||
241 | %description SWRender -l pl.UTF-8 | |
242 | Biblioteka programowego renderowania ClanLib SWRender, wykorzystująca | |
243 | instrukcje SSE2 procesorów x86. | |
244 | %if %{without sse2} | |
245 | ||
246 | Uwaga: ten pakiet zawiera tylko zaślepki; żeby działał, trzeba | |
247 | przekompilować ClanLiba z użyciem instrukcji SSE2. | |
248 | %endif | |
249 | ||
250 | %package SWRender-devel | |
251 | Summary: Header files for ClanLib SWRender library | |
252 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ClanLib SWRender | |
253 | Group: Development/Libraries | |
254 | Requires: %{name}-SWRender = %{version}-%{release} | |
255 | Requires: %{name}-devel = %{version}-%{release} | |
256 | ||
257 | %description SWRender-devel | |
258 | Header files for ClanLib SWRender software rendering library. | |
259 | ||
260 | %description SWRender-devel -l pl.UTF-8 | |
261 | Pliki nagłówkowe biblioteki programowego renderowania ClanLib | |
262 | SWRender. | |
263 | ||
264 | %package SWRender-static | |
265 | Summary: Static ClanLib SWRender library | |
266 | Summary(pl.UTF-8): Statyczna biblioteka ClanLib SWRender | |
267 | Group: Development/Libraries | |
268 | Requires: %{name}-SWRender-devel = %{version}-%{release} | |
269 | ||
270 | %description SWRender-static | |
271 | Static ClanLib SWRender library. | |
272 | ||
273 | %description SWRender-static -l pl.UTF-8 | |
274 | Statyczna biblioteka ClanLib SWRender. | |
275 | ||
276 | %package Vorbis | |
277 | Summary: Vorbis ClanLib library | |
278 | Summary(pl.UTF-8): Biblioteka Vorbis dla ClanLiba | |
279 | Group: Libraries | |
280 | Requires: %{name} = %{version}-%{release} | |
281 | ||
282 | %description Vorbis | |
283 | Vorbis ClanLib library. | |
284 | ||
285 | %description Vorbis -l pl.UTF-8 | |
286 | Biblioteka Vorbis dla ClanLiba. | |
287 | ||
288 | %package Vorbis-devel | |
289 | Summary: Header files for Vorbis ClanLib library | |
290 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Vorbis dla ClanLiba | |
291 | Group: Development/Libraries | |
292 | Requires: %{name}-Vorbis = %{version}-%{release} | |
293 | Requires: %{name}-devel = %{version}-%{release} | |
294 | Requires: libvorbis-devel | |
295 | ||
296 | %description Vorbis-devel | |
297 | Header files for Vorbis ClanLib library. | |
298 | ||
299 | %description Vorbis-devel -l pl.UTF-8 | |
300 | Pliki nagłówkowe biblioteki Vorbis dla ClanLiba. | |
301 | ||
302 | %package Vorbis-static | |
303 | Summary: Static Vorbis ClanLib library | |
304 | Summary(pl.UTF-8): Statyczna biblioteka Vorbis dla ClanLiba | |
305 | Group: Development/Libraries | |
306 | Requires: %{name}-Vorbis-devel = %{version}-%{release} | |
307 | ||
308 | %description Vorbis-static | |
309 | Static Vorbis ClanLib library. | |
310 | ||
311 | %description Vorbis-static -l pl.UTF-8 | |
312 | Statyczna biblioteka Vorbis dla ClanLiba. | |
313 | ||
314 | %package doc | |
315 | Summary: ClanLib reference documentation for programmers | |
316 | Summary(pl.UTF-8): Dokumentacja programisty do biblioteki ClanLib | |
317 | Group: Documentation | |
318 | ||
319 | %description doc | |
320 | ClanLib reference documentation for programmers. | |
321 | ||
322 | %description doc -l pl.UTF-8 | |
323 | Dokumentacja programisty do biblioteki ClanLib | |
324 | ||
325 | %prep | |
326 | %setup -q | |
327 | %patch0 -p1 | |
328 | %patch1 -p1 | |
329 | ||
330 | %{__rm} -r autom4te.cache | |
331 | ||
332 | %build | |
333 | %{__libtoolize} | |
334 | %{__aclocal} -I m4 | |
335 | %{__automake} | |
336 | %{__autoconf} | |
337 | %configure \ | |
338 | %{!?with_sse2:--disable-sse2} \ | |
339 | --enable-docs \ | |
340 | --%{?debug:en}%{!?debug:dis}able-debug | |
341 | ||
342 | export PKG_CONFIG_PATH=$(pwd)/Setup/pkgconfig | |
343 | %{__make} | |
344 | ||
345 | (cd Documentation/Utilities/ReferenceDocs; ln -s ../../../Sources/API ClanLib) | |
346 | %{__make} html \ | |
347 | PKG_CONFIG_PATH=$(pwd)/Setup/pkgconfig | |
348 | ||
349 | %install | |
350 | rm -rf $RPM_BUILD_ROOT | |
351 | ||
352 | %{__make} install install-html \ | |
353 | DESTDIR=$RPM_BUILD_ROOT | |
354 | ||
355 | # missing from make install | |
356 | install -d $RPM_BUILD_ROOT%{_aclocaldir} | |
357 | install Setup/Unix/clanlib.m4 $RPM_BUILD_ROOT%{_aclocaldir} | |
358 | ||
359 | %clean | |
360 | rm -rf $RPM_BUILD_ROOT | |
361 | ||
362 | %post -p /sbin/ldconfig | |
363 | %postun -p /sbin/ldconfig | |
364 | ||
365 | %post OpenGL -p /sbin/ldconfig | |
366 | %postun OpenGL -p /sbin/ldconfig | |
367 | ||
368 | %post OpenGL1 -p /sbin/ldconfig | |
369 | %postun OpenGL1 -p /sbin/ldconfig | |
370 | ||
371 | %post MikMod -p /sbin/ldconfig | |
372 | %postun MikMod -p /sbin/ldconfig | |
373 | ||
374 | %post SWRender -p /sbin/ldconfig | |
375 | %postun SWRender -p /sbin/ldconfig | |
376 | ||
377 | %post Vorbis -p /sbin/ldconfig | |
378 | %postun Vorbis -p /sbin/ldconfig | |
379 | ||
380 | %files | |
381 | %defattr(644,root,root,755) | |
382 | %doc COPYING CREDITS README | |
383 | %attr(755,root,root) %{_libdir}/libclan23App-%{cvmajor}.so.*.*.* | |
384 | %attr(755,root,root) %ghost %{_libdir}/libclan23App-%{cvmajor}.so.1 | |
385 | %attr(755,root,root) %{_libdir}/libclan23Core-%{cvmajor}.so.*.*.* | |
386 | %attr(755,root,root) %ghost %{_libdir}/libclan23CSSLayout-%{cvmajor}.so.1 | |
387 | %attr(755,root,root) %{_libdir}/libclan23CSSLayout-%{cvmajor}.so.*.*.* | |
388 | %attr(755,root,root) %ghost %{_libdir}/libclan23Core-%{cvmajor}.so.1 | |
389 | %attr(755,root,root) %{_libdir}/libclan23Database-%{cvmajor}.so.*.*.* | |
390 | %attr(755,root,root) %ghost %{_libdir}/libclan23Database-%{cvmajor}.so.1 | |
391 | %attr(755,root,root) %{_libdir}/libclan23Display-%{cvmajor}.so.*.*.* | |
392 | %attr(755,root,root) %ghost %{_libdir}/libclan23Display-%{cvmajor}.so.1 | |
393 | %attr(755,root,root) %{_libdir}/libclan23GUI-%{cvmajor}.so.*.*.* | |
394 | %attr(755,root,root) %ghost %{_libdir}/libclan23GUI-%{cvmajor}.so.1 | |
395 | %attr(755,root,root) %{_libdir}/libclan23Network-%{cvmajor}.so.*.*.* | |
396 | %attr(755,root,root) %ghost %{_libdir}/libclan23Network-%{cvmajor}.so.1 | |
397 | %attr(755,root,root) %{_libdir}/libclan23RegExp-%{cvmajor}.so.*.*.* | |
398 | %attr(755,root,root) %ghost %{_libdir}/libclan23RegExp-%{cvmajor}.so.1 | |
399 | %attr(755,root,root) %{_libdir}/libclan23Sound-%{cvmajor}.so.*.*.* | |
400 | %attr(755,root,root) %ghost %{_libdir}/libclan23Sound-%{cvmajor}.so.1 | |
401 | %attr(755,root,root) %{_libdir}/libclan23Sqlite-%{cvmajor}.so.*.*.* | |
402 | %attr(755,root,root) %ghost %{_libdir}/libclan23Sqlite-%{cvmajor}.so.1 | |
403 | ||
404 | %files devel | |
405 | %defattr(644,root,root,755) | |
406 | %attr(755,root,root) %{_libdir}/libclan23App.so | |
407 | %attr(755,root,root) %{_libdir}/libclan23CSSLayout.so | |
408 | %attr(755,root,root) %{_libdir}/libclan23Core.so | |
409 | %attr(755,root,root) %{_libdir}/libclan23Database.so | |
410 | %attr(755,root,root) %{_libdir}/libclan23Display.so | |
411 | %attr(755,root,root) %{_libdir}/libclan23GUI.so | |
412 | %attr(755,root,root) %{_libdir}/libclan23Network.so | |
413 | %attr(755,root,root) %{_libdir}/libclan23RegExp.so | |
414 | %attr(755,root,root) %{_libdir}/libclan23Sound.so | |
415 | %attr(755,root,root) %{_libdir}/libclan23Sqlite.so | |
416 | %{_libdir}/libclan23App.la | |
417 | %{_libdir}/libclan23CSSLayout.la | |
418 | %{_libdir}/libclan23Core.la | |
419 | %{_libdir}/libclan23Database.la | |
420 | %{_libdir}/libclan23Display.la | |
421 | %{_libdir}/libclan23GUI.la | |
422 | %{_libdir}/libclan23Network.la | |
423 | %{_libdir}/libclan23RegExp.la | |
424 | %{_libdir}/libclan23Sound.la | |
425 | %{_libdir}/libclan23Sqlite.la | |
426 | %dir %{_includedir}/ClanLib-%{cvmajor} | |
427 | %dir %{_includedir}/ClanLib-%{cvmajor}/ClanLib | |
428 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/App | |
429 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/application.h | |
430 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/CSSLayout | |
431 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/csslayout.h | |
432 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Core | |
433 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/core.h | |
434 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Database | |
435 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/database.h | |
436 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Display | |
437 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/display.h | |
438 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GUI* | |
439 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gui*.h | |
440 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Network | |
441 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/network.h | |
442 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/RegExp | |
443 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/regexp.h | |
444 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Sound | |
445 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/sound.h | |
446 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Sqlite | |
447 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/sqlite.h | |
448 | %{_aclocaldir}/clanlib.m4 | |
449 | %{_pkgconfigdir}/clanApp-%{cvmajor}.pc | |
450 | %{_pkgconfigdir}/clanCSSLayout-%{cvmajor}.pc | |
451 | %{_pkgconfigdir}/clanCore-%{cvmajor}.pc | |
452 | %{_pkgconfigdir}/clanDatabase-%{cvmajor}.pc | |
453 | %{_pkgconfigdir}/clanDisplay-%{cvmajor}.pc | |
454 | %{_pkgconfigdir}/clanGUI*-%{cvmajor}.pc | |
455 | %{_pkgconfigdir}/clanNetwork-%{cvmajor}.pc | |
456 | %{_pkgconfigdir}/clanRegExp-%{cvmajor}.pc | |
457 | %{_pkgconfigdir}/clanSound-%{cvmajor}.pc | |
458 | %{_pkgconfigdir}/clanSqlite-%{cvmajor}.pc | |
459 | ||
460 | %files static | |
461 | %defattr(644,root,root,755) | |
462 | %{_libdir}/libclan23App.a | |
463 | %{_libdir}/libclan23CSSLayout.a | |
464 | %{_libdir}/libclan23Core.a | |
465 | %{_libdir}/libclan23Database.a | |
466 | %{_libdir}/libclan23Display.a | |
467 | %{_libdir}/libclan23GUI.a | |
468 | %{_libdir}/libclan23Network.a | |
469 | %{_libdir}/libclan23RegExp.a | |
470 | %{_libdir}/libclan23Sound.a | |
471 | %{_libdir}/libclan23Sqlite.a | |
472 | ||
473 | %files OpenGL | |
474 | %defattr(644,root,root,755) | |
475 | %attr(755,root,root) %{_libdir}/libclan23GL-%{cvmajor}.so.*.*.* | |
476 | %attr(755,root,root) %ghost %{_libdir}/libclan23GL-%{cvmajor}.so.1 | |
477 | ||
478 | %files OpenGL-devel | |
479 | %defattr(644,root,root,755) | |
480 | %attr(755,root,root) %{_libdir}/libclan23GL.so | |
481 | %{_libdir}/libclan23GL.la | |
482 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GL | |
483 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gl.h | |
484 | %{_pkgconfigdir}/clanGL-%{cvmajor}.pc | |
485 | ||
486 | %files OpenGL-static | |
487 | %defattr(644,root,root,755) | |
488 | %{_libdir}/libclan23GL.a | |
489 | ||
490 | %files OpenGL1 | |
491 | %defattr(644,root,root,755) | |
492 | %attr(755,root,root) %{_libdir}/libclan23GL1-%{cvmajor}.so.*.*.* | |
493 | %attr(755,root,root) %ghost %{_libdir}/libclan23GL1-%{cvmajor}.so.1 | |
494 | ||
495 | %files OpenGL1-devel | |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_libdir}/libclan23GL1.so | |
498 | %{_libdir}/libclan23GL1.la | |
499 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GL1 | |
500 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gl1.h | |
501 | %{_pkgconfigdir}/clanGL1-%{cvmajor}.pc | |
502 | ||
503 | %files OpenGL1-static | |
504 | %defattr(644,root,root,755) | |
505 | %{_libdir}/libclan23GL1.a | |
506 | ||
507 | %files MikMod | |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/libclan23MikMod-%{cvmajor}.so.*.*.* | |
510 | %attr(755,root,root) %ghost %{_libdir}/libclan23MikMod-%{cvmajor}.so.1 | |
511 | ||
512 | %files MikMod-devel | |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{_libdir}/libclan23MikMod.so | |
515 | %{_libdir}/libclan23MikMod.la | |
516 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/MikMod | |
517 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/mikmod.h | |
518 | %{_pkgconfigdir}/clanMikMod-%{cvmajor}.pc | |
519 | ||
520 | %files MikMod-static | |
521 | %defattr(644,root,root,755) | |
522 | %{_libdir}/libclan23MikMod.a | |
523 | ||
524 | %files SWRender | |
525 | %defattr(644,root,root,755) | |
526 | %attr(755,root,root) %{_libdir}/libclan23SWRender-%{cvmajor}.so.*.*.* | |
527 | %attr(755,root,root) %ghost %{_libdir}/libclan23SWRender-%{cvmajor}.so.1 | |
528 | ||
529 | %files SWRender-devel | |
530 | %defattr(644,root,root,755) | |
531 | %attr(755,root,root) %{_libdir}/libclan23SWRender.so | |
532 | %{_libdir}/libclan23SWRender.la | |
533 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/SWRender | |
534 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/swrender.h | |
535 | %{_pkgconfigdir}/clanSWRender-%{cvmajor}.pc | |
536 | ||
537 | %files SWRender-static | |
538 | %defattr(644,root,root,755) | |
539 | %{_libdir}/libclan23SWRender.a | |
540 | ||
541 | %files Vorbis | |
542 | %defattr(644,root,root,755) | |
543 | %attr(755,root,root) %{_libdir}/libclan23Vorbis-%{cvmajor}.so.*.*.* | |
544 | %attr(755,root,root) %ghost %{_libdir}/libclan23Vorbis-%{cvmajor}.so.1 | |
545 | ||
546 | %files Vorbis-devel | |
547 | %defattr(644,root,root,755) | |
548 | %attr(755,root,root) %{_libdir}/libclan23Vorbis.so | |
549 | %{_libdir}/libclan23Vorbis.la | |
550 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Vorbis | |
551 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/vorbis.h | |
552 | %{_pkgconfigdir}/clanVorbis-%{cvmajor}.pc | |
553 | ||
554 | %files Vorbis-static | |
555 | %defattr(644,root,root,755) | |
556 | %{_libdir}/libclan23Vorbis.a | |
557 | ||
558 | %files doc | |
559 | %defattr(644,root,root,755) | |
560 | %{_docdir}/clanlib-%{cvmajor} |