]>
Commit | Line | Data |
---|---|---|
9d8ab6de | 1 | # |
2 | # TODO: plenty of undefined references | |
3 | # | |
8fc2b68e JB |
4 | # Conditional build: |
5 | %bcond_with sse2 # use SSE2 instructions | |
6 | # | |
7 | %ifarch pentium4 %{x8664} | |
8 | %define with_sse2 1 | |
9 | %endif | |
10 | # | |
df1e33d7 | 11 | %define cvmajor 2.2 |
d97d46f0 | 12 | Summary: ClanLib, the platform independent game SDK |
6a0ab6ae ER |
13 | Summary(pl.UTF-8): ClanLib, niezależny od platformy SDK do gier |
14 | Summary(pt_BR.UTF-8): SDK Clanlib | |
1067b4ad | 15 | Name: ClanLib |
0208d2e4 | 16 | Version: 2.2.7 |
9d8ab6de | 17 | Release: 0.1 |
c97662f1 | 18 | License: BSD-like (see COPYING) |
1067b4ad | 19 | Group: Libraries |
0751de49 | 20 | #Source0Download: http://www.clanlib.org/download.html |
60314674 | 21 | Source0: http://www.clanlib.org/download/releases-2.0/%{name}-%{version}.tgz |
0208d2e4 | 22 | # Source0-md5: a6207ce394e60151c61aa5ad99de336d |
60314674 | 23 | Patch0: %{name}-build.patch |
87e96934 | 24 | URL: http://www.clanlib.org/ |
c97662f1 | 25 | BuildRequires: OpenGL-GLU-devel |
6aae2a38 | 26 | BuildRequires: alsa-lib-devel |
c97662f1 JB |
27 | BuildRequires: autoconf >= 2.59-9 |
28 | BuildRequires: automake >= 1.6 | |
69caba68 | 29 | BuildRequires: doxygen |
ac4ecc84 | 30 | BuildRequires: fontconfig-devel |
31 | BuildRequires: freetype-devel | |
4c1b0a7f | 32 | BuildRequires: libjpeg-devel |
a52a1ea1 | 33 | BuildRequires: libmikmod-devel |
8fc2b68e | 34 | BuildRequires: libpng-devel >= 1.2 |
d97d46f0 | 35 | BuildRequires: libstdc++-devel |
c97662f1 | 36 | BuildRequires: libtool >= 2:1.4d-3 |
b05e5c04 | 37 | BuildRequires: libvorbis-devel >= 1:1.0 |
c97662f1 | 38 | BuildRequires: libxslt-progs |
ac4ecc84 | 39 | BuildRequires: pcre-devel |
c97662f1 JB |
40 | BuildRequires: perl-base |
41 | BuildRequires: pkgconfig | |
60314674 | 42 | BuildRequires: sqlite3-devel |
c97662f1 JB |
43 | BuildRequires: xorg-lib-libXi-devel |
44 | BuildRequires: xorg-lib-libXxf86vm-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 | ||
250 | %description SWRender-devel -l pl.UTF_8 | |
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 |
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 |
4d59e05a | 332 | %{__make} |
1067b4ad | 333 | |
60314674 | 334 | (cd Documentation/Utilities/ReferenceDocs; ln -s ../../../Sources/API ClanLib) |
51bd2a4b | 335 | %{__make} html \ |
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} |