]>
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 | # | |
84546723 | 9 | %define cvmajor 3.0 |
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 |
a1b6c81e JR |
14 | Version: 3.0.0 |
15 | Release: 1 | |
c97662f1 | 16 | License: BSD-like (see COPYING) |
1067b4ad | 17 | Group: Libraries |
0751de49 | 18 | #Source0Download: http://www.clanlib.org/download.html |
a1b6c81e JR |
19 | Source0: http://www.clanlib.org/download/releases-3.0/%{name}-%{version}.tgz |
20 | # Source0-md5: ebde34b9452a3b1d26cf81563f6ea62f | |
60314674 | 21 | Patch0: %{name}-build.patch |
bafe2fcc | 22 | Patch1: %{name}-link.patch |
345f9290 | 23 | Patch2: really-disable-sse2.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 |
fed5bcc0 | 31 | BuildRequires: freetype-devel >= 2 |
4c1b0a7f | 32 | BuildRequires: libjpeg-devel |
8fc2b68e | 33 | BuildRequires: libpng-devel >= 1.2 |
d97d46f0 | 34 | BuildRequires: libstdc++-devel |
c97662f1 | 35 | BuildRequires: libtool >= 2:1.4d-3 |
c97662f1 | 36 | BuildRequires: libxslt-progs |
ac4ecc84 | 37 | BuildRequires: pcre-devel |
c97662f1 JB |
38 | BuildRequires: perl-base |
39 | BuildRequires: pkgconfig | |
60314674 | 40 | BuildRequires: sqlite3-devel |
c97662f1 JB |
41 | BuildRequires: xorg-lib-libXi-devel |
42 | BuildRequires: xorg-lib-libXxf86vm-devel | |
fed5bcc0 | 43 | BuildRequires: zlib-devel |
8fc2b68e | 44 | %{?with_sse2:Requires: cpuinfo(sse2)} |
2ab468c3 | 45 | Obsoletes: ClanLib-SDL |
84546723 JR |
46 | Obsoletes: ClanLib-Vorbis |
47 | Obsoletes: ClanLib-MikMod | |
c3c01f93 | 48 | Obsoletes: ClanLib-TTF |
84546723 | 49 | Obsoletes: ClanLib-OpenGL1 |
673045d6 | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1067b4ad | 51 | |
84546723 | 52 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
41e5f7de | 53 | |
b1d1d0e6 | 54 | %description |
5ae44086 | 55 | The ClanLib SDK is designed to provide an platform independent game |
56 | SDK using a lot cleaner (and object oriented) interface than the | |
2c39f06a | 57 | traditional way it is done in DirectX, SDL and such. The goal is to |
5ae44086 | 58 | avoid game developers constantly reinventing the wheel by providing |
59 | smarter ways to eg. load surfaces. | |
1067b4ad | 60 | |
a8abfa11 JR |
61 | %description -l pl.UTF-8 |
62 | ClanLib SDK jest projektowany jako niezależny od platformy SDK dla | |
5ae44086 | 63 | gier. Stosuje prosty (i zorientowany obiektowo) interfejs, |
a8abfa11 | 64 | przejrzystszy niż DirectX, SDL i inne. |
1067b4ad | 65 | |
a8abfa11 JR |
66 | %description -l pt_BR.UTF-8 |
67 | A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para | |
68 | facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer | |
69 | uma interface comum para os problemas clássicos dos jogos (carregar | |
70 | gráficos por exemplo). | |
1e8e7d06 | 71 | |
1067b4ad | 72 | %package devel |
7e871d06 | 73 | Summary: ClanLib development package |
6a0ab6ae ER |
74 | Summary(pl.UTF-8): Pakiet programistyczny dla ClanLib |
75 | Summary(pt_BR.UTF-8): Arquivos para desenvolvimento usando a Clanlib | |
1067b4ad | 76 | Group: Development/Libraries |
0751de49 | 77 | Requires: %{name} = %{version}-%{release} |
c97662f1 JB |
78 | Requires: libstdc++-devel |
79 | # for libclanDisplay | |
80 | Requires: xorg-lib-libXxf86vm-devel | |
2ab468c3 | 81 | Obsoletes: ClanLib-SDL-devel |
84546723 | 82 | Obsoletes: ClanLib-Vorbis-devel |
c3c01f93 | 83 | Obsoletes: ClanLib-TTF-devel |
84546723 JR |
84 | Obsoletes: ClanLib-MikMod-devel |
85 | Obsoletes: ClanLib-OpenGL1-devel | |
1067b4ad | 86 | |
87 | %description devel | |
5ae44086 | 88 | This is the development add-on package that includes the header files |
89 | needed to compile new ClanLib applications. | |
b1d1d0e6 | 90 | |
a8abfa11 JR |
91 | %description devel -l pl.UTF-8 |
92 | Programistyczne dodatki do ClanLiba, zawierają pliki nagłówkowe | |
93 | potrzebne do kompilacji programów korzystających z ClanLib. | |
1067b4ad | 94 | |
a8abfa11 | 95 | %description devel -l pt_BR.UTF-8 |
1e8e7d06 | 96 | Arquivos que possibilitam o desenvolvimento de aplicativos utilizando |
97 | a biblioteca Clanlib. | |
98 | ||
ac9464bd JB |
99 | %package static |
100 | Summary: ClanLib static libraries | |
6a0ab6ae | 101 | Summary(pl.UTF-8): Statyczne biblioteki ClanLib |
a52a1ea1 | 102 | Group: Development/Libraries |
0751de49 | 103 | Requires: %{name}-devel = %{version}-%{release} |
2ab468c3 | 104 | Obsoletes: ClanLib-SDL-static |
84546723 | 105 | Obsoletes: ClanLib-Vorbis-static |
c3c01f93 | 106 | Obsoletes: ClanLib-TTF-static |
84546723 JR |
107 | Obsoletes: ClanLib-MikMod-static |
108 | Obsoletes: ClanLib-OpenGL1-static | |
a52a1ea1 | 109 | |
ac9464bd | 110 | %description static |
c97662f1 | 111 | This package contains static versions of ClanLib libraries. |
a52a1ea1 | 112 | |
a8abfa11 | 113 | %description static -l pl.UTF-8 |
c97662f1 JB |
114 | Ten pakiet zawiera statyczne wersje bibliotek ClanLib. |
115 | ||
a52a1ea1 | 116 | %package OpenGL |
ac9464bd | 117 | Summary: OpenGL ClanLib library |
6a0ab6ae | 118 | Summary(pl.UTF-8): Biblioteka OpenGL dla ClanLiba |
ac9464bd | 119 | Group: Libraries |
0751de49 | 120 | Requires: %{name} = %{version}-%{release} |
a52a1ea1 JK |
121 | |
122 | %description OpenGL | |
ac9464bd | 123 | OpenGL ClanLib library. |
a52a1ea1 | 124 | |
a8abfa11 | 125 | %description OpenGL -l pl.UTF-8 |
ac9464bd | 126 | Biblioteka OpenGL dla ClanLiba. |
a52a1ea1 | 127 | |
ac9464bd | 128 | %package OpenGL-devel |
c97662f1 | 129 | Summary: Header files for OpenGL ClanLib library |
6a0ab6ae | 130 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenGL dla ClanLiba |
77af53cc | 131 | Group: Development/Libraries |
0751de49 JB |
132 | Requires: %{name}-OpenGL = %{version}-%{release} |
133 | Requires: %{name}-devel = %{version}-%{release} | |
c97662f1 JB |
134 | Requires: OpenGL-GLU-devel |
135 | Requires: xorg-lib-libXi-devel | |
136 | Requires: xorg-lib-libXxf86vm-devel | |
77af53cc | 137 | |
ac9464bd | 138 | %description OpenGL-devel |
c97662f1 | 139 | Header files for OpenGL ClanLib library. |
77af53cc | 140 | |
a8abfa11 JR |
141 | %description OpenGL-devel -l pl.UTF-8 |
142 | Pliki nagłówkowe biblioteki OpenGL dla ClanLiba. | |
6cd153fe | 143 | |
ac9464bd JB |
144 | %package OpenGL-static |
145 | Summary: Static OpenGL ClanLib library | |
6a0ab6ae | 146 | Summary(pl.UTF-8): Statyczna biblioteka OpenGL dla ClanLiba |
a52a1ea1 | 147 | Group: Development/Libraries |
0751de49 | 148 | Requires: %{name}-OpenGL-devel = %{version}-%{release} |
ac9464bd JB |
149 | |
150 | %description OpenGL-static | |
151 | Static OpenGL ClanLib library. | |
152 | ||
a8abfa11 | 153 | %description OpenGL-static -l pl.UTF-8 |
ac9464bd JB |
154 | Statyczna biblioteka OpenGL dla ClanLiba. |
155 | ||
8fc2b68e JB |
156 | %package SWRender |
157 | Summary: ClanLib SWRender (Software Rendering) library | |
158 | Summary(pl.UTF-8): Biblioteka ClanLib SWRender (Software Rendering) | |
159 | Group: Libraries | |
160 | Requires: %{name} = %{version}-%{release} | |
161 | ||
162 | %description SWRender | |
163 | ClanLib SWRender software rendering library, utilizing SSE2 | |
164 | instructions of x86 processors. | |
ee0ffcb9 JB |
165 | %if %{without sse2} |
166 | ||
167 | Note: this package is only stub; ClanLib needs to be recompiled with | |
168 | SSE2 instructions for it to work. | |
169 | %endif | |
8fc2b68e JB |
170 | |
171 | %description SWRender -l pl.UTF-8 | |
172 | Biblioteka programowego renderowania ClanLib SWRender, wykorzystująca | |
173 | instrukcje SSE2 procesorów x86. | |
ee0ffcb9 JB |
174 | %if %{without sse2} |
175 | ||
176 | Uwaga: ten pakiet zawiera tylko zaślepki; żeby działał, trzeba | |
177 | przekompilować ClanLiba z użyciem instrukcji SSE2. | |
178 | %endif | |
8fc2b68e JB |
179 | |
180 | %package SWRender-devel | |
181 | Summary: Header files for ClanLib SWRender library | |
182 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ClanLib SWRender | |
183 | Group: Development/Libraries | |
184 | Requires: %{name}-SWRender = %{version}-%{release} | |
185 | Requires: %{name}-devel = %{version}-%{release} | |
186 | ||
187 | %description SWRender-devel | |
188 | Header files for ClanLib SWRender software rendering library. | |
189 | ||
5ed7b3f1 | 190 | %description SWRender-devel -l pl.UTF-8 |
8fc2b68e JB |
191 | Pliki nagłówkowe biblioteki programowego renderowania ClanLib |
192 | SWRender. | |
193 | ||
194 | %package SWRender-static | |
195 | Summary: Static ClanLib SWRender library | |
196 | Summary(pl.UTF-8): Statyczna biblioteka ClanLib SWRender | |
197 | Group: Development/Libraries | |
198 | Requires: %{name}-SWRender-devel = %{version}-%{release} | |
199 | ||
200 | %description SWRender-static | |
201 | Static ClanLib SWRender library. | |
202 | ||
203 | %description SWRender-static -l pl.UTF-8 | |
204 | Statyczna biblioteka ClanLib SWRender. | |
205 | ||
8fc2b68e JB |
206 | %package doc |
207 | Summary: ClanLib reference documentation for programmers | |
208 | Summary(pl.UTF-8): Dokumentacja programisty do biblioteki ClanLib | |
209 | Group: Documentation | |
210 | ||
211 | %description doc | |
212 | ClanLib reference documentation for programmers. | |
213 | ||
214 | %description doc -l pl.UTF-8 | |
215 | Dokumentacja programisty do biblioteki ClanLib | |
216 | ||
b1d1d0e6 | 217 | %prep |
44a12e83 | 218 | %setup -q |
0be7b73b | 219 | %patch0 -p1 |
bafe2fcc | 220 | %patch1 -p1 |
345f9290 | 221 | %patch2 -p1 |
c97662f1 | 222 | |
8fc2b68e | 223 | %{__rm} -r autom4te.cache |
fe61586f | 224 | |
b1d1d0e6 | 225 | %build |
c97662f1 | 226 | %{__libtoolize} |
1a645c7e | 227 | %{__aclocal} -I m4 |
c97662f1 | 228 | %{__automake} |
ff7be8a7 | 229 | %{__autoconf} |
fe61586f | 230 | %configure \ |
8fc2b68e | 231 | %{!?with_sse2:--disable-sse2} \ |
60314674 | 232 | --enable-docs \ |
60314674 | 233 | --%{?debug:en}%{!?debug:dis}able-debug |
87e96934 | 234 | |
2134159c | 235 | export PKG_CONFIG_PATH=$(pwd)/Setup/pkgconfig |
eefe40c2 | 236 | %{__make} |
1067b4ad | 237 | |
eefe40c2 | 238 | %{__make} html \ |
51bd2a4b | 239 | PKG_CONFIG_PATH=$(pwd)/Setup/pkgconfig |
60314674 | 240 | |
b1d1d0e6 | 241 | %install |
7e871d06 | 242 | rm -rf $RPM_BUILD_ROOT |
c97662f1 | 243 | |
60314674 | 244 | %{__make} install install-html \ |
c97662f1 | 245 | DESTDIR=$RPM_BUILD_ROOT |
1067b4ad | 246 | |
c97662f1 JB |
247 | # missing from make install |
248 | install -d $RPM_BUILD_ROOT%{_aclocaldir} | |
249 | install Setup/Unix/clanlib.m4 $RPM_BUILD_ROOT%{_aclocaldir} | |
a52a1ea1 | 250 | |
4c1b0a7f JB |
251 | %clean |
252 | rm -rf $RPM_BUILD_ROOT | |
253 | ||
b1e51b8c | 254 | %post -p /sbin/ldconfig |
255 | %postun -p /sbin/ldconfig | |
7e871d06 | 256 | |
b1e51b8c | 257 | %post OpenGL -p /sbin/ldconfig |
258 | %postun OpenGL -p /sbin/ldconfig | |
a52a1ea1 | 259 | |
8fc2b68e JB |
260 | %post SWRender -p /sbin/ldconfig |
261 | %postun SWRender -p /sbin/ldconfig | |
262 | ||
b1d1d0e6 | 263 | %files |
1067b4ad | 264 | %defattr(644,root,root,755) |
60314674 | 265 | %doc COPYING CREDITS README |
84546723 JR |
266 | %attr(755,root,root) %{_libdir}/libclan30App-%{cvmajor}.so.*.*.* |
267 | %attr(755,root,root) %ghost %{_libdir}/libclan30App-%{cvmajor}.so.1 | |
268 | %attr(755,root,root) %{_libdir}/libclan30Core-%{cvmajor}.so.*.*.* | |
269 | %attr(755,root,root) %ghost %{_libdir}/libclan30CSSLayout-%{cvmajor}.so.1 | |
270 | %attr(755,root,root) %{_libdir}/libclan30CSSLayout-%{cvmajor}.so.*.*.* | |
271 | %attr(755,root,root) %ghost %{_libdir}/libclan30Core-%{cvmajor}.so.1 | |
272 | %attr(755,root,root) %{_libdir}/libclan30Database-%{cvmajor}.so.*.*.* | |
273 | %attr(755,root,root) %ghost %{_libdir}/libclan30Database-%{cvmajor}.so.1 | |
274 | %attr(755,root,root) %{_libdir}/libclan30Display-%{cvmajor}.so.*.*.* | |
275 | %attr(755,root,root) %ghost %{_libdir}/libclan30Display-%{cvmajor}.so.1 | |
276 | %attr(755,root,root) %{_libdir}/libclan30GUI-%{cvmajor}.so.*.*.* | |
277 | %attr(755,root,root) %ghost %{_libdir}/libclan30GUI-%{cvmajor}.so.1 | |
278 | %attr(755,root,root) %{_libdir}/libclan30Network-%{cvmajor}.so.*.*.* | |
279 | %attr(755,root,root) %ghost %{_libdir}/libclan30Network-%{cvmajor}.so.1 | |
280 | %attr(755,root,root) %{_libdir}/libclan30Sound-%{cvmajor}.so.*.*.* | |
281 | %attr(755,root,root) %ghost %{_libdir}/libclan30Sound-%{cvmajor}.so.1 | |
282 | %attr(755,root,root) %{_libdir}/libclan30Sqlite-%{cvmajor}.so.*.*.* | |
283 | %attr(755,root,root) %ghost %{_libdir}/libclan30Sqlite-%{cvmajor}.so.1 | |
284 | %attr(755,root,root) %{_libdir}/libclan30Compute-%{cvmajor}.so.*.*.* | |
285 | %attr(755,root,root) %ghost %{_libdir}/libclan30Compute-%{cvmajor}.so.1 | |
286 | %attr(755,root,root) %{_libdir}/libclan30GameIDE-%{cvmajor}.so.*.*.* | |
287 | %attr(755,root,root) %ghost %{_libdir}/libclan30GameIDE-%{cvmajor}.so.1 | |
288 | %attr(755,root,root) %{_libdir}/libclan30Physics2D-%{cvmajor}.so.*.*.* | |
289 | %attr(755,root,root) %ghost %{_libdir}/libclan30Physics2D-%{cvmajor}.so.1 | |
290 | %attr(755,root,root) %{_libdir}/libclan30Physics3D-%{cvmajor}.so.*.*.* | |
291 | %attr(755,root,root) %ghost %{_libdir}/libclan30Physics3D-%{cvmajor}.so.1 | |
292 | %attr(755,root,root) %{_libdir}/libclan30Scene3D-%{cvmajor}.so.*.*.* | |
293 | %attr(755,root,root) %ghost %{_libdir}/libclan30Scene3D-%{cvmajor}.so.1 | |
77af53cc | 294 | |
ac9464bd JB |
295 | %files devel |
296 | %defattr(644,root,root,755) | |
84546723 JR |
297 | %attr(755,root,root) %{_libdir}/libclan30App.so |
298 | %attr(755,root,root) %{_libdir}/libclan30CSSLayout.so | |
299 | %attr(755,root,root) %{_libdir}/libclan30Core.so | |
300 | %attr(755,root,root) %{_libdir}/libclan30Database.so | |
301 | %attr(755,root,root) %{_libdir}/libclan30Display.so | |
302 | %attr(755,root,root) %{_libdir}/libclan30GUI.so | |
303 | %attr(755,root,root) %{_libdir}/libclan30Network.so | |
304 | %attr(755,root,root) %{_libdir}/libclan30Sound.so | |
305 | %attr(755,root,root) %{_libdir}/libclan30Sqlite.so | |
306 | %attr(755,root,root) %{_libdir}/libclan30Compute.so | |
307 | %attr(755,root,root) %{_libdir}/libclan30GameIDE.so | |
308 | %attr(755,root,root) %{_libdir}/libclan30Physics2D.so | |
309 | %attr(755,root,root) %{_libdir}/libclan30Physics3D.so | |
310 | %attr(755,root,root) %{_libdir}/libclan30Scene3D.so | |
60314674 AM |
311 | %dir %{_includedir}/ClanLib-%{cvmajor} |
312 | %dir %{_includedir}/ClanLib-%{cvmajor}/ClanLib | |
313 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/App | |
314 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/application.h | |
408b46e3 | 315 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/CSSLayout |
316 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/csslayout.h | |
60314674 AM |
317 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Core |
318 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/core.h | |
319 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Database | |
320 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/database.h | |
321 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Display | |
322 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/display.h | |
60314674 AM |
323 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GUI* |
324 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gui*.h | |
325 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Network | |
326 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/network.h | |
60314674 AM |
327 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Sound |
328 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/sound.h | |
329 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Sqlite | |
330 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/sqlite.h | |
84546723 JR |
331 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Compute |
332 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GameIDE | |
333 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Physics2D | |
334 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Physics3D | |
335 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/Scene3D | |
336 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/compute.h | |
337 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/d3d.h | |
338 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gameide.h | |
339 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/physics2d.h | |
340 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/physics3d.h | |
341 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/scene3d.h | |
8fc2b68e | 342 | %{_aclocaldir}/clanlib.m4 |
60314674 | 343 | %{_pkgconfigdir}/clanApp-%{cvmajor}.pc |
408b46e3 | 344 | %{_pkgconfigdir}/clanCSSLayout-%{cvmajor}.pc |
60314674 AM |
345 | %{_pkgconfigdir}/clanCore-%{cvmajor}.pc |
346 | %{_pkgconfigdir}/clanDatabase-%{cvmajor}.pc | |
347 | %{_pkgconfigdir}/clanDisplay-%{cvmajor}.pc | |
60314674 AM |
348 | %{_pkgconfigdir}/clanGUI*-%{cvmajor}.pc |
349 | %{_pkgconfigdir}/clanNetwork-%{cvmajor}.pc | |
60314674 AM |
350 | %{_pkgconfigdir}/clanSound-%{cvmajor}.pc |
351 | %{_pkgconfigdir}/clanSqlite-%{cvmajor}.pc | |
84546723 JR |
352 | %{_pkgconfigdir}/clanCompute-%{cvmajor}.pc |
353 | %{_pkgconfigdir}/clanGameIDE-%{cvmajor}.pc | |
354 | %{_pkgconfigdir}/clanPhysics2D-%{cvmajor}.pc | |
355 | %{_pkgconfigdir}/clanPhysics3D-%{cvmajor}.pc | |
356 | %{_pkgconfigdir}/clanScene3D-%{cvmajor}.pc | |
c97662f1 | 357 | |
ac9464bd JB |
358 | %files static |
359 | %defattr(644,root,root,755) | |
84546723 JR |
360 | %{_libdir}/libclan30App.a |
361 | %{_libdir}/libclan30CSSLayout.a | |
362 | %{_libdir}/libclan30Core.a | |
363 | %{_libdir}/libclan30Database.a | |
364 | %{_libdir}/libclan30Display.a | |
365 | %{_libdir}/libclan30GUI.a | |
366 | %{_libdir}/libclan30Network.a | |
367 | %{_libdir}/libclan30Sound.a | |
368 | %{_libdir}/libclan30Sqlite.a | |
369 | %{_libdir}/libclan30Compute.a | |
370 | %{_libdir}/libclan30GameIDE.a | |
371 | %{_libdir}/libclan30Physics2D.a | |
372 | %{_libdir}/libclan30Physics3D.a | |
373 | %{_libdir}/libclan30Scene3D.a | |
ac9464bd | 374 | |
f59dc6ea PG |
375 | %files OpenGL |
376 | %defattr(644,root,root,755) | |
84546723 JR |
377 | %attr(755,root,root) %{_libdir}/libclan30GL-%{cvmajor}.so.*.*.* |
378 | %attr(755,root,root) %ghost %{_libdir}/libclan30GL-%{cvmajor}.so.1 | |
a52a1ea1 | 379 | |
ac9464bd JB |
380 | %files OpenGL-devel |
381 | %defattr(644,root,root,755) | |
84546723 | 382 | %attr(755,root,root) %{_libdir}/libclan30GL.so |
60314674 AM |
383 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/GL |
384 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/gl.h | |
385 | %{_pkgconfigdir}/clanGL-%{cvmajor}.pc | |
ac9464bd JB |
386 | |
387 | %files OpenGL-static | |
388 | %defattr(644,root,root,755) | |
84546723 | 389 | %{_libdir}/libclan30GL.a |
ac9464bd | 390 | |
8fc2b68e JB |
391 | %files SWRender |
392 | %defattr(644,root,root,755) | |
84546723 JR |
393 | %attr(755,root,root) %{_libdir}/libclan30SWRender-%{cvmajor}.so.*.*.* |
394 | %attr(755,root,root) %ghost %{_libdir}/libclan30SWRender-%{cvmajor}.so.1 | |
8fc2b68e JB |
395 | |
396 | %files SWRender-devel | |
397 | %defattr(644,root,root,755) | |
84546723 | 398 | %attr(755,root,root) %{_libdir}/libclan30SWRender.so |
8fc2b68e JB |
399 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/SWRender |
400 | %{_includedir}/ClanLib-%{cvmajor}/ClanLib/swrender.h | |
401 | %{_pkgconfigdir}/clanSWRender-%{cvmajor}.pc | |
402 | ||
403 | %files SWRender-static | |
404 | %defattr(644,root,root,755) | |
84546723 | 405 | %{_libdir}/libclan30SWRender.a |
8fc2b68e JB |
406 | |
407 | %files doc | |
408 | %defattr(644,root,root,755) | |
409 | %{_docdir}/clanlib-%{cvmajor} |