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