3 %bcond_without static_libs # don't build static library
4 %bcond_with xcb # XCB instead of Xlib
8 Summary: Enlightened Core X interface library
9 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
15 Source0: http://download.enlightenment.org/snapshots/2008-09-25/%{name}-%{version}.tar.bz2
16 # Source0-md5: cab0952967240b607c01c5013caaddf4
17 URL: http://enlightenment.org/p.php?p=about/libs/ecore
18 BuildRequires: DirectFB-devel >= 0.9.16
19 BuildRequires: SDL-devel
20 BuildRequires: autoconf >= 2.52
21 BuildRequires: automake >= 1.6
22 BuildRequires: curl-devel
23 BuildRequires: eet-devel >= %{eet_ver}
24 BuildRequires: evas-devel >= %{version}
25 BuildRequires: libtool
26 BuildRequires: openssl-devel
27 BuildRequires: pkgconfig
28 BuildRequires: tslib-devel
30 BuildRequires: libxcb-devel
31 BuildRequires: xcb-util-devel
33 BuildRequires: xorg-lib-libXScrnSaver-devel
34 BuildRequires: xorg-lib-libXcursor-devel
35 BuildRequires: xorg-lib-libXdamage-devel
36 BuildRequires: xorg-lib-libXext-devel
37 BuildRequires: xorg-lib-libXfixes-devel
38 BuildRequires: xorg-lib-libXinerama-devel
39 BuildRequires: xorg-lib-libXp-devel
40 BuildRequires: xorg-lib-libXrandr-devel
41 BuildRequires: xorg-lib-libXrender-devel
43 Requires: evas >= %{version}
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 Ecore is the event/X abstraction layer that makes doing selections,
51 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
52 optimized, and convenient. It's a separate library so anyone can make
53 use of the work put into Ecore to make this job easy for applications.
55 %description -l pl.UTF-8
56 Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
57 zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
58 bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
59 biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
60 ułatwienia swojej pracy przy aplikacjach.
63 Summary: Ecore Connection Library
64 Summary(pl.UTF-8): Biblioteka połączeń Ecore
66 Requires: %{name} = %{version}-%{release}
70 Ecore Connection Library.
72 %description con -l pl.UTF-8
73 Biblioteka połączeń Ecore.
76 Summary: Ecore Enlightened Property Library
77 Summary(pl.UTF-8): Biblioteka właściwości Ecore
79 Requires: %{name}-ipc = %{version}-%{release}
83 Ecore Enlightened Property Library.
85 %description config -l pl.UTF-8
86 Biblioteka właściwości Ecore.
89 Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library
90 Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu
92 Requires: %{name}-file = %{version}-%{release}
96 Ecore freedesktop.org .desktop, icon, menu parsing Library.
98 %description desktop -l pl.UTF-8
99 Biblioteka przetwarzania plików .desktop, ikon i menu.
102 Summary: Ecore frame buffer system functions
103 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
105 Requires: %{name} = %{version}-%{release}
106 Requires: DirectFB >= 0.9.16
107 Conflicts: ecore-libs
109 %description directfb
110 Ecore frame buffer system functions.
112 %description directfb -l pl.UTF-8
113 Funkcje systemowe framebuffera Ecore.
116 Summary: Ecore frame buffer system functions
117 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
119 Requires: %{name} = %{version}-%{release}
120 Conflicts: ecore-libs
123 Ecore frame buffer system functions.
125 %description fb -l pl.UTF-8
126 Funkcje systemowe framebuffera Ecore.
129 Summary: Ecore File Library
130 Summary(pl.UTF-8): Biblioteka Ecore File
132 Requires: %{name} = %{version}-%{release}
133 Conflicts: ecore-libs
138 %description file -l pl.UTF-8
139 Biblioteka Ecore File.
142 Summary: Ecore library IMF module
143 Summary(pl.UTF-8): Moduł IMF biblioteki Ecore
145 Requires: %{name}-con = %{version}-%{release}
146 Conflicts: ecore-libs
149 Ecore library IMF module.
151 %description imf -l pl.UTF-8
152 Moduł IMF biblioteki Ecore.
155 Summary: Ecore library IMF Evas module
156 Summary(pl.UTF-8): Moduł IMF Evas biblioteki Ecore
158 Requires: %{name}-evas = %{version}-%{release}
159 Requires: %{name}-imf = %{version}-%{release}
160 Conflicts: ecore-libs
162 %description imf-evas
163 Ecore library IMF Evas module.
165 %description imf-evas -l pl.UTF-8
166 Moduł IMF Evas biblioteki Ecore.
169 Summary: Ecore inter-process communication functions
170 Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore
172 Requires: %{name}-con = %{version}-%{release}
173 Conflicts: ecore-libs
176 Ecore inter-process communication functions.
178 %description ipc -l pl.UTF-8
179 Funkcje komunikacji międzyprocesowej Ecore.
182 Summary: Ecore job dealing functions
183 Summary(pl.UTF-8): Funkcje obsługi zadań Ecore
185 Requires: %{name} = %{version}-%{release}
186 Conflicts: ecore-libs
189 Ecore job dealing functions.
191 %description job -l pl.UTF-8
192 Funkcje obsługi zadań Ecore.
195 Summary: Ecore library SDL module
196 Summary(pl.UTF-8): Moduł SDL biblioteki Ecore
198 Requires: %{name} = %{version}-%{release}
199 Conflicts: ecore-libs
202 Ecore library SDL module.
204 %description sdl -l pl.UTF-8
205 Moduł SDL biblioteki Ecore.
208 Summary: Ecore text encoding conversion functions
209 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
211 Requires: %{name} = %{version}-%{release}
212 Conflicts: ecore-libs
215 Ecore text encoding conversion functions.
217 %description txt -l pl.UTF-8
218 Funkcje konwersji kodowania tekstu Ecore.
221 Summary: Ecore functions for dealing with the X Window System
222 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
224 Requires: %{name}-txt = %{version}-%{release}
225 Conflicts: ecore-libs
228 Ecore functions for dealing with the X Window System.
230 %description x -l pl.UTF-8
231 Funkcje Ecore do obsługi X Window System.
234 Summary: Ecore header files
235 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
236 Group: Development/Libraries
237 Requires: %{name} = %{version}-%{release}
238 Requires: %{name}-con = %{version}-%{release}
239 # + openssl-devel curl-devel
240 Requires: %{name}-config = %{version}-%{release}
241 # + eet-devel >= 0.9.10.038
242 Requires: %{name}-desktop = %{version}-%{release}
243 Requires: %{name}-directfb = %{version}-%{release}
244 # + DirectFB-devel >= 0.9.16
245 Requires: %{name}-fb = %{version}-%{release}
247 Requires: %{name}-file = %{version}-%{release}
249 Requires: %{name}-imf = %{version}-%{release}
250 Requires: %{name}-ipc = %{version}-%{release}
251 Requires: %{name}-job = %{version}-%{release}
252 Requires: %{name}-sdl = %{version}-%{release}
254 Requires: %{name}-txt = %{version}-%{release}
255 Requires: %{name}-x = %{version}-%{release}
257 # + libxcb-devel xcb-util-devel
259 # + xorg-lib-libXScrnSaver-devel xorg-lib-libXcursor-devel xorg-lib-libXdamage-devel xorg-lib-libXext-devel xorg-lib-libXfixes-devel xorg-lib-libXinerama-devel xorg-lib-libXp-devel xorg-lib-libXrandr-devel xorg-lib-libXrender-devel
263 Ecore development files.
265 %description devel -l pl.UTF-8
266 Pliki programistyczne Ecore.
269 Summary: Static Ecore libraries
270 Summary(pl.UTF-8): Statyczne biblioteki Ecore
271 Group: Development/Libraries
272 Requires: %{name}-devel = %{version}-%{release}
275 Static Ecore libraries.
277 %description static -l pl.UTF-8
278 Statyczne biblioteki Ecore.
281 Summary: Ecore Evas Wrapper Library
282 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
284 #Requires: %{name}-directfb = %{version}-%{release}
285 Requires: %{name}-fb = %{version}-%{release}
286 Requires: %{name}-sdl = %{version}-%{release}
287 Requires: %{name}-x = %{version}-%{release}
288 Requires: evas >= %{version}
289 Conflicts: ecore-libs
292 Ecore Evas Wrapper Library.
294 %description evas -l pl.UTF-8
295 Biblioteka Ecore Evas Wrapper.
298 Summary: Header files for Ecore Evas Wrapper Library
299 Summary(pl.UTF-8): Pliki nagłówkowe biblioteka Ecore Evas Wrapper
300 Group: Development/Libraries
301 Requires: %{name}-devel = %{version}-%{release}
302 Requires: %{name}-imf-evas = %{version}-%{release}
303 #Requires: DirectFB-devel >= 0.9.16
305 Requires: evas-devel >= %{version}
306 Requires: tslib-devel
308 %description evas-devel
309 Header files for Ecore Evas Wrapper Library.
311 %description evas-devel -l pl.UTF-8
312 Pliki nagłówkowe biblioteka Ecore Evas Wrapper.
315 Summary: Static Ecore Evas Wrapper Library
316 Summary(pl.UTF-8): Biblioteka statyczna Ecore Evas Wrapper
317 Group: Development/Libraries
318 Requires: %{name}-evas-devel = %{version}-%{release}
320 %description evas-static
321 Static Ecore Evas Wrapper Library.
323 %description evas-static -l pl.UTF-8
324 Biblioteka statyczna Ecore Evas Wrapper.
327 %setup -q -n %{name}-%{version}
336 %{!?with_static_libs:--disable-static} \
338 --enable-ecore-config \
339 --enable-ecore-desktop \
340 --enable-ecore-directfb \
342 --enable-ecore-file \
348 %{?with_xcb:--enable-ecore-x-xcb} \
349 --enable-ecore-evas \
350 --enable-ecore-evas-buffer \
351 --disable-ecore-evas-dfb \
352 --enable-ecore-evas-fb \
353 --enable-ecore-evas-sdl \
354 --enable-ecore-evas-xrender \
360 # --enable-ecore-evas-dfb needs evas-directfb (currently disabled)
365 rm -rf $RPM_BUILD_ROOT
368 DESTDIR=$RPM_BUILD_ROOT
371 rm -rf $RPM_BUILD_ROOT
373 %post -p /sbin/ldconfig
374 %postun -p /sbin/ldconfig
375 %post con -p /sbin/ldconfig
376 %postun con -p /sbin/ldconfig
377 %post config -p /sbin/ldconfig
378 %postun config -p /sbin/ldconfig
379 %post directfb -p /sbin/ldconfig
380 %postun directfb -p /sbin/ldconfig
381 %post desktop -p /sbin/ldconfig
382 %postun desktop -p /sbin/ldconfig
383 %post evas -p /sbin/ldconfig
384 %postun evas -p /sbin/ldconfig
385 %post fb -p /sbin/ldconfig
386 %postun fb -p /sbin/ldconfig
387 %post file -p /sbin/ldconfig
388 %postun file -p /sbin/ldconfig
389 %post imf -p /sbin/ldconfig
390 %postun imf -p /sbin/ldconfig
391 %post imf-evas -p /sbin/ldconfig
392 %postun imf-evas -p /sbin/ldconfig
393 %post ipc -p /sbin/ldconfig
394 %postun ipc -p /sbin/ldconfig
395 %post job -p /sbin/ldconfig
396 %postun job -p /sbin/ldconfig
397 %post sdl -p /sbin/ldconfig
398 %postun sdl -p /sbin/ldconfig
399 %post txt -p /sbin/ldconfig
400 %postun txt -p /sbin/ldconfig
401 %post x -p /sbin/ldconfig
402 %postun x -p /sbin/ldconfig
405 %defattr(644,root,root,755)
406 %doc AUTHORS COPYING COPYING-PLAIN README
407 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
408 %attr(755,root,root) %ghost %{_libdir}/libecore.so.0
411 %defattr(644,root,root,755)
412 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
413 %attr(755,root,root) %ghost %{_libdir}/libecore_con.so.0
416 %defattr(644,root,root,755)
417 %attr(755,root,root) %{_bindir}/ecore_config
418 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
419 %attr(755,root,root) %ghost %{_libdir}/libecore_config.so.0
422 %defattr(644,root,root,755)
423 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
424 %attr(755,root,root) %ghost %{_libdir}/libecore_directfb.so.0
427 %defattr(644,root,root,755)
428 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
429 %attr(755,root,root) %ghost %{_libdir}/libecore_desktop.so.0
432 %defattr(644,root,root,755)
433 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
434 %attr(755,root,root) %ghost %{_libdir}/libecore_fb.so.0
437 %defattr(644,root,root,755)
438 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
439 %attr(755,root,root) %ghost %{_libdir}/libecore_file.so.0
442 %defattr(644,root,root,755)
443 %attr(755,root,root) %{_libdir}/libecore_imf.so.*.*.*
444 %attr(755,root,root) %ghost %{_libdir}/libecore_imf.so.0
447 %defattr(644,root,root,755)
448 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so.*.*.*
449 %attr(755,root,root) %ghost %{_libdir}/libecore_imf_evas.so.0
452 %defattr(644,root,root,755)
453 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
454 %attr(755,root,root) %ghost %{_libdir}/libecore_ipc.so.0
457 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
459 %attr(755,root,root) %ghost %{_libdir}/libecore_job.so.0
462 %defattr(644,root,root,755)
463 %attr(755,root,root) %{_libdir}/libecore_sdl.so.*.*.*
464 %attr(755,root,root) %ghost %{_libdir}/libecore_sdl.so.0
467 %defattr(644,root,root,755)
468 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
469 %attr(755,root,root) %ghost %{_libdir}/libecore_txt.so.0
472 %defattr(644,root,root,755)
473 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
474 %attr(755,root,root) %ghost %{_libdir}/libecore_x.so.0
477 %defattr(644,root,root,755)
478 %attr(755,root,root) %{_libdir}/libecore.so
479 %{_libdir}/libecore.la
480 %{_includedir}/Ecore.h
481 %{_includedir}/Ecore_Data.h
482 %{_includedir}/Ecore_Str.h
483 %{_pkgconfigdir}/ecore.pc
485 %attr(755,root,root) %{_libdir}/libecore_con.so
486 %attr(755,root,root) %{_libdir}/libecore_config.so
487 %attr(755,root,root) %{_libdir}/libecore_directfb.so
488 %attr(755,root,root) %{_libdir}/libecore_desktop.so
489 %attr(755,root,root) %{_libdir}/libecore_fb.so
490 %attr(755,root,root) %{_libdir}/libecore_file.so
491 %attr(755,root,root) %{_libdir}/libecore_imf.so
492 %attr(755,root,root) %{_libdir}/libecore_ipc.so
493 %attr(755,root,root) %{_libdir}/libecore_job.so
494 %attr(755,root,root) %{_libdir}/libecore_sdl.so
495 %attr(755,root,root) %{_libdir}/libecore_txt.so
496 %attr(755,root,root) %{_libdir}/libecore_x.so
497 %{_libdir}/libecore_con.la
498 %{_libdir}/libecore_config.la
499 %{_libdir}/libecore_directfb.la
500 %{_libdir}/libecore_desktop.la
501 %{_libdir}/libecore_fb.la
502 %{_libdir}/libecore_file.la
503 %{_libdir}/libecore_imf.la
504 %{_libdir}/libecore_ipc.la
505 %{_libdir}/libecore_job.la
506 %{_libdir}/libecore_sdl.la
507 %{_libdir}/libecore_txt.la
508 %{_libdir}/libecore_x.la
509 %{_includedir}/Ecore_Con.h
510 %{_includedir}/Ecore_Config.h
511 %{_includedir}/Ecore_Desktop.h
512 %{_includedir}/Ecore_DirectFB.h
513 %{_includedir}/Ecore_Fb.h
514 %{_includedir}/Ecore_File.h
515 %{_includedir}/Ecore_IMF.h
516 %{_includedir}/Ecore_Ipc.h
517 %{_includedir}/Ecore_Job.h
518 %{_includedir}/Ecore_Sdl.h
519 %{_includedir}/Ecore_Txt.h
520 %{_includedir}/Ecore_X.h
521 %{_includedir}/Ecore_X_Atoms.h
522 %{_includedir}/Ecore_X_Cursor.h
523 %{_pkgconfigdir}/ecore-con.pc
524 %{_pkgconfigdir}/ecore-config.pc
525 %{_pkgconfigdir}/ecore-directfb.pc
526 %{_pkgconfigdir}/ecore-desktop.pc
527 %{_pkgconfigdir}/ecore-fb.pc
528 %{_pkgconfigdir}/ecore-file.pc
529 %{_pkgconfigdir}/ecore-imf.pc
530 %{_pkgconfigdir}/ecore-ipc.pc
531 %{_pkgconfigdir}/ecore-job.pc
532 %{_pkgconfigdir}/ecore-sdl.pc
533 %{_pkgconfigdir}/ecore-txt.pc
534 %{_pkgconfigdir}/ecore-x.pc
536 %if %{with static_libs}
538 %defattr(644,root,root,755)
539 %{_libdir}/libecore.a
541 %{_libdir}/libecore_con.a
542 %{_libdir}/libecore_config.a
543 %{_libdir}/libecore_directfb.a
544 %{_libdir}/libecore_desktop.a
545 %{_libdir}/libecore_fb.a
546 %{_libdir}/libecore_file.a
547 %{_libdir}/libecore_imf.a
548 %{_libdir}/libecore_ipc.a
549 %{_libdir}/libecore_job.a
550 %{_libdir}/libecore_sdl.a
551 %{_libdir}/libecore_txt.a
552 %{_libdir}/libecore_x.a
556 %defattr(644,root,root,755)
557 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
558 %attr(755,root,root) %ghost %{_libdir}/libecore_evas.so.0
561 %defattr(644,root,root,755)
562 %attr(755,root,root) %{_libdir}/libecore_evas.so
563 %{_libdir}/libecore_evas.la
564 %{_includedir}/Ecore_Evas.h
565 %{_pkgconfigdir}/ecore-evas.pc
567 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so
568 %{_libdir}/libecore_imf_evas.la
569 %{_includedir}/Ecore_IMF_Evas.h
570 %{_pkgconfigdir}/ecore-imf-evas.pc
573 %defattr(644,root,root,755)
574 %{_libdir}/libecore_evas.a
576 %{_libdir}/libecore_imf_evas.a