]>
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 | # | |
3f7dc6a8 | 9 | %define cvmajor 2.3 |
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 |
18b87a38 | 14 | Version: 2.3.4 |
9dabe88b | 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 |
18b87a38 | 20 | # Source0-md5: cc89f632aa194399e909bbbd13beca1b |
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 |
fed5bcc0 | 30 | BuildRequires: freetype-devel >= 2 |
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 | |
fed5bcc0 | 44 | BuildRequires: zlib-devel |
8fc2b68e | 45 | %{?with_sse2:Requires: cpuinfo(sse2)} |
2ab468c3 | 46 | Obsoletes: ClanLib-SDL |
c3c01f93 | 47 | Obsoletes: ClanLib-TTF |
673045d6 | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1067b4ad | 49 | |
41e5f7de JK |
50 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
51 | ||
b1d1d0e6 | 52 | %description |
5ae44086 | 53 | The ClanLib SDK is designed to provide an platform independent game |
54 | SDK using a lot cleaner (and object oriented) interface than the | |
2c39f06a | 55 | traditional way it is done in DirectX, SDL and such. The goal is to |
5ae44086 | 56 | avoid game developers constantly reinventing the wheel by providing |
57 | smarter ways to eg. load surfaces. | |
1067b4ad | 58 | |
a8abfa11 JR |
59 | %description -l pl.UTF-8 |
60 | ClanLib SDK jest projektowany jako niezależny od platformy SDK dla | |
5ae44086 | 61 | gier. Stosuje prosty (i zorientowany obiektowo) interfejs, |
a8abfa11 | 62 | przejrzystszy niż DirectX, SDL i inne. |
1067b4ad | 63 | |
a8abfa11 JR |
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). | |
1e8e7d06 | 69 | |
1067b4ad | 70 | %package devel |
7e871d06 | 71 | Summary: ClanLib development package |
6a0ab6ae ER |
72 | Summary(pl.UTF-8): Pakiet programistyczny dla ClanLib |
73 | Summary(pt_BR.UTF-8): Arquivos para desenvolvimento usando a Clanlib | |
1067b4ad | 74 | Group: Development/Libraries |
0751de49 | 75 | Requires: %{name} = %{version}-%{release} |
c97662f1 JB |
76 | Requires: libstdc++-devel |
77 | # for libclanDisplay | |
78 | Requires: xorg-lib-libXxf86vm-devel | |
2ab468c3 | 79 | Obsoletes: ClanLib-SDL-devel |
c3c01f93 | 80 | Obsoletes: ClanLib-TTF-devel |
1067b4ad | 81 | |
82 | %description devel | |
5ae44086 | 83 | This is the development add-on package that includes the header files |
84 | needed to compile new ClanLib applications. | |
b1d1d0e6 | 85 | |
a8abfa11 JR |
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. | |
1067b4ad | 89 | |
a8abfa11 | 90 | %description devel -l pt_BR.UTF-8 |
1e8e7d06 | 91 | Arquivos que possibilitam o desenvolvimento de aplicativos utilizando |
92 | a biblioteca Clanlib. | |
93 | ||
ac9464bd JB |
94 | %package static |
95 | Summary: ClanLib static libraries | |
6a0ab6ae | 96 | Summary(pl.UTF-8): Statyczne biblioteki ClanLib |
a52a1ea1 | 97 | Group: Development/Libraries |
0751de49 | 98 | Requires: %{name}-devel = %{version}-%{release} |
2ab468c3 | 99 | Obsoletes: ClanLib-SDL-static |
c3c01f93 | 100 | Obsoletes: ClanLib-TTF-static |
a52a1ea1 | 101 | |
ac9464bd | 102 | %description static |
c97662f1 | 103 | This package contains static versions of ClanLib libraries. |
a52a1ea1 | 104 | |
a8abfa11 | 105 | %description static -l pl.UTF-8 |
c97662f1 JB |
106 | Ten pakiet zawiera statyczne wersje bibliotek ClanLib. |
107 | ||
a52a1ea1 | 108 | %package OpenGL |
ac9464bd | 109 | Summary: OpenGL ClanLib library |
6a0ab6ae | 110 | Summary(pl.UTF-8): Biblioteka OpenGL dla ClanLiba |
ac9464bd | 111 | Group: Libraries |
0751de49 | 112 | Requires: %{name} = %{version}-%{release} |
a52a1ea1 JK |
113 | |
114 | %description OpenGL | |
ac9464bd | 115 | OpenGL ClanLib library. |
a52a1ea1 | 116 | |
a8abfa11 | 117 | %description OpenGL -l pl.UTF-8 |
ac9464bd | 118 | Biblioteka OpenGL dla ClanLiba. |
a52a1ea1 | 119 | |
ac9464bd | 120 | %package OpenGL-devel |
c97662f1 | 121 | Summary: Header files for OpenGL ClanLib library |
6a0ab6ae | 122 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenGL dla ClanLiba |
77af53cc | 123 | Group: Development/Libraries |
0751de49 JB |
124 | Requires: %{name}-OpenGL = %{version}-%{release} |
125 | Requires: %{name}-devel = %{version}-%{release} | |
c97662f1 JB |
126 | Requires: OpenGL-GLU-devel |
127 | Requires: xorg-lib-libXi-devel | |
128 | Requires: xorg-lib-libXxf86vm-devel | |
77af53cc | 129 | |
ac9464bd | 130 | %description OpenGL-devel |
c97662f1 | 131 | Header files for OpenGL ClanLib library. |
77af53cc | 132 | |
a8abfa11 JR |
133 | %description OpenGL-devel -l pl.UTF-8 |
134 | Pliki nagłówkowe biblioteki OpenGL dla ClanLiba. | |
6cd153fe | 135 | |
ac9464bd JB |
136 | %package OpenGL-static |
137 | Summary: Static OpenGL ClanLib library | |
6a0ab6ae | 138 | Summary(pl.UTF-8): Statyczna biblioteka OpenGL dla ClanLiba |
a52a1ea1 | 139 | Group: Development/Libraries |
0751de49 | 140 | Requires: %{name}-OpenGL-devel = %{version}-%{release} |
ac9464bd JB |
141 | |
142 | %description OpenGL-static | |
143 | Static OpenGL ClanLib library. | |
144 | ||
a8abfa11 | 145 | %description OpenGL-static -l pl.UTF-8 |
ac9464bd JB |
146 | Statyczna biblioteka OpenGL dla ClanLiba. |
147 | ||
f739eecf | 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} | |
51bd2a4b | 166 | Requires: OpenGL-GLU-devel |
f739eecf | 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 | ||
ac9464bd JB |
188 | %package MikMod |
189 | Summary: MikMod ClanLib library | |
6a0ab6ae | 190 | Summary(pl.UTF-8): Biblioteka MikMod dla ClanLiba |
ac9464bd | 191 | Group: Libraries |
0751de49 | 192 | Requires: %{name} = %{version}-%{release} |
a52a1ea1 | 193 | |
87e96934 | 194 | %description MikMod |
ac9464bd | 195 | MikMod ClanLib library. |
a52a1ea1 | 196 | |
a8abfa11 | 197 | %description MikMod -l pl.UTF-8 |
ac9464bd | 198 | Biblioteka MikMod dla ClanLiba. |
a52a1ea1 | 199 | |
ac9464bd | 200 | %package MikMod-devel |
c97662f1 | 201 | Summary: Header files for MikMod ClanLib library |
6a0ab6ae | 202 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MikMod dla ClanLiba |
ac9464bd | 203 | Group: Development/Libraries |
0751de49 JB |
204 | Requires: %{name}-MikMod = %{version}-%{release} |
205 | Requires: %{name}-devel = %{version}-%{release} | |
ac9464bd JB |
206 | Requires: libmikmod-devel |
207 | ||
208 | %description MikMod-devel | |
c97662f1 | 209 | Header files for MikMod ClanLib library. |
ac9464bd | 210 | |
a8abfa11 JR |
211 | %description MikMod-devel -l pl.UTF-8 |
212 | Pliki nagłówkowe biblioteki MikMod dla ClanLiba. | |
ac9464bd JB |
213 | |
214 | %package MikMod-static | |
215 | Summary: Static MikMod ClanLib library | |
6a0ab6ae | 216 | Summary(pl.UTF-8): Statyczna biblioteka MikMod dla ClanLiba |
a52a1ea1 | 217 | Group: Development/Libraries |
0751de49 | 218 | Requires: %{name}-MikMod-devel = %{version}-%{release} |
ac9464bd JB |
219 | |
220 | %description MikMod-static | |
221 | Static MikMod ClanLib library. | |
222 | ||
a8abfa11 | 223 | %description MikMod-static -l pl.UTF-8 |
ac9464bd JB |
224 | Statyczna biblioteka MikMod dla ClanLiba. |
225 | ||
8fc2b68e JB |
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 | ||
236 | %description SWRender -l pl.UTF-8 | |
237 | Biblioteka programowego renderowania ClanLib SWRender, wykorzystująca | |
238 | instrukcje SSE2 procesorów x86. | |
239 | ||
240 | %package SWRender-devel | |
241 | Summary: Header files for ClanLib SWRender library | |
242 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ClanLib SWRender | |
243 | Group: Development/Libraries | |
244 | Requires: %{name}-SWRender = %{version}-%{release} | |
245 | Requires: %{name}-devel = %{version}-%{release} | |
246 | ||
247 | %description SWRender-devel | |
248 | Header files for ClanLib SWRender software rendering library. | |
249 | ||
5ed7b3f1 | 250 | %description SWRender-devel -l pl.UTF-8 |
8fc2b68e JB |
251 | Pliki nagłówkowe biblioteki programowego renderowania ClanLib |
252 | SWRender. | |
253 | ||
254 | %package SWRender-static | |
255 | Summary: Static ClanLib SWRender library | |
256 | Summary(pl.UTF-8): Statyczna biblioteka ClanLib SWRender | |
257 | Group: Development/Libraries | |
258 | Requires: %{name}-SWRender-devel = %{version}-%{release} | |
259 | ||
260 | %description SWRender-static | |
261 | Static ClanLib SWRender library. | |
262 | ||
263 | %description SWRender-static -l pl.UTF-8 | |
264 | Statyczna biblioteka ClanLib SWRender. | |
265 | ||
ac9464bd JB |
266 | %package Vorbis |
267 | Summary: Vorbis ClanLib library | |
6a0ab6ae | 268 | Summary(pl.UTF-8): Biblioteka Vorbis dla ClanLiba |
ac9464bd | 269 | Group: Libraries |
0751de49 | 270 | Requires: %{name} = %{version}-%{release} |
a52a1ea1 | 271 | |
87e96934 | 272 | %description Vorbis |
ac9464bd | 273 | Vorbis ClanLib library. |
a52a1ea1 | 274 | |
a8abfa11 | 275 | %description Vorbis -l pl.UTF-8 |
ac9464bd | 276 | Biblioteka Vorbis dla ClanLiba. |
a52a1ea1 | 277 | |
ac9464bd | 278 | %package Vorbis-devel |
c97662f1 | 279 | Summary: Header files for Vorbis ClanLib library |
6a0ab6ae | 280 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Vorbis dla ClanLiba |
ac9464bd | 281 | Group: Development/Libraries |
0751de49 JB |
282 | Requires: %{name}-Vorbis = %{version}-%{release} |
283 | Requires: %{name}-devel = %{version}-%{release} | |
c97662f1 | 284 | Requires: libvorbis-devel |
ac9464bd JB |
285 | |
286 | %description Vorbis-devel | |
c97662f1 | 287 | Header files for Vorbis ClanLib library. |
ac9464bd | 288 | |
a8abfa11 JR |
289 | %description Vorbis-devel -l pl.UTF-8 |
290 | Pliki nagłówkowe biblioteki Vorbis dla ClanLiba. | |
ac9464bd JB |
291 | |
292 | %package Vorbis-static | |
293 | Summary: Static Vorbis ClanLib library | |
6a0ab6ae | 294 | Summary(pl.UTF-8): Statyczna biblioteka Vorbis dla ClanLiba |
4d59e05a | 295 | Group: Development/Libraries |
0751de49 | 296 | Requires: %{name}-Vorbis-devel = %{version}-%{release} |
ac9464bd JB |
297 | |
298 | %description Vorbis-static | |
299 | Static Vorbis ClanLib library. | |
300 | ||
a8abfa11 | 301 | %description Vorbis-static -l pl.UTF-8 |
ac9464bd JB |
302 | Statyczna biblioteka Vorbis dla ClanLiba. |
303 | ||
8fc2b68e JB |
304 | %package doc |
305 | Summary: ClanLib reference documentation for programmers | |
306 | Summary(pl.UTF-8): Dokumentacja programisty do biblioteki ClanLib | |
307 | Group: Documentation | |
308 | ||
309 | %description doc | |
310 | ClanLib reference documentation for programmers. | |
311 | ||
312 | %description doc -l pl.UTF-8 | |
313 | Dokumentacja programisty do biblioteki ClanLib | |
314 | ||
b1d1d0e6 | 315 | %prep |
44a12e83 | 316 | %setup -q |
0be7b73b | 317 | %patch0 -p1 |
bafe2fcc | 318 | %patch1 -p1 |
c97662f1 | 319 | |
8fc2b68e | 320 | %{__rm} -r autom4te.cache |
fe61586f | 321 | |
b1d1d0e6 | 322 | %build |
c97662f1 | 323 | %{__libtoolize} |
1a645c7e | 324 | %{__aclocal} -I m4 |
c97662f1 | 325 | %{__automake} |
ff7be8a7 | 326 | %{__autoconf} |
fe61586f | 327 | %configure \ |
8fc2b68e | 328 | %{!?with_sse2:--disable-sse2} \ |
60314674 | 329 | --enable-docs \ |
60314674 | 330 | --%{?debug:en}%{!?debug:dis}able-debug |
87e96934 | 331 | |
2134159c | 332 | export PKG_CONFIG_PATH=$(pwd)/Setup/pkgconfig |
eefe40c2 | 333 | %{__make} |
1067b4ad | 334 | |
60314674 | 335 | (cd Documentation/Utilities/ReferenceDocs; ln -s ../../../Sources/API ClanLib) |
eefe40c2 | 336 | %{__make} html \ |
51bd2a4b | 337 | PKG_CONFIG_PATH=$(pwd)/Setup/pkgconfig |
60314674 | 338 | |
b1d1d0e6 | 339 | %install |
7e871d06 | 340 | rm -rf $RPM_BUILD_ROOT |
c97662f1 | 341 | |
60314674 | 342 | %{__make} install install-html \ |
c97662f1 | 343 | DESTDIR=$RPM_BUILD_ROOT |
1067b4ad | 344 | |
c97662f1 JB |
345 | # missing from make install |
346 | install -d $RPM_BUILD_ROOT%{_aclocaldir} | |
347 | install Setup/Unix/clanlib.m4 $RPM_BUILD_ROOT%{_aclocaldir} | |
a52a1ea1 | 348 | |
4c1b0a7f JB |
349 | %clean |
350 | rm -rf $RPM_BUILD_ROOT | |
351 | ||
b1e51b8c | 352 | %post -p /sbin/ldconfig |
353 | %postun -p /sbin/ldconfig | |
7e871d06 | 354 | |
b1e51b8c | 355 | %post OpenGL -p /sbin/ldconfig |
356 | %postun OpenGL -p /sbin/ldconfig | |
a52a1ea1 | 357 | |
f739eecf | 358 | %post OpenGL1 -p /sbin/ldconfig |
359 | %postun OpenGL1 -p /sbin/ldconfig | |
360 | ||
b1e51b8c | 361 | %post MikMod -p /sbin/ldconfig |
362 | %postun MikMod -p /sbin/ldconfig | |
a52a1ea1 | 363 | |
8fc2b68e JB |
364 | %post SWRender -p /sbin/ldconfig |
365 | %postun SWRender -p /sbin/ldconfig | |
366 | ||
b1e51b8c | 367 | %post Vorbis -p /sbin/ldconfig |
368 | %postun Vorbis -p /sbin/ldconfig | |
a52a1ea1 | 369 | |
b1d1d0e6 | 370 | %files |
1067b4ad | 371 | %defattr(644,root,root,755) |
60314674 | 372 | %doc COPYING CREDITS README |
2ad8090d | 373 | %attr(755,root,root) %{_libdir}/libclan23App-%{cvmajor}.so.*.*.* |
374 | %attr(755,root,root) %ghost %{_libdir}/libclan23App-%{cvmajor}.so.1 | |
375 | %attr(755,root,root) %{_libdir}/libclan23Core-%{cvmajor}.so.*.*.* | |
376 | %attr(755,root,root) %ghost %{_libdir}/libclan23CSSLayout-%{cvmajor}.so.1 | |
377 | %attr(755,root,root) %{_libdir}/libclan23CSSLayout-%{cvmajor}.so.*.*.* | |
378 | %attr(755,root,root) %ghost %{_libdir}/libclan23Core-%{cvmajor}.so.1 | |
379 | %attr(755,root,root) %{_libdir}/libclan23Database-%{cvmajor}.so.*.*.* | |
380 | %attr(755,root,root) %ghost %{_libdir}/libclan23Database-%{cvmajor}.so.1 | |
381 | %attr(755,root,root) %{_libdir}/libclan23Display-%{cvmajor}.so.*.*.* | |
382 | %attr(755,root,root) %ghost %{_libdir}/libclan23Display-%{cvmajor}.so.1 | |
383 | %attr(755,root,root) %{_libdir}/libclan23GUI-%{cvmajor}.so.*.*.* | |
384 | %attr(755,root,root) %ghost %{_libdir}/libclan23GUI-%{cvmajor}.so.1 | |
385 | %attr(755,root,root) %{_libdir}/libclan23Network-%{cvmajor}.so.*.*.* | |
386 | %attr(755,root,root) %ghost %{_libdir}/libclan23Network-%{cvmajor}.so.1 | |
387 | %attr(755,root,root) %{_libdir}/libclan23RegExp-%{cvmajor}.so.*.*.* | |
388 | %attr(755,root,root) %ghost %{_libdir}/libclan23RegExp-%{cvmajor}.so.1 | |
389 | %attr(755,root,root) %{_libdir}/libclan23Sound-%{cvmajor}.so.*.*.* | |
390 | %attr(755,root,root) %ghost %{_libdir}/libclan23Sound-%{cvmajor}.so.1 | |
391 | %attr(755,root,root) %{_libdir}/libclan23Sqlite-%{cvmajor}.so.*.*.* | |
392 | %attr(755,root,root) %ghost %{_libdir}/libclan23Sqlite-%{cvmajor}.so.1 | |
77af53cc | 393 | |
ac9464bd JB |
394 | %files devel |
395 | %defattr(644,root,root,755) | |
2ad8090d | 396 | %attr(755,root,root) %{_libdir}/libclan23App.so |
397 | %attr(755,root,root) %{_libdir}/libclan23CSSLayout.so | |
398 | %attr(755,root,root) %{_libdir}/libclan23Core.so | |
399 | %attr(755,root,root) %{_libdir}/libclan23Database.so | |
400 | %attr(755,root,root) %{_libdir}/libclan23Display.so | |
401 | %attr(755,root,root) %{_libdir}/libclan23GUI.so | |
402 | %attr(755,root,root) %{_libdir}/libclan23Network.so | |
403 | %attr(755,root,root) %{_libdir}/libclan23RegExp.so | |
404 | %attr(755,root,root) %{_libdir}/libclan23Sound.so | |
405 | %attr(755,root,root) %{_libdir}/libclan23Sqlite.so | |
406 | %{_libdir}/libclan23App.la | |
407 | %{_libdir}/libclan23CSSLayout.la | |
408 | %{_libdir}/libclan23Core.la | |
409 | %{_libdir}/libclan23Database.la | |
410 | %{_libdir}/libclan23Display.la | |
411 | %{_libdir}/libclan23GUI.la | |
412 | %{_libdir}/libclan23Network.la | |
413 | %{_libdir}/libclan23RegExp.la | |
414 | %{_libdir}/libclan23Sound.la | |
415 | %{_libdir}/libclan23Sqlite.la | |
60314674 AM |
416 | %dir %{_includedir}/ClanLib-%{cvmajor} |
417 | %dir %{_includedir}/ClanLib-%{cvmajor}/ClanLib | |
418 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/App | |
419 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/application.h | |
408b46e3 | 420 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/CSSLayout |
421 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/csslayout.h | |
60314674 AM |
422 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Core |
423 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/core.h | |
424 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Database | |
425 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/database.h | |
426 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Display | |
427 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/display.h | |
60314674 AM |
428 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GUI* |
429 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gui*.h | |
430 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Network | |
431 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/network.h | |
432 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/RegExp | |
433 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/regexp.h | |
434 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Sound | |
435 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/sound.h | |
436 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Sqlite | |
437 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/sqlite.h | |
8fc2b68e | 438 | %{_aclocaldir}/clanlib.m4 |
60314674 | 439 | %{_pkgconfigdir}/clanApp-%{cvmajor}.pc |
408b46e3 | 440 | %{_pkgconfigdir}/clanCSSLayout-%{cvmajor}.pc |
60314674 AM |
441 | %{_pkgconfigdir}/clanCore-%{cvmajor}.pc |
442 | %{_pkgconfigdir}/clanDatabase-%{cvmajor}.pc | |
443 | %{_pkgconfigdir}/clanDisplay-%{cvmajor}.pc | |
60314674 AM |
444 | %{_pkgconfigdir}/clanGUI*-%{cvmajor}.pc |
445 | %{_pkgconfigdir}/clanNetwork-%{cvmajor}.pc | |
446 | %{_pkgconfigdir}/clanRegExp-%{cvmajor}.pc | |
447 | %{_pkgconfigdir}/clanSound-%{cvmajor}.pc | |
448 | %{_pkgconfigdir}/clanSqlite-%{cvmajor}.pc | |
c97662f1 | 449 | |
ac9464bd JB |
450 | %files static |
451 | %defattr(644,root,root,755) | |
2ad8090d | 452 | %{_libdir}/libclan23App.a |
453 | %{_libdir}/libclan23CSSLayout.a | |
454 | %{_libdir}/libclan23Core.a | |
455 | %{_libdir}/libclan23Database.a | |
456 | %{_libdir}/libclan23Display.a | |
457 | %{_libdir}/libclan23GUI.a | |
458 | %{_libdir}/libclan23Network.a | |
459 | %{_libdir}/libclan23RegExp.a | |
460 | %{_libdir}/libclan23Sound.a | |
461 | %{_libdir}/libclan23Sqlite.a | |
ac9464bd | 462 | |
f59dc6ea PG |
463 | %files OpenGL |
464 | %defattr(644,root,root,755) | |
2ad8090d | 465 | %attr(755,root,root) %{_libdir}/libclan23GL-%{cvmajor}.so.*.*.* |
466 | %attr(755,root,root) %ghost %{_libdir}/libclan23GL-%{cvmajor}.so.1 | |
a52a1ea1 | 467 | |
ac9464bd JB |
468 | %files OpenGL-devel |
469 | %defattr(644,root,root,755) | |
2ad8090d | 470 | %attr(755,root,root) %{_libdir}/libclan23GL.so |
471 | %{_libdir}/libclan23GL.la | |
60314674 AM |
472 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GL |
473 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gl.h | |
474 | %{_pkgconfigdir}/clanGL-%{cvmajor}.pc | |
ac9464bd JB |
475 | |
476 | %files OpenGL-static | |
477 | %defattr(644,root,root,755) | |
2ad8090d | 478 | %{_libdir}/libclan23GL.a |
ac9464bd | 479 | |
f739eecf | 480 | %files OpenGL1 |
481 | %defattr(644,root,root,755) | |
2ad8090d | 482 | %attr(755,root,root) %{_libdir}/libclan23GL1-%{cvmajor}.so.*.*.* |
483 | %attr(755,root,root) %ghost %{_libdir}/libclan23GL1-%{cvmajor}.so.1 | |
f739eecf | 484 | |
485 | %files OpenGL1-devel | |
486 | %defattr(644,root,root,755) | |
2ad8090d | 487 | %attr(755,root,root) %{_libdir}/libclan23GL1.so |
488 | %{_libdir}/libclan23GL1.la | |
f739eecf | 489 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GL1 |
490 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gl1.h | |
491 | %{_pkgconfigdir}/clanGL1-%{cvmajor}.pc | |
492 | ||
493 | %files OpenGL1-static | |
494 | %defattr(644,root,root,755) | |
2ad8090d | 495 | %{_libdir}/libclan23GL1.a |
f739eecf | 496 | |
87e96934 | 497 | %files MikMod |
a52a1ea1 | 498 | %defattr(644,root,root,755) |
2ad8090d | 499 | %attr(755,root,root) %{_libdir}/libclan23MikMod-%{cvmajor}.so.*.*.* |
500 | %attr(755,root,root) %ghost %{_libdir}/libclan23MikMod-%{cvmajor}.so.1 | |
a52a1ea1 | 501 | |
ac9464bd JB |
502 | %files MikMod-devel |
503 | %defattr(644,root,root,755) | |
2ad8090d | 504 | %attr(755,root,root) %{_libdir}/libclan23MikMod.so |
505 | %{_libdir}/libclan23MikMod.la | |
60314674 AM |
506 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/MikMod |
507 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/mikmod.h | |
508 | %{_pkgconfigdir}/clanMikMod-%{cvmajor}.pc | |
ac9464bd JB |
509 | |
510 | %files MikMod-static | |
511 | %defattr(644,root,root,755) | |
2ad8090d | 512 | %{_libdir}/libclan23MikMod.a |
ac9464bd | 513 | |
8fc2b68e JB |
514 | %if %{with sse2} |
515 | %files SWRender | |
516 | %defattr(644,root,root,755) | |
2ad8090d | 517 | %attr(755,root,root) %{_libdir}/libclan23SWRender-%{cvmajor}.so.*.*.* |
518 | %attr(755,root,root) %ghost %{_libdir}/libclan23SWRender-%{cvmajor}.so.1 | |
8fc2b68e JB |
519 | |
520 | %files SWRender-devel | |
521 | %defattr(644,root,root,755) | |
2ad8090d | 522 | %attr(755,root,root) %{_libdir}/libclan23SWRender.so |
523 | %{_libdir}/libclan23SWRender.la | |
8fc2b68e JB |
524 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/SWRender |
525 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/swrender.h | |
526 | %{_pkgconfigdir}/clanSWRender-%{cvmajor}.pc | |
527 | ||
528 | %files SWRender-static | |
529 | %defattr(644,root,root,755) | |
2ad8090d | 530 | %{_libdir}/libclan23SWRender.a |
8fc2b68e JB |
531 | %endif |
532 | ||
c97662f1 | 533 | %files Vorbis |
4d59e05a | 534 | %defattr(644,root,root,755) |
2ad8090d | 535 | %attr(755,root,root) %{_libdir}/libclan23Vorbis-%{cvmajor}.so.*.*.* |
536 | %attr(755,root,root) %ghost %{_libdir}/libclan23Vorbis-%{cvmajor}.so.1 | |
1067b4ad | 537 | |
c97662f1 | 538 | %files Vorbis-devel |
1067b4ad | 539 | %defattr(644,root,root,755) |
2ad8090d | 540 | %attr(755,root,root) %{_libdir}/libclan23Vorbis.so |
541 | %{_libdir}/libclan23Vorbis.la | |
60314674 AM |
542 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Vorbis |
543 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/vorbis.h | |
544 | %{_pkgconfigdir}/clanVorbis-%{cvmajor}.pc | |
1067b4ad | 545 | |
c97662f1 | 546 | %files Vorbis-static |
87e96934 | 547 | %defattr(644,root,root,755) |
2ad8090d | 548 | %{_libdir}/libclan23Vorbis.a |
8fc2b68e JB |
549 | |
550 | %files doc | |
551 | %defattr(644,root,root,755) | |
552 | %{_docdir}/clanlib-%{cvmajor} |