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