]>
Commit | Line | Data |
---|---|---|
3b0f8708 | 1 | # |
32b49c04 | 2 | # Conditional build: |
c82e1489 JB |
3 | %bcond_without mmx # MMX and MMX2 support (on x86) |
4 | %bcond_without sse # SSE support (on x86) | |
5 | %bcond_without altivec # altivec support (on PPC) | |
6 | %bcond_without fb # FB engine | |
7 | %bcond_without directfb # DirectFB engine | |
8 | %bcond_without sdl # SDL (OpenGL and software) engines | |
a95c19d8 | 9 | %bcond_without xcb # software_x11 engine with XCB support |
8cd4650d | 10 | %bcond_without static_libs # don't build static library |
3b0f8708 | 11 | # |
6c429415 | 12 | %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664} |
ca577fef | 13 | %undefine with_mmx |
3b0f8708 | 14 | %endif |
6c429415 | 15 | %ifnarch i686 pentium3 pentium4 athlon %{x8664} |
ca577fef | 16 | %undefine with_sse |
17 | %endif | |
18 | %ifnarch ppc | |
19 | %undefine with_altivec | |
20 | %endif | |
21 | # | |
4ed58df2 | 22 | %define edb_ver 1.0.5.043 |
bf000e22 | 23 | %define eet_ver 1.4.0 |
a18274f3 | 24 | |
ee730ab3 | 25 | Summary: Multi-platform Canvas Library |
16e991b2 | 26 | Summary(pl.UTF-8): Wieloplatformowa biblioteka do rysowania |
ee730ab3 | 27 | Name: evas |
a95c19d8 | 28 | Version: 1.1.0 |
964d88ec | 29 | Release: 1 |
6c37f7fb | 30 | License: BSD |
ee730ab3 | 31 | Group: Libraries |
9cf71539 | 32 | Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 |
a95c19d8 JB |
33 | # Source0-md5: f8d8751be7cfc8124e5af31e2dced792 |
34 | Patch0: %{name}-harfbuzz.patch | |
fb73f06b | 35 | URL: http://trac.enlightenment.org/e/wiki/Evas |
c82e1489 | 36 | %{?with_directfb:BuildRequires: DirectFB-devel} |
50ceb922 | 37 | BuildRequires: Mesa-libGLU-devel |
c82e1489 | 38 | %{?with_sdl:BuildRequires: SDL-devel} |
6c429415 | 39 | BuildRequires: autoconf >= 2.59-9 |
faf23ef4 | 40 | BuildRequires: automake >= 1.6 |
a18274f3 BZ |
41 | BuildRequires: edb-devel >= %{edb_ver} |
42 | BuildRequires: eet-devel >= %{eet_ver} | |
a95c19d8 JB |
43 | BuildRequires: eina-devel >= 1.1.0 |
44 | BuildRequires: fontconfig-devel >= 2.5.0 | |
609b40ed | 45 | BuildRequires: freetype-devel >= 1:2.2 |
6c37f7fb | 46 | BuildRequires: fribidi-devel >= 0.19.2 |
d2865238 | 47 | BuildRequires: giflib-devel |
a95c19d8 | 48 | BuildRequires: harfbuzz-devel >= 0.6.0 |
ee730ab3 | 49 | BuildRequires: libjpeg-devel |
6c429415 JB |
50 | BuildRequires: libpng-devel >= 1.2 |
51 | BuildRequires: librsvg-devel >= 1:2.14.0 | |
8761de99 | 52 | BuildRequires: libtiff-devel |
ee730ab3 | 53 | BuildRequires: libtool |
3b0f8708 | 54 | BuildRequires: pkgconfig |
50ceb922 | 55 | BuildRequires: readline-devel |
6c429415 | 56 | BuildRequires: xorg-lib-libXext-devel |
964d88ec JB |
57 | %if %{with xcb} |
58 | BuildRequires: libxcb-devel | |
a95c19d8 JB |
59 | # --enable-pixman ? |
60 | #BuildRequires: pixman-devel | |
964d88ec JB |
61 | BuildRequires: xcb-util-image-devel >= 0.2.1 |
62 | %endif | |
a18274f3 | 63 | Requires: eet >= %{eet_ver} |
a95c19d8 | 64 | Requires: eina >= 1.1.0 |
6c37f7fb JB |
65 | Requires: freetype >= 1:2.2 |
66 | Requires: fribidi >= 0.19.2 | |
a95c19d8 | 67 | Requires: harfbuzz >= 0.6.0 |
f70301be | 68 | Obsoletes: evas-libs |
a95c19d8 JB |
69 | Obsoletes: evas-engine-software_16 |
70 | Obsoletes: evas-engine-software_qtopia | |
71 | Obsoletes: evas-engine-xrender_x11 | |
72 | Obsoletes: evas-engine-xrender_xcb | |
ee730ab3 | 73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74 | ||
ffb4a3b0 | 75 | %undefine __cxx |
76 | ||
ee730ab3 | 77 | %description |
78 | Evas is a clean display canvas API for several target display systems | |
79 | that can draw anti-aliased text, smooth super and sub-sampled scaled | |
80 | images, alpha-blend objects much and more. | |
81 | ||
40b45bbf JR |
82 | %description -l pl.UTF-8 |
83 | Evas to czyste API "płótna obrazu" dla różnych systemów wyświetlania, | |
84 | będące w stanie rysować tekst z antyaliasingiem, wygładzane, skalowane | |
ab7d1756 JB |
85 | obrazy, obiekty z alpha-blendingiem i inne elementy. |
86 | ||
ee730ab3 | 87 | %package devel |
ab7d1756 | 88 | Summary: Evas header files |
16e991b2 | 89 | Summary(pl.UTF-8): Pliki nagłówkowe Evas |
ee730ab3 | 90 | Group: Development/Libraries |
245fd882 | 91 | Requires: %{name} = %{version}-%{release} |
a18274f3 | 92 | Requires: eet-devel >= %{eet_ver} |
6c429415 | 93 | Requires: fontconfig-devel |
609b40ed | 94 | Requires: freetype-devel >= 1:2.2 |
6c37f7fb | 95 | Requires: fribidi-devel >= 0.19.2 |
a95c19d8 | 96 | Requires: harfbuzz-devel >= 0.6.0 |
ee730ab3 | 97 | |
98 | %description devel | |
ab7d1756 JB |
99 | Header files for Evas. |
100 | ||
40b45bbf JR |
101 | %description devel -l pl.UTF-8 |
102 | Pliki nagłówkowe Evas. | |
ee730ab3 | 103 | |
104 | %package static | |
ab7d1756 | 105 | Summary: Static Evas library |
16e991b2 | 106 | Summary(pl.UTF-8): Statyczna biblioteka Evas |
ee730ab3 | 107 | Group: Development/Libraries |
ab7d1756 | 108 | Requires: %{name}-devel = %{version}-%{release} |
ee730ab3 | 109 | |
110 | %description static | |
ab7d1756 JB |
111 | Static Evas library. |
112 | ||
40b45bbf | 113 | %description static -l pl.UTF-8 |
ab7d1756 | 114 | Statyczna biblioteka Evas. |
ee730ab3 | 115 | |
8761de99 | 116 | ##### MODULES ##### |
117 | # engines: | |
118 | %package engine-buffer | |
119 | Summary: Buffer rendering engine module for Evas | |
16e991b2 | 120 | Summary(pl.UTF-8): Moduł silnika renderującego do bufora dla Evas |
8761de99 | 121 | Group: X11/Libraries |
85ee035a | 122 | Requires: %{name}-engine-software_generic = %{version}-%{release} |
8761de99 | 123 | |
124 | %description engine-buffer | |
125 | Memory Buffer rendering engine module for Evas. | |
126 | ||
40b45bbf JR |
127 | %description engine-buffer -l pl.UTF-8 |
128 | Moduł silnika renderującego do bufora dla Evas. | |
5da3d643 | 129 | |
c82e1489 JB |
130 | %package engine-directfb |
131 | Summary: DirectFB rendering engine module for Evas | |
132 | Summary(pl.UTF-8): Moduł silnika renderującego na DirectFB dla Evas | |
133 | Group: X11/Libraries | |
134 | Requires: %{name} = %{version}-%{release} | |
135 | ||
136 | %description engine-directfb | |
137 | DirectFB rendering engine module for Evas. | |
138 | ||
139 | %description engine-directfb -l pl.UTF-8 | |
140 | Moduł silnika renderującego na DirectFB dla Evas. | |
141 | ||
8761de99 | 142 | %package engine-fb |
143 | Summary: Framebuffer rendering engine module for Evas | |
16e991b2 | 144 | Summary(pl.UTF-8): Moduł silnika renderującego na framebuffer dla Evas |
8761de99 | 145 | Group: X11/Libraries |
85ee035a | 146 | Requires: %{name}-engine-software_generic = %{version}-%{release} |
8761de99 | 147 | |
148 | %description engine-fb | |
149 | Framebuffer rendering engine module for Evas. | |
150 | ||
40b45bbf JR |
151 | %description engine-fb -l pl.UTF-8 |
152 | Moduł silnika renderującego na framebuffer dla Evas. | |
5da3d643 | 153 | |
b0fe12e6 | 154 | %package engine-gl_sdl |
155 | Summary: SDL OpenGL rendering engine module for Evas | |
156 | Summary(pl.UTF-8): Moduł silnika renderującego na SDL OpenGL dla Evas | |
157 | Group: X11/Libraries | |
158 | Requires: %{name}-engine-software_generic = %{version}-%{release} | |
159 | ||
160 | %description engine-gl_sdl | |
161 | SDL OpenGL rendering engine module for Evas. | |
162 | ||
163 | %description engine-gl_sdl -l pl.UTF-8 | |
164 | Moduł silnika renderującego na SDL OpenGL dla Evas. | |
165 | ||
8761de99 | 166 | %package engine-gl_x11 |
167 | Summary: OpenGL under X11 rendering engine module for Evas | |
16e991b2 | 168 | Summary(pl.UTF-8): Moduł silnika renderującego na OpenGL pod X11 dla Evas |
8761de99 | 169 | Group: X11/Libraries |
245fd882 | 170 | Requires: %{name} = %{version}-%{release} |
8761de99 | 171 | |
172 | %description engine-gl_x11 | |
173 | OpenGL under X11 rendering engine module for Evas. | |
174 | ||
40b45bbf JR |
175 | %description engine-gl_x11 -l pl.UTF-8 |
176 | Moduł silnika renderującego na OpenGL pod X11 dla Evas. | |
5da3d643 | 177 | |
c82e1489 JB |
178 | %package engine-software_16_sdl |
179 | Summary: 16-bit SDL software rendering engine module for Evas | |
180 | Summary(pl.UTF-8): Moduł silnika programowego renderującego 16-bitowego na SDL dla Evas | |
181 | Group: X11/Libraries | |
182 | Requires: %{name}-engine-software_generic = %{version}-%{release} | |
183 | ||
184 | %description engine-software_16_sdl | |
185 | 16-bit SDL software rendering engine module for Evas. | |
186 | ||
187 | %description engine-software_16_sdl -l pl.UTF-8 | |
188 | Moduł silnika programowego renderującego 16-bitowego na SDL dla Evas. | |
b0fe12e6 | 189 | |
8761de99 | 190 | %package engine-software_generic |
b0fe12e6 | 191 | Summary: Software rendering common engine module for Evas |
16e991b2 | 192 | Summary(pl.UTF-8): Moduł wspólnego programowego silnika renderującego dla Evas |
8761de99 | 193 | Group: X11/Libraries |
245fd882 | 194 | Requires: %{name} = %{version}-%{release} |
8761de99 | 195 | |
196 | %description engine-software_generic | |
197 | Software rendering common engine module for Evas. | |
198 | ||
40b45bbf JR |
199 | %description engine-software_generic -l pl.UTF-8 |
200 | Moduł wspólnego programowego silnika renderującego dla Evas. | |
5da3d643 | 201 | |
c82e1489 JB |
202 | %package engine-software_sdl |
203 | Summary: SDL software rendering engine module for Evas | |
204 | Summary(pl.UTF-8): Moduł silnika programowego renderującego na SDL dla Evas | |
205 | Group: X11/Libraries | |
206 | Requires: %{name}-engine-software_generic = %{version}-%{release} | |
207 | ||
208 | %description engine-software_sdl | |
209 | SDL software rendering engine module for Evas. | |
210 | ||
211 | %description engine-software_sdl -l pl.UTF-8 | |
212 | Moduł silnika programowego renderującego na SDL dla Evas. | |
213 | ||
8761de99 | 214 | %package engine-software_x11 |
215 | Summary: Software X11 rendering engine module for Evas | |
16e991b2 | 216 | Summary(pl.UTF-8): Moduł programowego silnika renderującego X11 dla Evas |
8761de99 | 217 | Group: X11/Libraries |
85ee035a | 218 | Requires: %{name}-engine-software_generic = %{version}-%{release} |
c82e1489 | 219 | Obsoletes: evas-engine-software_xcb |
8761de99 | 220 | |
221 | %description engine-software_x11 | |
222 | Software X11 rendering engine module for Evas. | |
223 | ||
40b45bbf JR |
224 | %description engine-software_x11 -l pl.UTF-8 |
225 | Moduł programowego silnika renderującego X11 dla Evas. | |
5da3d643 | 226 | |
8761de99 | 227 | # loaders: |
228 | %package loader-edb | |
229 | Summary: EDB Image loader module for Evas | |
16e991b2 | 230 | Summary(pl.UTF-8): Moduł wczytywania obrazów EDB dla Evas |
8761de99 | 231 | Group: X11/Libraries |
245fd882 | 232 | Requires: %{name} = %{version}-%{release} |
8761de99 | 233 | |
234 | %description loader-edb | |
235 | EDB Image loader module for Evas. | |
236 | ||
40b45bbf JR |
237 | %description loader-edb -l pl.UTF-8 |
238 | Moduł wczytywania obrazów EDB dla Evas. | |
5da3d643 | 239 | |
8761de99 | 240 | %package loader-eet |
241 | Summary: EET Image loader module for Evas | |
16e991b2 | 242 | Summary(pl.UTF-8): Moduł wczytywania obrazów EET dla Evas |
8761de99 | 243 | Group: X11/Libraries |
245fd882 | 244 | Requires: %{name} = %{version}-%{release} |
8761de99 | 245 | |
246 | %description loader-eet | |
247 | EET Image loader module for Evas. | |
248 | ||
40b45bbf JR |
249 | %description loader-eet -l pl.UTF-8 |
250 | Moduł wczytywania obrazów EET dla Evas. | |
5da3d643 | 251 | |
8761de99 | 252 | %package loader-gif |
253 | Summary: GIF Image loader module for Evas | |
16e991b2 | 254 | Summary(pl.UTF-8): Moduł wczytywania obrazów GIF dla Evas |
8761de99 | 255 | Group: X11/Libraries |
245fd882 | 256 | Requires: %{name} = %{version}-%{release} |
8761de99 | 257 | |
258 | %description loader-gif | |
259 | GIF Image loader module for Evas. | |
260 | ||
40b45bbf JR |
261 | %description loader-gif -l pl.UTF-8 |
262 | Moduł wczytywania obrazów GIF dla Evas. | |
5da3d643 | 263 | |
8761de99 | 264 | %package loader-jpeg |
265 | Summary: JPEG Image loader module for Evas | |
16e991b2 | 266 | Summary(pl.UTF-8): Moduł wczytywania obrazów JPEG dla Evas |
8761de99 | 267 | Group: X11/Libraries |
245fd882 | 268 | Requires: %{name} = %{version}-%{release} |
8761de99 | 269 | |
270 | %description loader-jpeg | |
271 | JPEG Image loader module for Evas. | |
272 | ||
40b45bbf JR |
273 | %description loader-jpeg -l pl.UTF-8 |
274 | Moduł wczytywania obrazów JPEG dla Evas. | |
5da3d643 | 275 | |
a7e1c749 BZ |
276 | %package loader-pmaps |
277 | Summary: PMAPS Image loader module for Evas | |
278 | Summary(pl.UTF-8): Moduł wczytywania obrazów PMAPS dla Evas | |
279 | Group: X11/Libraries | |
280 | Requires: %{name} = %{version}-%{release} | |
281 | ||
282 | %description loader-pmaps | |
283 | PMAPS Image loader module for Evas. | |
284 | ||
285 | %description loader-pmaps -l pl.UTF-8 | |
286 | Moduł wczytywania obrazów PMAPS dla Evas. | |
287 | ||
8761de99 | 288 | %package loader-png |
289 | Summary: PNG Image loader module for Evas | |
16e991b2 | 290 | Summary(pl.UTF-8): Moduł wczytywania obrazów PNG dla Evas |
8761de99 | 291 | Group: X11/Libraries |
245fd882 | 292 | Requires: %{name} = %{version}-%{release} |
8761de99 | 293 | |
294 | %description loader-png | |
295 | PNG Image loader module for Evas. | |
296 | ||
40b45bbf JR |
297 | %description loader-png -l pl.UTF-8 |
298 | Moduł wczytywania obrazów PNG dla Evas. | |
5da3d643 | 299 | |
245fd882 | 300 | %package loader-svg |
301 | Summary: SVG Image loader module for Evas | |
16e991b2 | 302 | Summary(pl.UTF-8): Moduł wczytywania obrazów SVG dla Evas |
245fd882 | 303 | Group: X11/Libraries |
304 | Requires: %{name} = %{version}-%{release} | |
6c429415 | 305 | Requires: librsvg >= 1:2.14.0 |
245fd882 | 306 | |
307 | %description loader-svg | |
308 | SVG Image loader module for Evas. | |
309 | ||
40b45bbf JR |
310 | %description loader-svg -l pl.UTF-8 |
311 | Moduł wczytywania obrazów SVG dla Evas. | |
245fd882 | 312 | |
8761de99 | 313 | %package loader-tiff |
314 | Summary: TIFF Image loader module for Evas | |
16e991b2 | 315 | Summary(pl.UTF-8): Moduł wczytywania obrazów TIFF dla Evas |
8761de99 | 316 | Group: X11/Libraries |
245fd882 | 317 | Requires: %{name} = %{version}-%{release} |
8761de99 | 318 | |
319 | %description loader-tiff | |
320 | TIFF Image loader module for Evas. | |
321 | ||
40b45bbf JR |
322 | %description loader-tiff -l pl.UTF-8 |
323 | Moduł wczytywania obrazów TIFF dla Evas. | |
5da3d643 | 324 | |
245fd882 | 325 | %package loader-xpm |
326 | Summary: XPM Image loader module for Evas | |
16e991b2 | 327 | Summary(pl.UTF-8): Moduł wczytywania obrazów XPM dla Evas |
245fd882 | 328 | Group: X11/Libraries |
329 | Requires: %{name} = %{version}-%{release} | |
330 | ||
331 | %description loader-xpm | |
332 | XPM Image loader module for Evas. | |
333 | ||
40b45bbf JR |
334 | %description loader-xpm -l pl.UTF-8 |
335 | Moduł wczytywania obrazów XPM dla Evas. | |
245fd882 | 336 | |
8761de99 | 337 | # savers: |
338 | %package saver-edb | |
339 | Summary: EDB Image saver module for Evas | |
16e991b2 | 340 | Summary(pl.UTF-8): Moduł zapisywania obrazów EDB dla Evas |
8761de99 | 341 | Group: X11/Libraries |
245fd882 | 342 | Requires: %{name} = %{version}-%{release} |
8761de99 | 343 | |
344 | %description saver-edb | |
345 | EDB Image saver module for Evas. | |
346 | ||
40b45bbf JR |
347 | %description saver-edb -l pl.UTF-8 |
348 | Moduł zapisywania obrazów EDB dla Evas. | |
5da3d643 | 349 | |
8761de99 | 350 | %package saver-eet |
351 | Summary: EET Image saver module for Evas | |
16e991b2 | 352 | Summary(pl.UTF-8): Moduł zapisywania obrazów EET dla Evas |
8761de99 | 353 | Group: X11/Libraries |
245fd882 | 354 | Requires: %{name} = %{version}-%{release} |
8761de99 | 355 | |
356 | %description saver-eet | |
357 | EET Image saver module for Evas. | |
358 | ||
40b45bbf JR |
359 | %description saver-eet -l pl.UTF-8 |
360 | Moduł zapisywania obrazów EET dla Evas. | |
5da3d643 | 361 | |
8761de99 | 362 | %package saver-jpeg |
363 | Summary: JPEG Image saver module for Evas | |
16e991b2 | 364 | Summary(pl.UTF-8): Moduł zapisywania obrazów JPEG dla Evas |
8761de99 | 365 | Group: X11/Libraries |
245fd882 | 366 | Requires: %{name} = %{version}-%{release} |
8761de99 | 367 | |
368 | %description saver-jpeg | |
369 | JPEG Image saver module for Evas. | |
370 | ||
40b45bbf JR |
371 | %description saver-jpeg -l pl.UTF-8 |
372 | Moduł zapisywania obrazów JPEG dla Evas. | |
5da3d643 | 373 | |
8761de99 | 374 | %package saver-png |
375 | Summary: PNG Image saver module for Evas | |
16e991b2 | 376 | Summary(pl.UTF-8): Moduł zapisywania obrazów PNG dla Evas |
8761de99 | 377 | Group: X11/Libraries |
245fd882 | 378 | Requires: %{name} = %{version}-%{release} |
8761de99 | 379 | |
380 | %description saver-png | |
381 | PNG Image saver module for Evas. | |
382 | ||
40b45bbf JR |
383 | %description saver-png -l pl.UTF-8 |
384 | Moduł zapisywania obrazów PNG dla Evas. | |
5da3d643 | 385 | |
8761de99 | 386 | %package saver-tiff |
387 | Summary: TIFF Image saver module for Evas | |
16e991b2 | 388 | Summary(pl.UTF-8): Moduł zapisywania obrazów TIFF dla Evas |
8761de99 | 389 | Group: X11/Libraries |
245fd882 | 390 | Requires: %{name} = %{version}-%{release} |
8761de99 | 391 | |
392 | %description saver-tiff | |
393 | TIFF Image saver module for Evas. | |
394 | ||
40b45bbf JR |
395 | %description saver-tiff -l pl.UTF-8 |
396 | Moduł zapisywania obrazów TIFF dla Evas. | |
5da3d643 | 397 | |
ee730ab3 | 398 | %prep |
9cf71539 | 399 | %setup -q -n %{name}-%{version} |
a95c19d8 | 400 | %patch0 -p1 |
ee730ab3 | 401 | |
402 | %build | |
245fd882 | 403 | %{__libtoolize} |
a7e1c749 | 404 | %{__aclocal} -I m4 |
245fd882 | 405 | %{__autoconf} |
406 | %{__autoheader} | |
407 | %{__automake} | |
ee730ab3 | 408 | %configure \ |
6c37f7fb | 409 | --disable-silent-rules \ |
8cd4650d | 410 | %{!?with_static_libs:--disable-static} \ |
6c37f7fb | 411 | --enable-buffer \ |
a95c19d8 JB |
412 | --enable-cpu-altivec%{!?with_altivec:=no} \ |
413 | --enable-cpu-c \ | |
414 | --enable-cpu-mmx%{!?with_mmx:=no} \ | |
415 | --enable-cpu-sse%{!?with_sse:=no} \ | |
6c37f7fb JB |
416 | --enable-directfb%{!?with_directfb:=no} \ |
417 | --enable-fb%{!?with_fb:=no} \ | |
a95c19d8 | 418 | --enable-font-loader-eet \ |
6c37f7fb JB |
419 | --enable-gl-sdl%{!?with_sdl:=no} \ |
420 | --enable-gl-x11 \ | |
3efa5131 | 421 | --enable-image-loader-edb \ |
245fd882 | 422 | --enable-image-loader-eet \ |
423 | --enable-image-loader-gif \ | |
424 | --enable-image-loader-jpeg \ | |
425 | --enable-image-loader-png \ | |
426 | --enable-image-loader-svg \ | |
427 | --enable-image-loader-tiff \ | |
428 | --enable-image-loader-xpm \ | |
a95c19d8 JB |
429 | --enable-pixman \ |
430 | --enable-software-sdl%{!?with_sdl:=no} \ | |
431 | --enable-software-xcb%{!?with_xcb:=no} \ | |
353188a7 | 432 | --disable-valgrind |
ca577fef | 433 | |
6c37f7fb | 434 | %{__make} |
ee730ab3 | 435 | |
436 | %install | |
437 | rm -rf $RPM_BUILD_ROOT | |
ab7d1756 | 438 | |
ee730ab3 | 439 | %{__make} install \ |
440 | DESTDIR=$RPM_BUILD_ROOT | |
441 | ||
6c37f7fb | 442 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*/*/*/module.la |
c82e1489 | 443 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/engines/software_16_sdl/linux-gnu-*/module.a |
3efa5131 | 444 | |
a95c19d8 JB |
445 | install -d $RPM_BUILD_ROOT%{_examplesdir} |
446 | mv -f $RPM_BUILD_ROOT%{_datadir}/evas/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
447 | ||
ee730ab3 | 448 | %clean |
449 | rm -rf $RPM_BUILD_ROOT | |
450 | ||
245fd882 | 451 | %post -p /sbin/ldconfig |
452 | %postun -p /sbin/ldconfig | |
ee730ab3 | 453 | |
454 | %files | |
455 | %defattr(644,root,root,755) | |
a95c19d8 | 456 | %doc AUTHORS COPYING ChangeLog NEWS README |
b0fe12e6 | 457 | %attr(755,root,root) %{_bindir}/evas_cserve |
458 | %attr(755,root,root) %{_bindir}/evas_cserve_tool | |
1774f6cc JB |
459 | %attr(755,root,root) %{_libdir}/libevas.so.*.*.* |
460 | %attr(755,root,root) %ghost %{_libdir}/libevas.so.1 | |
b08700b8 | 461 | %dir %{_libdir}/%{name} |
462 | %dir %{_libdir}/%{name}/modules | |
6c429415 JB |
463 | %dir %{_libdir}/%{name}/modules/engines |
464 | %dir %{_libdir}/%{name}/modules/loaders | |
465 | %dir %{_libdir}/%{name}/modules/savers | |
1774f6cc JB |
466 | # loaders without additional dependencies |
467 | %dir %{_libdir}/%{name}/modules/loaders/bmp | |
468 | %dir %{_libdir}/%{name}/modules/loaders/bmp/linux-gnu-* | |
469 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/bmp/linux-gnu-*/module.so | |
a95c19d8 JB |
470 | %dir %{_libdir}/%{name}/modules/loaders/generic |
471 | %dir %{_libdir}/%{name}/modules/loaders/generic/linux-gnu-* | |
472 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/generic/linux-gnu-*/module.so | |
473 | %dir %{_libdir}/%{name}/modules/loaders/ico | |
474 | %dir %{_libdir}/%{name}/modules/loaders/ico/linux-gnu-* | |
475 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/ico/linux-gnu-*/module.so | |
476 | %dir %{_libdir}/%{name}/modules/loaders/psd | |
477 | %dir %{_libdir}/%{name}/modules/loaders/psd/linux-gnu-* | |
478 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/psd/linux-gnu-*/module.so | |
1774f6cc JB |
479 | %dir %{_libdir}/%{name}/modules/loaders/tga |
480 | %dir %{_libdir}/%{name}/modules/loaders/tga/linux-gnu-* | |
481 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/tga/linux-gnu-*/module.so | |
a95c19d8 JB |
482 | %dir %{_libdir}/%{name}/modules/loaders/wbmp |
483 | %dir %{_libdir}/%{name}/modules/loaders/wbmp/linux-gnu-* | |
484 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/wbmp/linux-gnu-*/module.so | |
1920e53d | 485 | |
ee730ab3 | 486 | %files devel |
487 | %defattr(644,root,root,755) | |
ee730ab3 | 488 | %attr(755,root,root) %{_libdir}/libevas.so |
489 | %{_libdir}/libevas.la | |
1774f6cc | 490 | %{_includedir}/evas-1 |
ee730ab3 | 491 | %{_pkgconfigdir}/evas.pc |
6c429415 | 492 | # engine private structures |
c82e1489 JB |
493 | %{?with_directfb:%{_pkgconfigdir}/evas-directfb.pc} |
494 | %{_pkgconfigdir}/evas-fb.pc | |
495 | %{?with_sdl:%{_pkgconfigdir}/evas-opengl-sdl.pc} | |
496 | %{_pkgconfigdir}/evas-opengl-x11.pc | |
497 | %{_pkgconfigdir}/evas-software-buffer.pc | |
498 | %{?with_sdl:%{_pkgconfigdir}/evas-software-sdl.pc} | |
499 | %{_pkgconfigdir}/evas-software-x11.pc | |
a95c19d8 | 500 | %{_examplesdir}/%{name}-%{version} |
ee730ab3 | 501 | |
8cd4650d | 502 | %if %{with static_libs} |
ee730ab3 | 503 | %files static |
504 | %defattr(644,root,root,755) | |
505 | %{_libdir}/libevas.a | |
8cd4650d | 506 | %endif |
8761de99 | 507 | |
508 | %files engine-buffer | |
509 | %defattr(644,root,root,755) | |
510 | %dir %{_libdir}/%{name}/modules/engines/buffer | |
511 | %dir %{_libdir}/%{name}/modules/engines/buffer/linux-gnu-* | |
512 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/buffer/linux-gnu-*/module.so | |
513 | ||
b0fe12e6 | 514 | %if %{with directfb} |
515 | %files engine-directfb | |
516 | %defattr(644,root,root,755) | |
517 | %dir %{_libdir}/%{name}/modules/engines/directfb | |
518 | %dir %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-* | |
519 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*/module.so | |
520 | %endif | |
521 | ||
574e9baa | 522 | %if %{with fb} |
8761de99 | 523 | %files engine-fb |
524 | %defattr(644,root,root,755) | |
525 | %dir %{_libdir}/%{name}/modules/engines/fb | |
526 | %dir %{_libdir}/%{name}/modules/engines/fb/linux-gnu-* | |
527 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/fb/linux-gnu-*/module.so | |
574e9baa | 528 | %endif |
8761de99 | 529 | |
c82e1489 JB |
530 | %if %{with sdl} |
531 | %files engine-gl_sdl | |
532 | %defattr(644,root,root,755) | |
533 | %dir %{_libdir}/%{name}/modules/engines/gl_sdl | |
534 | %dir %{_libdir}/%{name}/modules/engines/gl_sdl/linux-gnu-* | |
535 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/gl_sdl/linux-gnu-*/module.so | |
536 | %endif | |
537 | ||
8761de99 | 538 | %files engine-gl_x11 |
539 | %defattr(644,root,root,755) | |
540 | %dir %{_libdir}/%{name}/modules/engines/gl_x11 | |
541 | %dir %{_libdir}/%{name}/modules/engines/gl_x11/linux-gnu-* | |
542 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/gl_x11/linux-gnu-*/module.so | |
543 | ||
c82e1489 JB |
544 | %if %{with sdl} |
545 | %files engine-software_16_sdl | |
546 | %defattr(644,root,root,755) | |
547 | %dir %{_libdir}/%{name}/modules/engines/software_16_sdl | |
548 | %dir %{_libdir}/%{name}/modules/engines/software_16_sdl/linux-gnu-* | |
549 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_16_sdl/linux-gnu-*/module.so | |
550 | %endif | |
551 | ||
8761de99 | 552 | %files engine-software_generic |
553 | %defattr(644,root,root,755) | |
554 | %dir %{_libdir}/%{name}/modules/engines/software_generic | |
555 | %dir %{_libdir}/%{name}/modules/engines/software_generic/linux-gnu-* | |
556 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_generic/linux-gnu-*/module.so | |
557 | ||
c82e1489 JB |
558 | %if %{with sdl} |
559 | %files engine-software_sdl | |
560 | %defattr(644,root,root,755) | |
561 | %dir %{_libdir}/%{name}/modules/engines/software_sdl | |
562 | %dir %{_libdir}/%{name}/modules/engines/software_sdl/linux-gnu-* | |
563 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_sdl/linux-gnu-*/module.so | |
564 | %endif | |
565 | ||
8761de99 | 566 | %files engine-software_x11 |
567 | %defattr(644,root,root,755) | |
568 | %dir %{_libdir}/%{name}/modules/engines/software_x11 | |
569 | %dir %{_libdir}/%{name}/modules/engines/software_x11/linux-gnu-* | |
570 | %attr(755,root,root) %{_libdir}/%{name}/modules/engines/software_x11/linux-gnu-*/module.so | |
571 | ||
8761de99 | 572 | %files loader-edb |
573 | %defattr(644,root,root,755) | |
574 | %dir %{_libdir}/%{name}/modules/loaders/edb | |
575 | %dir %{_libdir}/%{name}/modules/loaders/edb/linux-gnu-* | |
576 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/edb/linux-gnu-*/module.so | |
577 | ||
578 | %files loader-eet | |
579 | %defattr(644,root,root,755) | |
580 | %dir %{_libdir}/%{name}/modules/loaders/eet | |
581 | %dir %{_libdir}/%{name}/modules/loaders/eet/linux-gnu-* | |
582 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/eet/linux-gnu-*/module.so | |
583 | ||
584 | %files loader-gif | |
585 | %defattr(644,root,root,755) | |
586 | %dir %{_libdir}/%{name}/modules/loaders/gif | |
587 | %dir %{_libdir}/%{name}/modules/loaders/gif/linux-gnu-* | |
588 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/gif/linux-gnu-*/module.so | |
589 | ||
590 | %files loader-jpeg | |
591 | %defattr(644,root,root,755) | |
592 | %dir %{_libdir}/%{name}/modules/loaders/jpeg | |
593 | %dir %{_libdir}/%{name}/modules/loaders/jpeg/linux-gnu-* | |
594 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/jpeg/linux-gnu-*/module.so | |
595 | ||
a7e1c749 BZ |
596 | %files loader-pmaps |
597 | %defattr(644,root,root,755) | |
598 | %dir %{_libdir}/%{name}/modules/loaders/pmaps | |
599 | %dir %{_libdir}/%{name}/modules/loaders/pmaps/linux-gnu-* | |
600 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/pmaps/linux-gnu-*/module.so | |
601 | ||
8761de99 | 602 | %files loader-png |
603 | %defattr(644,root,root,755) | |
604 | %dir %{_libdir}/%{name}/modules/loaders/png | |
605 | %dir %{_libdir}/%{name}/modules/loaders/png/linux-gnu-* | |
606 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/png/linux-gnu-*/module.so | |
607 | ||
245fd882 | 608 | %files loader-svg |
609 | %defattr(644,root,root,755) | |
610 | %dir %{_libdir}/%{name}/modules/loaders/svg | |
611 | %dir %{_libdir}/%{name}/modules/loaders/svg/linux-gnu-* | |
612 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/svg/linux-gnu-*/module.so | |
613 | ||
8761de99 | 614 | %files loader-tiff |
615 | %defattr(644,root,root,755) | |
616 | %dir %{_libdir}/%{name}/modules/loaders/tiff | |
617 | %dir %{_libdir}/%{name}/modules/loaders/tiff/linux-gnu-* | |
618 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/tiff/linux-gnu-*/module.so | |
619 | ||
245fd882 | 620 | %files loader-xpm |
621 | %defattr(644,root,root,755) | |
622 | %dir %{_libdir}/%{name}/modules/loaders/xpm | |
623 | %dir %{_libdir}/%{name}/modules/loaders/xpm/linux-gnu-* | |
624 | %attr(755,root,root) %{_libdir}/%{name}/modules/loaders/xpm/linux-gnu-*/module.so | |
625 | ||
8761de99 | 626 | %files saver-edb |
627 | %defattr(644,root,root,755) | |
628 | %dir %{_libdir}/%{name}/modules/savers/edb | |
629 | %dir %{_libdir}/%{name}/modules/savers/edb/linux-gnu-* | |
630 | %attr(755,root,root) %{_libdir}/%{name}/modules/savers/edb/linux-gnu-*/module.so | |
631 | ||
632 | %files saver-eet | |
633 | %defattr(644,root,root,755) | |
634 | %dir %{_libdir}/%{name}/modules/savers/eet | |
635 | %dir %{_libdir}/%{name}/modules/savers/eet/linux-gnu-* | |
636 | %attr(755,root,root) %{_libdir}/%{name}/modules/savers/eet/linux-gnu-*/module.so | |
637 | ||
638 | %files saver-jpeg | |
639 | %defattr(644,root,root,755) | |
640 | %dir %{_libdir}/%{name}/modules/savers/jpeg | |
641 | %dir %{_libdir}/%{name}/modules/savers/jpeg/linux-gnu-* | |
642 | %attr(755,root,root) %{_libdir}/%{name}/modules/savers/jpeg/linux-gnu-*/module.so | |
643 | ||
644 | %files saver-png | |
645 | %defattr(644,root,root,755) | |
646 | %dir %{_libdir}/%{name}/modules/savers/png | |
647 | %dir %{_libdir}/%{name}/modules/savers/png/linux-gnu-* | |
648 | %attr(755,root,root) %{_libdir}/%{name}/modules/savers/png/linux-gnu-*/module.so | |
649 | ||
650 | %files saver-tiff | |
651 | %defattr(644,root,root,755) | |
652 | %dir %{_libdir}/%{name}/modules/savers/tiff | |
653 | %dir %{_libdir}/%{name}/modules/savers/tiff/linux-gnu-* | |
654 | %attr(755,root,root) %{_libdir}/%{name}/modules/savers/tiff/linux-gnu-*/module.so |