- updated to 1.7.7
[packages/evas.git] / evas.spec
CommitLineData
60b45f71 1# TODO: use system liblinebreak?
3b0f8708 2#
32b49c04 3# Conditional build:
c82e1489
JB
4%bcond_without mmx # MMX and MMX2 support (on x86)
5%bcond_without sse # SSE support (on x86)
6%bcond_without altivec # altivec support (on PPC)
7%bcond_without fb # FB engine
8%bcond_without directfb # DirectFB engine
9%bcond_without sdl # SDL (OpenGL and software) engines
9f72d789 10%bcond_with svg # Esvg-based SVG loader
c845ba09 11%bcond_without wayland # wayland-egl, wayland-shm engines
bb0f7edb
JB
12%bcond_without xcb # XCB engines (software_8_x11, possibly software_x11/gl_x11)
13%bcond_with xcb_api # software_x11/gl_x11 engines with XCB support (experimental)
8cd4650d 14%bcond_without static_libs # don't build static library
3b0f8708 15#
6c429415 16%ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
ca577fef 17%undefine with_mmx
3b0f8708 18%endif
6c429415 19%ifnarch i686 pentium3 pentium4 athlon %{x8664}
ca577fef 20%undefine with_sse
21%endif
22%ifnarch ppc
23%undefine with_altivec
24%endif
bb0f7edb
JB
25%if %{without xcb}
26%undefine xcb_api
27%endif
28%if %{with xcb_api}
29%define xapi xcb
30%else
31%define xapi xlib
32%endif
ca577fef 33#
4ed58df2 34%define edb_ver 1.0.5.043
9f72d789 35%define eet_ver 1.7.0
a18274f3 36
ee730ab3 37Summary: Multi-platform Canvas Library
16e991b2 38Summary(pl.UTF-8): Wieloplatformowa biblioteka do rysowania
ee730ab3 39Name: evas
1ff38998
JB
40Version: 1.7.7
41Release: 1
6c37f7fb 42License: BSD
ee730ab3 43Group: Libraries
9cf71539 44Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
1ff38998 45# Source0-md5: 6f6bd375c37c3b01b9a4c622a77e72c6
9f72d789 46Patch0: %{name}-wayland.patch
599b9aa6 47Patch1: %{name}-fribidi.patch
fb73f06b 48URL: http://trac.enlightenment.org/e/wiki/Evas
c845ba09 49%{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.16}
50ceb922 50BuildRequires: Mesa-libGLU-devel
c845ba09 51%{?with_sdl:BuildRequires: SDL-devel >= 1.2.0}
6c429415 52BuildRequires: autoconf >= 2.59-9
faf23ef4 53BuildRequires: automake >= 1.6
a18274f3
BZ
54BuildRequires: edb-devel >= %{edb_ver}
55BuildRequires: eet-devel >= %{eet_ver}
9f72d789
JB
56BuildRequires: eina-devel >= 1.6.0
57%{?with_svg:BuildRequires: esvg-devel >= 0.0.16}
a95c19d8 58BuildRequires: fontconfig-devel >= 2.5.0
609b40ed 59BuildRequires: freetype-devel >= 1:2.2
6c37f7fb 60BuildRequires: fribidi-devel >= 0.19.2
d2865238 61BuildRequires: giflib-devel
9f72d789 62BuildRequires: harfbuzz-devel >= 0.9.0
ee730ab3 63BuildRequires: libjpeg-devel
6c429415 64BuildRequires: libpng-devel >= 1.2
8761de99 65BuildRequires: libtiff-devel
ee730ab3 66BuildRequires: libtool
c845ba09 67BuildRequires: pixman-devel
3b0f8708 68BuildRequires: pkgconfig
50ceb922 69BuildRequires: readline-devel
6c429415 70BuildRequires: xorg-lib-libXext-devel
964d88ec
JB
71%if %{with xcb}
72BuildRequires: libxcb-devel
964d88ec
JB
73BuildRequires: xcb-util-image-devel >= 0.2.1
74%endif
c845ba09
JB
75%if %{with wayland}
76BuildRequires: OpenGL-devel
77BuildRequires: Mesa-libEGL-devel >= 7.10
78BuildRequires: Mesa-libGLES-devel
79BuildRequires: Mesa-libwayland-egl-devel
80BuildRequires: wayland-devel
81%endif
a18274f3 82Requires: eet >= %{eet_ver}
9f72d789 83Requires: eina >= 1.6.0
6c37f7fb
JB
84Requires: freetype >= 1:2.2
85Requires: fribidi >= 0.19.2
9f72d789 86Requires: harfbuzz >= 0.9.0
f70301be 87Obsoletes: evas-libs
a95c19d8
JB
88Obsoletes: evas-engine-software_qtopia
89Obsoletes: evas-engine-xrender_x11
90Obsoletes: evas-engine-xrender_xcb
ee730ab3 91BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92
ffb4a3b0 93%undefine __cxx
94
ee730ab3 95%description
96Evas is a clean display canvas API for several target display systems
97that can draw anti-aliased text, smooth super and sub-sampled scaled
98images, alpha-blend objects much and more.
99
40b45bbf
JR
100%description -l pl.UTF-8
101Evas to czyste API "płótna obrazu" dla różnych systemów wyświetlania,
102będące w stanie rysować tekst z antyaliasingiem, wygładzane, skalowane
ab7d1756
JB
103obrazy, obiekty z alpha-blendingiem i inne elementy.
104
ee730ab3 105%package devel
ab7d1756 106Summary: Evas header files
16e991b2 107Summary(pl.UTF-8): Pliki nagłówkowe Evas
ee730ab3 108Group: Development/Libraries
245fd882 109Requires: %{name} = %{version}-%{release}
a18274f3 110Requires: eet-devel >= %{eet_ver}
9f72d789 111Requires: eina-devel >= 1.6.0
c845ba09 112Requires: fontconfig-devel >= 2.5.0
609b40ed 113Requires: freetype-devel >= 1:2.2
6c37f7fb 114Requires: fribidi-devel >= 0.19.2
9f72d789 115Requires: harfbuzz-devel >= 0.9.0
bb0f7edb 116Provides: %{name}-devel(%{xapi}) = %{version}-%{release}
ee730ab3 117
118%description devel
ab7d1756
JB
119Header files for Evas.
120
40b45bbf
JR
121%description devel -l pl.UTF-8
122Pliki nagłówkowe Evas.
ee730ab3 123
124%package static
ab7d1756 125Summary: Static Evas library
16e991b2 126Summary(pl.UTF-8): Statyczna biblioteka Evas
ee730ab3 127Group: Development/Libraries
ab7d1756 128Requires: %{name}-devel = %{version}-%{release}
ee730ab3 129
130%description static
ab7d1756
JB
131Static Evas library.
132
40b45bbf 133%description static -l pl.UTF-8
ab7d1756 134Statyczna biblioteka Evas.
ee730ab3 135
8761de99 136##### MODULES #####
137# engines:
138%package engine-buffer
139Summary: Buffer rendering engine module for Evas
16e991b2 140Summary(pl.UTF-8): Moduł silnika renderującego do bufora dla Evas
8761de99 141Group: X11/Libraries
85ee035a 142Requires: %{name}-engine-software_generic = %{version}-%{release}
8761de99 143
144%description engine-buffer
145Memory Buffer rendering engine module for Evas.
146
40b45bbf
JR
147%description engine-buffer -l pl.UTF-8
148Moduł silnika renderującego do bufora dla Evas.
5da3d643 149
c82e1489
JB
150%package engine-directfb
151Summary: DirectFB rendering engine module for Evas
152Summary(pl.UTF-8): Moduł silnika renderującego na DirectFB dla Evas
153Group: X11/Libraries
154Requires: %{name} = %{version}-%{release}
c845ba09 155Requires: DirectFB >= 0.9.16
c82e1489
JB
156
157%description engine-directfb
158DirectFB rendering engine module for Evas.
159
160%description engine-directfb -l pl.UTF-8
161Moduł silnika renderującego na DirectFB dla Evas.
162
8761de99 163%package engine-fb
164Summary: Framebuffer rendering engine module for Evas
16e991b2 165Summary(pl.UTF-8): Moduł silnika renderującego na framebuffer dla Evas
8761de99 166Group: X11/Libraries
85ee035a 167Requires: %{name}-engine-software_generic = %{version}-%{release}
8761de99 168
169%description engine-fb
170Framebuffer rendering engine module for Evas.
171
40b45bbf
JR
172%description engine-fb -l pl.UTF-8
173Moduł silnika renderującego na framebuffer dla Evas.
5da3d643 174
b0fe12e6 175%package engine-gl_sdl
176Summary: SDL OpenGL rendering engine module for Evas
177Summary(pl.UTF-8): Moduł silnika renderującego na SDL OpenGL dla Evas
178Group: X11/Libraries
179Requires: %{name}-engine-software_generic = %{version}-%{release}
c845ba09 180Requires: SDL >= 1.2.0
b0fe12e6 181
182%description engine-gl_sdl
183SDL OpenGL rendering engine module for Evas.
184
185%description engine-gl_sdl -l pl.UTF-8
186Moduł silnika renderującego na SDL OpenGL dla Evas.
187
8761de99 188%package engine-gl_x11
189Summary: OpenGL under X11 rendering engine module for Evas
16e991b2 190Summary(pl.UTF-8): Moduł silnika renderującego na OpenGL pod X11 dla Evas
8761de99 191Group: X11/Libraries
f02c736c 192Requires: %{name}-engine-software_generic = %{version}-%{release}
bb0f7edb 193Provides: %{name}-engine-gl_x11(%{xapi}) = %{version}-%{release}
8761de99 194
195%description engine-gl_x11
196OpenGL under X11 rendering engine module for Evas.
197
40b45bbf
JR
198%description engine-gl_x11 -l pl.UTF-8
199Moduł silnika renderującego na OpenGL pod X11 dla Evas.
5da3d643 200
f02c736c
JB
201%package engine-software_8
202Summary: 8-bit software rendering engine module for Evas
203Summary(pl.UTF-8): Moduł silnika programowego renderującego 8-bitowego dla Evas
204Group: X11/Libraries
205Requires: %{name}-engine-software_generic = %{version}-%{release}
206
207%description engine-software_8
2088-bit software rendering engine module for Evas.
209
210%description engine-software_8 -l pl.UTF-8
211Moduł silnika programowego renderującego 8-bitowego dla Evas.
212
213%package engine-software_8_x11
214Summary: 8-bit X11 software rendering engine module for Evas
215Summary(pl.UTF-8): Moduł silnika programowego renderującego 8-bitowego na X11 dla Evas
216Group: X11/Libraries
217Requires: %{name}-engine-software_8 = %{version}-%{release}
218
219%description engine-software_8_x11
bb0f7edb 2208-bit X11 (XCB) software rendering engine module for Evas.
f02c736c
JB
221
222%description engine-software_8_x11 -l pl.UTF-8
bb0f7edb
JB
223Moduł silnika programowego renderującego 8-bitowego na X11 (XCB) dla
224Evas.
f02c736c 225
c845ba09
JB
226%package engine-software_16
227Summary: 16-bit software rendering engine module for Evas
228Summary(pl.UTF-8): Moduł silnika programowego renderującego 16-bitowego dla Evas
229Group: X11/Libraries
230Requires: %{name}-engine-software_generic = %{version}-%{release}
231
232%description engine-software_16
23316-bit software rendering engine module for Evas.
234
235%description engine-software_16 -l pl.UTF-8
236Moduł silnika programowego renderującego 16-bitowego dla Evas.
237
c82e1489
JB
238%package engine-software_16_sdl
239Summary: 16-bit SDL software rendering engine module for Evas
240Summary(pl.UTF-8): Moduł silnika programowego renderującego 16-bitowego na SDL dla Evas
241Group: X11/Libraries
f02c736c 242Requires: %{name}-engine-software_16 = %{version}-%{release}
c845ba09
JB
243Requires: SDL >= 1.2.0
244Obsoletes: evas-engine-software_sdl
c82e1489
JB
245
246%description engine-software_16_sdl
24716-bit SDL software rendering engine module for Evas.
248
249%description engine-software_16_sdl -l pl.UTF-8
250Moduł silnika programowego renderującego 16-bitowego na SDL dla Evas.
b0fe12e6 251
c845ba09
JB
252%package engine-software_16_x11
253Summary: 16-bit X11 software rendering engine module for Evas
254Summary(pl.UTF-8): Moduł silnika programowego renderującego 16-bitowego na X11 dla Evas
255Group: X11/Libraries
f02c736c 256Requires: %{name}-engine-software_16 = %{version}-%{release}
c845ba09
JB
257
258%description engine-software_16_x11
bb0f7edb 25916-bit X11 (Xlib) software rendering engine module for Evas.
c845ba09
JB
260
261%description engine-software_16_x11 -l pl.UTF-8
bb0f7edb
JB
262Moduł silnika programowego renderującego 16-bitowego na X11 (Xlib) dla
263Evas.
c845ba09 264
8761de99 265%package engine-software_generic
b0fe12e6 266Summary: Software rendering common engine module for Evas
16e991b2 267Summary(pl.UTF-8): Moduł wspólnego programowego silnika renderującego dla Evas
8761de99 268Group: X11/Libraries
245fd882 269Requires: %{name} = %{version}-%{release}
8761de99 270
271%description engine-software_generic
272Software rendering common engine module for Evas.
273
40b45bbf
JR
274%description engine-software_generic -l pl.UTF-8
275Moduł wspólnego programowego silnika renderującego dla Evas.
5da3d643 276
8761de99 277%package engine-software_x11
278Summary: Software X11 rendering engine module for Evas
16e991b2 279Summary(pl.UTF-8): Moduł programowego silnika renderującego X11 dla Evas
8761de99 280Group: X11/Libraries
85ee035a 281Requires: %{name}-engine-software_generic = %{version}-%{release}
c82e1489 282Obsoletes: evas-engine-software_xcb
8761de99 283
284%description engine-software_x11
285Software X11 rendering engine module for Evas.
286
40b45bbf
JR
287%description engine-software_x11 -l pl.UTF-8
288Moduł programowego silnika renderującego X11 dla Evas.
5da3d643 289
c845ba09
JB
290%package engine-wayland_egl
291Summary: Wayland EGL rendering engine module for Evas
292Summary(pl.UTF-8): Moduł silnika renderującego Wayland EGL dla Evas
293Group: Libraries
f02c736c 294Requires: %{name}-engine-software_generic = %{version}-%{release}
c845ba09
JB
295
296%description engine-wayland_egl
297Wayland EGL rendering engine module for Evas.
298
299%description engine-wayland_egl -l pl.UTF-8
300Moduł silnika renderującego Wayland EGL dla Evas.
301
302%package engine-wayland_shm
303Summary: Wayland SHM rendering engine module for Evas
304Summary(pl.UTF-8): Moduł silnika renderującego Wayland SHM dla Evas
305Group: Libraries
f02c736c 306Requires: %{name}-engine-software_generic = %{version}-%{release}
c845ba09
JB
307
308%description engine-wayland_shm
309Wayland SHM rendering engine module for Evas.
310
311%description engine-wayland_shm -l pl.UTF-8
312Moduł silnika renderującego Wayland SHM dla Evas.
313
8761de99 314# loaders:
315%package loader-edb
316Summary: EDB Image loader module for Evas
16e991b2 317Summary(pl.UTF-8): Moduł wczytywania obrazów EDB dla Evas
8761de99 318Group: X11/Libraries
245fd882 319Requires: %{name} = %{version}-%{release}
8761de99 320
321%description loader-edb
322EDB Image loader module for Evas.
323
40b45bbf
JR
324%description loader-edb -l pl.UTF-8
325Moduł wczytywania obrazów EDB dla Evas.
5da3d643 326
8761de99 327%package loader-eet
328Summary: EET Image loader module for Evas
16e991b2 329Summary(pl.UTF-8): Moduł wczytywania obrazów EET dla Evas
8761de99 330Group: X11/Libraries
245fd882 331Requires: %{name} = %{version}-%{release}
8761de99 332
333%description loader-eet
334EET Image loader module for Evas.
335
40b45bbf
JR
336%description loader-eet -l pl.UTF-8
337Moduł wczytywania obrazów EET dla Evas.
5da3d643 338
8761de99 339%package loader-gif
340Summary: GIF Image loader module for Evas
16e991b2 341Summary(pl.UTF-8): Moduł wczytywania obrazów GIF dla Evas
8761de99 342Group: X11/Libraries
245fd882 343Requires: %{name} = %{version}-%{release}
8761de99 344
345%description loader-gif
346GIF Image loader module for Evas.
347
40b45bbf
JR
348%description loader-gif -l pl.UTF-8
349Moduł wczytywania obrazów GIF dla Evas.
5da3d643 350
8761de99 351%package loader-jpeg
352Summary: JPEG Image loader module for Evas
16e991b2 353Summary(pl.UTF-8): Moduł wczytywania obrazów JPEG dla Evas
8761de99 354Group: X11/Libraries
245fd882 355Requires: %{name} = %{version}-%{release}
8761de99 356
357%description loader-jpeg
358JPEG Image loader module for Evas.
359
40b45bbf
JR
360%description loader-jpeg -l pl.UTF-8
361Moduł wczytywania obrazów JPEG dla Evas.
5da3d643 362
a7e1c749
BZ
363%package loader-pmaps
364Summary: PMAPS Image loader module for Evas
365Summary(pl.UTF-8): Moduł wczytywania obrazów PMAPS dla Evas
366Group: X11/Libraries
367Requires: %{name} = %{version}-%{release}
368
369%description loader-pmaps
370PMAPS Image loader module for Evas.
371
372%description loader-pmaps -l pl.UTF-8
373Moduł wczytywania obrazów PMAPS dla Evas.
374
8761de99 375%package loader-png
376Summary: PNG Image loader module for Evas
16e991b2 377Summary(pl.UTF-8): Moduł wczytywania obrazów PNG dla Evas
8761de99 378Group: X11/Libraries
245fd882 379Requires: %{name} = %{version}-%{release}
8761de99 380
381%description loader-png
382PNG Image loader module for Evas.
383
40b45bbf
JR
384%description loader-png -l pl.UTF-8
385Moduł wczytywania obrazów PNG dla Evas.
5da3d643 386
245fd882 387%package loader-svg
388Summary: SVG Image loader module for Evas
16e991b2 389Summary(pl.UTF-8): Moduł wczytywania obrazów SVG dla Evas
245fd882 390Group: X11/Libraries
391Requires: %{name} = %{version}-%{release}
9f72d789 392Requires: esvg >= 0.0.16
245fd882 393
394%description loader-svg
395SVG Image loader module for Evas.
396
40b45bbf
JR
397%description loader-svg -l pl.UTF-8
398Moduł wczytywania obrazów SVG dla Evas.
245fd882 399
8761de99 400%package loader-tiff
401Summary: TIFF Image loader module for Evas
16e991b2 402Summary(pl.UTF-8): Moduł wczytywania obrazów TIFF dla Evas
8761de99 403Group: X11/Libraries
245fd882 404Requires: %{name} = %{version}-%{release}
8761de99 405
406%description loader-tiff
407TIFF Image loader module for Evas.
408
40b45bbf
JR
409%description loader-tiff -l pl.UTF-8
410Moduł wczytywania obrazów TIFF dla Evas.
5da3d643 411
245fd882 412%package loader-xpm
413Summary: XPM Image loader module for Evas
16e991b2 414Summary(pl.UTF-8): Moduł wczytywania obrazów XPM dla Evas
245fd882 415Group: X11/Libraries
416Requires: %{name} = %{version}-%{release}
417
418%description loader-xpm
419XPM Image loader module for Evas.
420
40b45bbf
JR
421%description loader-xpm -l pl.UTF-8
422Moduł wczytywania obrazów XPM dla Evas.
245fd882 423
8761de99 424# savers:
425%package saver-edb
426Summary: EDB Image saver module for Evas
16e991b2 427Summary(pl.UTF-8): Moduł zapisywania obrazów EDB dla Evas
8761de99 428Group: X11/Libraries
245fd882 429Requires: %{name} = %{version}-%{release}
8761de99 430
431%description saver-edb
432EDB Image saver module for Evas.
433
40b45bbf
JR
434%description saver-edb -l pl.UTF-8
435Moduł zapisywania obrazów EDB dla Evas.
5da3d643 436
8761de99 437%package saver-eet
438Summary: EET Image saver module for Evas
16e991b2 439Summary(pl.UTF-8): Moduł zapisywania obrazów EET dla Evas
8761de99 440Group: X11/Libraries
245fd882 441Requires: %{name} = %{version}-%{release}
8761de99 442
443%description saver-eet
444EET Image saver module for Evas.
445
40b45bbf
JR
446%description saver-eet -l pl.UTF-8
447Moduł zapisywania obrazów EET dla Evas.
5da3d643 448
8761de99 449%package saver-jpeg
450Summary: JPEG Image saver module for Evas
16e991b2 451Summary(pl.UTF-8): Moduł zapisywania obrazów JPEG dla Evas
8761de99 452Group: X11/Libraries
245fd882 453Requires: %{name} = %{version}-%{release}
8761de99 454
455%description saver-jpeg
456JPEG Image saver module for Evas.
457
40b45bbf
JR
458%description saver-jpeg -l pl.UTF-8
459Moduł zapisywania obrazów JPEG dla Evas.
5da3d643 460
8761de99 461%package saver-png
462Summary: PNG Image saver module for Evas
16e991b2 463Summary(pl.UTF-8): Moduł zapisywania obrazów PNG dla Evas
8761de99 464Group: X11/Libraries
245fd882 465Requires: %{name} = %{version}-%{release}
8761de99 466
467%description saver-png
468PNG Image saver module for Evas.
469
40b45bbf
JR
470%description saver-png -l pl.UTF-8
471Moduł zapisywania obrazów PNG dla Evas.
5da3d643 472
8761de99 473%package saver-tiff
474Summary: TIFF Image saver module for Evas
16e991b2 475Summary(pl.UTF-8): Moduł zapisywania obrazów TIFF dla Evas
8761de99 476Group: X11/Libraries
245fd882 477Requires: %{name} = %{version}-%{release}
8761de99 478
479%description saver-tiff
480TIFF Image saver module for Evas.
481
40b45bbf
JR
482%description saver-tiff -l pl.UTF-8
483Moduł zapisywania obrazów TIFF dla Evas.
5da3d643 484
ee730ab3 485%prep
9cf71539 486%setup -q -n %{name}-%{version}
a95c19d8 487%patch0 -p1
599b9aa6 488%patch1 -p1
ee730ab3 489
490%build
245fd882 491%{__libtoolize}
a7e1c749 492%{__aclocal} -I m4
245fd882 493%{__autoconf}
494%{__autoheader}
495%{__automake}
ee730ab3 496%configure \
6c37f7fb 497 --disable-silent-rules \
8cd4650d 498 %{!?with_static_libs:--disable-static} \
6c37f7fb 499 --enable-buffer \
a95c19d8
JB
500 --enable-cpu-altivec%{!?with_altivec:=no} \
501 --enable-cpu-c \
502 --enable-cpu-mmx%{!?with_mmx:=no} \
503 --enable-cpu-sse%{!?with_sse:=no} \
6c37f7fb
JB
504 --enable-directfb%{!?with_directfb:=no} \
505 --enable-fb%{!?with_fb:=no} \
a95c19d8 506 --enable-font-loader-eet \
6c37f7fb 507 --enable-gl-sdl%{!?with_sdl:=no} \
bb0f7edb 508 --enable-gl-xcb%{!?with_xcb_api:=no} \
c845ba09 509 --enable-gl-xlib \
3efa5131 510 --enable-image-loader-edb \
245fd882 511 --enable-image-loader-eet \
512 --enable-image-loader-gif \
513 --enable-image-loader-jpeg \
514 --enable-image-loader-png \
9f72d789 515 --enable-image-loader-svg%{!?with_svg:=no} \
245fd882 516 --enable-image-loader-tiff \
517 --enable-image-loader-xpm \
a95c19d8 518 --enable-pixman \
bb0f7edb 519 --enable-software-8-x11%{!?with_xcb:=no} \
c845ba09
JB
520 --enable-software-16-sdl%{!?with_sdl:=no} \
521 --enable-software-16-x11 \
bb0f7edb 522 --enable-software-xcb%{!?with_xcb_api:=no} \
725c7794 523 --enable-software-xlib \
c845ba09
JB
524 --enable-wayland-egl%{!?with_wayland:=no} \
525 --enable-wayland-shm%{!?with_wayland:=no} \
353188a7 526 --disable-valgrind
ca577fef 527
c845ba09 528%{__make}
ee730ab3 529
530%install
531rm -rf $RPM_BUILD_ROOT
ab7d1756 532
ee730ab3 533%{__make} install \
534 DESTDIR=$RPM_BUILD_ROOT
535
9f72d789 536%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/cserve2/*/*/*/module.la
6c37f7fb 537%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*/*/*/module.la
c82e1489 538%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/engines/software_16_sdl/linux-gnu-*/module.a
3efa5131 539
a95c19d8
JB
540install -d $RPM_BUILD_ROOT%{_examplesdir}
541mv -f $RPM_BUILD_ROOT%{_datadir}/evas/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
542
ee730ab3 543%clean
544rm -rf $RPM_BUILD_ROOT
545
245fd882 546%post -p /sbin/ldconfig
547%postun -p /sbin/ldconfig
ee730ab3 548
549%files
550%defattr(644,root,root,755)
a95c19d8 551%doc AUTHORS COPYING ChangeLog NEWS README
9f72d789
JB
552%attr(755,root,root) %{_bindir}/evas_cserve2_client
553%attr(755,root,root) %{_bindir}/evas_cserve2_debug
554%attr(755,root,root) %{_bindir}/evas_cserve2_usage
1774f6cc
JB
555%attr(755,root,root) %{_libdir}/libevas.so.*.*.*
556%attr(755,root,root) %ghost %{_libdir}/libevas.so.1
9f72d789
JB
557%attr(755,root,root) %{_libexecdir}/dummy_slave
558%attr(755,root,root) %{_libexecdir}/evas_cserve2
559%attr(755,root,root) %{_libexecdir}/evas_cserve2_slave
b08700b8 560%dir %{_libdir}/%{name}
9f72d789
JB
561%dir %{_libdir}/%{name}/cserve2
562%dir %{_libdir}/%{name}/cserve2/loaders
563# loaders without additional dependencies
564%dir %{_libdir}/%{name}/cserve2/loaders/bmp
565%dir %{_libdir}/%{name}/cserve2/loaders/bmp/linux-gnu-*
566%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/bmp/linux-gnu-*/module.so
567%dir %{_libdir}/%{name}/cserve2/loaders/ico
568%dir %{_libdir}/%{name}/cserve2/loaders/ico/linux-gnu-*
569%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/ico/linux-gnu-*/module.so
570%dir %{_libdir}/%{name}/cserve2/loaders/psd
571%dir %{_libdir}/%{name}/cserve2/loaders/psd/linux-gnu-*
572%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/psd/linux-gnu-*/module.so
573%dir %{_libdir}/%{name}/cserve2/loaders/tga
574%dir %{_libdir}/%{name}/cserve2/loaders/tga/linux-gnu-*
575%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/tga/linux-gnu-*/module.so
576%dir %{_libdir}/%{name}/cserve2/loaders/wbmp
577%dir %{_libdir}/%{name}/cserve2/loaders/wbmp/linux-gnu-*
578%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/wbmp/linux-gnu-*/module.so
b08700b8 579%dir %{_libdir}/%{name}/modules
6c429415
JB
580%dir %{_libdir}/%{name}/modules/engines
581%dir %{_libdir}/%{name}/modules/loaders
582%dir %{_libdir}/%{name}/modules/savers
1774f6cc
JB
583# loaders without additional dependencies
584%dir %{_libdir}/%{name}/modules/loaders/bmp
585%dir %{_libdir}/%{name}/modules/loaders/bmp/linux-gnu-*
586%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/bmp/linux-gnu-*/module.so
a95c19d8
JB
587%dir %{_libdir}/%{name}/modules/loaders/generic
588%dir %{_libdir}/%{name}/modules/loaders/generic/linux-gnu-*
589%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/generic/linux-gnu-*/module.so
590%dir %{_libdir}/%{name}/modules/loaders/ico
591%dir %{_libdir}/%{name}/modules/loaders/ico/linux-gnu-*
592%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/ico/linux-gnu-*/module.so
593%dir %{_libdir}/%{name}/modules/loaders/psd
594%dir %{_libdir}/%{name}/modules/loaders/psd/linux-gnu-*
595%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/psd/linux-gnu-*/module.so
1774f6cc
JB
596%dir %{_libdir}/%{name}/modules/loaders/tga
597%dir %{_libdir}/%{name}/modules/loaders/tga/linux-gnu-*
598%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/tga/linux-gnu-*/module.so
a95c19d8
JB
599%dir %{_libdir}/%{name}/modules/loaders/wbmp
600%dir %{_libdir}/%{name}/modules/loaders/wbmp/linux-gnu-*
601%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/wbmp/linux-gnu-*/module.so
9f72d789 602%{_datadir}/%{name}
1920e53d 603
ee730ab3 604%files devel
605%defattr(644,root,root,755)
ee730ab3 606%attr(755,root,root) %{_libdir}/libevas.so
607%{_libdir}/libevas.la
1774f6cc 608%{_includedir}/evas-1
ee730ab3 609%{_pkgconfigdir}/evas.pc
6c429415 610# engine private structures
c82e1489
JB
611%{?with_directfb:%{_pkgconfigdir}/evas-directfb.pc}
612%{_pkgconfigdir}/evas-fb.pc
613%{?with_sdl:%{_pkgconfigdir}/evas-opengl-sdl.pc}
614%{_pkgconfigdir}/evas-opengl-x11.pc
bb0f7edb 615%{?with_xcb:%{_pkgconfigdir}/evas-software-8-x11.pc}
c845ba09 616%{_pkgconfigdir}/evas-software-16-x11.pc
c82e1489
JB
617%{_pkgconfigdir}/evas-software-buffer.pc
618%{?with_sdl:%{_pkgconfigdir}/evas-software-sdl.pc}
619%{_pkgconfigdir}/evas-software-x11.pc
c845ba09
JB
620%if %{with wayland}
621%{_pkgconfigdir}/evas-wayland-egl.pc
622%{_pkgconfigdir}/evas-wayland-shm.pc
623%endif
a95c19d8 624%{_examplesdir}/%{name}-%{version}
ee730ab3 625
8cd4650d 626%if %{with static_libs}
ee730ab3 627%files static
628%defattr(644,root,root,755)
629%{_libdir}/libevas.a
8cd4650d 630%endif
8761de99 631
632%files engine-buffer
633%defattr(644,root,root,755)
634%dir %{_libdir}/%{name}/modules/engines/buffer
635%dir %{_libdir}/%{name}/modules/engines/buffer/linux-gnu-*
636%attr(755,root,root) %{_libdir}/%{name}/modules/engines/buffer/linux-gnu-*/module.so
637
b0fe12e6 638%if %{with directfb}
639%files engine-directfb
640%defattr(644,root,root,755)
641%dir %{_libdir}/%{name}/modules/engines/directfb
642%dir %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*
643%attr(755,root,root) %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*/module.so
644%endif
645
574e9baa 646%if %{with fb}
8761de99 647%files engine-fb
648%defattr(644,root,root,755)
649%dir %{_libdir}/%{name}/modules/engines/fb
650%dir %{_libdir}/%{name}/modules/engines/fb/linux-gnu-*
651%attr(755,root,root) %{_libdir}/%{name}/modules/engines/fb/linux-gnu-*/module.so
574e9baa 652%endif
8761de99 653
c82e1489
JB
654%if %{with sdl}
655%files engine-gl_sdl
656%defattr(644,root,root,755)
657%dir %{_libdir}/%{name}/modules/engines/gl_sdl
658%dir %{_libdir}/%{name}/modules/engines/gl_sdl/linux-gnu-*
659%attr(755,root,root) %{_libdir}/%{name}/modules/engines/gl_sdl/linux-gnu-*/module.so
660%endif
661
8761de99 662%files engine-gl_x11
663%defattr(644,root,root,755)
664%dir %{_libdir}/%{name}/modules/engines/gl_x11
665%dir %{_libdir}/%{name}/modules/engines/gl_x11/linux-gnu-*
666%attr(755,root,root) %{_libdir}/%{name}/modules/engines/gl_x11/linux-gnu-*/module.so
667
bb0f7edb 668%if %{with xcb}
f02c736c
JB
669%files engine-software_8
670%defattr(644,root,root,755)
671%dir %{_libdir}/%{name}/modules/engines/software_8
672%dir %{_libdir}/%{name}/modules/engines/software_8/linux-gnu-*
673%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_8/linux-gnu-*/module.so
674
675%files engine-software_8_x11
676%defattr(644,root,root,755)
677%dir %{_libdir}/%{name}/modules/engines/software_8_x11
678%dir %{_libdir}/%{name}/modules/engines/software_8_x11/linux-gnu-*
679%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_8_x11/linux-gnu-*/module.so
bb0f7edb 680%endif
f02c736c 681
c845ba09
JB
682%files engine-software_16
683%defattr(644,root,root,755)
684%dir %{_libdir}/%{name}/modules/engines/software_16
685%dir %{_libdir}/%{name}/modules/engines/software_16/linux-gnu-*
686%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_16/linux-gnu-*/module.so
687
688%files engine-software_16_x11
689%defattr(644,root,root,755)
690%dir %{_libdir}/%{name}/modules/engines/software_16_x11
691%dir %{_libdir}/%{name}/modules/engines/software_16_x11/linux-gnu-*
692%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_16_x11/linux-gnu-*/module.so
693
c82e1489
JB
694%if %{with sdl}
695%files engine-software_16_sdl
696%defattr(644,root,root,755)
697%dir %{_libdir}/%{name}/modules/engines/software_16_sdl
698%dir %{_libdir}/%{name}/modules/engines/software_16_sdl/linux-gnu-*
699%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_16_sdl/linux-gnu-*/module.so
700%endif
701
8761de99 702%files engine-software_generic
703%defattr(644,root,root,755)
704%dir %{_libdir}/%{name}/modules/engines/software_generic
705%dir %{_libdir}/%{name}/modules/engines/software_generic/linux-gnu-*
706%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_generic/linux-gnu-*/module.so
707
8761de99 708%files engine-software_x11
709%defattr(644,root,root,755)
710%dir %{_libdir}/%{name}/modules/engines/software_x11
711%dir %{_libdir}/%{name}/modules/engines/software_x11/linux-gnu-*
712%attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_x11/linux-gnu-*/module.so
713
c845ba09
JB
714%if %{with wayland}
715%files engine-wayland_egl
716%defattr(644,root,root,755)
717%dir %{_libdir}/%{name}/modules/engines/wayland_egl
718%dir %{_libdir}/%{name}/modules/engines/wayland_egl/linux-gnu-*
719%attr(755,root,root) %{_libdir}/%{name}/modules/engines/wayland_egl/linux-gnu-*/module.so
720
721%files engine-wayland_shm
722%defattr(644,root,root,755)
723%dir %{_libdir}/%{name}/modules/engines/wayland_shm
724%dir %{_libdir}/%{name}/modules/engines/wayland_shm/linux-gnu-*
725%attr(755,root,root) %{_libdir}/%{name}/modules/engines/wayland_shm/linux-gnu-*/module.so
9f72d789 726%endif
c845ba09 727
8761de99 728%files loader-edb
729%defattr(644,root,root,755)
730%dir %{_libdir}/%{name}/modules/loaders/edb
731%dir %{_libdir}/%{name}/modules/loaders/edb/linux-gnu-*
732%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/edb/linux-gnu-*/module.so
733
734%files loader-eet
735%defattr(644,root,root,755)
9f72d789
JB
736%dir %{_libdir}/%{name}/cserve2/loaders/eet
737%dir %{_libdir}/%{name}/cserve2/loaders/eet/linux-gnu-*
738%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/eet/linux-gnu-*/module.so
8761de99 739%dir %{_libdir}/%{name}/modules/loaders/eet
740%dir %{_libdir}/%{name}/modules/loaders/eet/linux-gnu-*
741%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/eet/linux-gnu-*/module.so
742
743%files loader-gif
744%defattr(644,root,root,755)
745%dir %{_libdir}/%{name}/modules/loaders/gif
746%dir %{_libdir}/%{name}/modules/loaders/gif/linux-gnu-*
747%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/gif/linux-gnu-*/module.so
748
749%files loader-jpeg
750%defattr(644,root,root,755)
9f72d789
JB
751%dir %{_libdir}/%{name}/cserve2/loaders/jpeg
752%dir %{_libdir}/%{name}/cserve2/loaders/jpeg/linux-gnu-*
753%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/jpeg/linux-gnu-*/module.so
8761de99 754%dir %{_libdir}/%{name}/modules/loaders/jpeg
755%dir %{_libdir}/%{name}/modules/loaders/jpeg/linux-gnu-*
756%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/jpeg/linux-gnu-*/module.so
757
a7e1c749
BZ
758%files loader-pmaps
759%defattr(644,root,root,755)
9f72d789
JB
760%dir %{_libdir}/%{name}/cserve2/loaders/pmaps
761%dir %{_libdir}/%{name}/cserve2/loaders/pmaps/linux-gnu-*
762%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/pmaps/linux-gnu-*/module.so
a7e1c749
BZ
763%dir %{_libdir}/%{name}/modules/loaders/pmaps
764%dir %{_libdir}/%{name}/modules/loaders/pmaps/linux-gnu-*
765%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/pmaps/linux-gnu-*/module.so
766
8761de99 767%files loader-png
768%defattr(644,root,root,755)
9f72d789
JB
769%dir %{_libdir}/%{name}/cserve2/loaders/png
770%dir %{_libdir}/%{name}/cserve2/loaders/png/linux-gnu-*
771%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/png/linux-gnu-*/module.so
8761de99 772%dir %{_libdir}/%{name}/modules/loaders/png
773%dir %{_libdir}/%{name}/modules/loaders/png/linux-gnu-*
774%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/png/linux-gnu-*/module.so
775
9f72d789 776%if %{with svg}
245fd882 777%files loader-svg
778%defattr(644,root,root,755)
779%dir %{_libdir}/%{name}/modules/loaders/svg
780%dir %{_libdir}/%{name}/modules/loaders/svg/linux-gnu-*
781%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/svg/linux-gnu-*/module.so
9f72d789 782%endif
245fd882 783
8761de99 784%files loader-tiff
785%defattr(644,root,root,755)
9f72d789
JB
786%dir %{_libdir}/%{name}/cserve2/loaders/tiff
787%dir %{_libdir}/%{name}/cserve2/loaders/tiff/linux-gnu-*
788%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/tiff/linux-gnu-*/module.so
8761de99 789%dir %{_libdir}/%{name}/modules/loaders/tiff
790%dir %{_libdir}/%{name}/modules/loaders/tiff/linux-gnu-*
791%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/tiff/linux-gnu-*/module.so
792
245fd882 793%files loader-xpm
794%defattr(644,root,root,755)
9f72d789
JB
795%dir %{_libdir}/%{name}/cserve2/loaders/xpm
796%dir %{_libdir}/%{name}/cserve2/loaders/xpm/linux-gnu-*
797%attr(755,root,root) %{_libdir}/%{name}/cserve2/loaders/xpm/linux-gnu-*/module.so
245fd882 798%dir %{_libdir}/%{name}/modules/loaders/xpm
799%dir %{_libdir}/%{name}/modules/loaders/xpm/linux-gnu-*
800%attr(755,root,root) %{_libdir}/%{name}/modules/loaders/xpm/linux-gnu-*/module.so
801
8761de99 802%files saver-edb
803%defattr(644,root,root,755)
804%dir %{_libdir}/%{name}/modules/savers/edb
805%dir %{_libdir}/%{name}/modules/savers/edb/linux-gnu-*
806%attr(755,root,root) %{_libdir}/%{name}/modules/savers/edb/linux-gnu-*/module.so
807
808%files saver-eet
809%defattr(644,root,root,755)
810%dir %{_libdir}/%{name}/modules/savers/eet
811%dir %{_libdir}/%{name}/modules/savers/eet/linux-gnu-*
812%attr(755,root,root) %{_libdir}/%{name}/modules/savers/eet/linux-gnu-*/module.so
813
814%files saver-jpeg
815%defattr(644,root,root,755)
816%dir %{_libdir}/%{name}/modules/savers/jpeg
817%dir %{_libdir}/%{name}/modules/savers/jpeg/linux-gnu-*
818%attr(755,root,root) %{_libdir}/%{name}/modules/savers/jpeg/linux-gnu-*/module.so
819
820%files saver-png
821%defattr(644,root,root,755)
822%dir %{_libdir}/%{name}/modules/savers/png
823%dir %{_libdir}/%{name}/modules/savers/png/linux-gnu-*
824%attr(755,root,root) %{_libdir}/%{name}/modules/savers/png/linux-gnu-*/module.so
825
826%files saver-tiff
827%defattr(644,root,root,755)
828%dir %{_libdir}/%{name}/modules/savers/tiff
829%dir %{_libdir}/%{name}/modules/savers/tiff/linux-gnu-*
830%attr(755,root,root) %{_libdir}/%{name}/modules/savers/tiff/linux-gnu-*/module.so
This page took 0.331699 seconds and 4 git commands to generate.