3 %bcond_without static_libs # don't build static library
4 %bcond_with xcb # XCB instead of Xlib
9 Summary: Enlightened Core X interface library
10 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
16 Source0: %{name}-%{version}-%{_snap}.tar.bz2
17 # Source0-md5: d04c6ca6acfd6b05b81ac4d65b2f229b
18 URL: http://enlightenment.org/p.php?p=about/libs/ecore
19 BuildRequires: DirectFB-devel >= 0.9.16
20 BuildRequires: SDL-devel
21 BuildRequires: autoconf >= 2.52
22 BuildRequires: automake >= 1.6
23 BuildRequires: curl-devel
24 BuildRequires: eet-devel >= %{eet_ver}
25 BuildRequires: evas-devel >= %{version}
26 BuildRequires: libtool
27 BuildRequires: openssl-devel
28 BuildRequires: pkgconfig
29 BuildRequires: tslib-devel
31 BuildRequires: libxcb-devel
32 BuildRequires: xcb-util-devel
34 BuildRequires: xorg-lib-libXScrnSaver-devel
35 BuildRequires: xorg-lib-libXcursor-devel
36 BuildRequires: xorg-lib-libXdamage-devel
37 BuildRequires: xorg-lib-libXext-devel
38 BuildRequires: xorg-lib-libXfixes-devel
39 BuildRequires: xorg-lib-libXinerama-devel
40 BuildRequires: xorg-lib-libXp-devel
41 BuildRequires: xorg-lib-libXrandr-devel
42 BuildRequires: xorg-lib-libXrender-devel
44 Requires: evas >= %{version}
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 Ecore is the event/X abstraction layer that makes doing selections,
52 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
53 optimized, and convenient. It's a separate library so anyone can make
54 use of the work put into Ecore to make this job easy for applications.
56 %description -l pl.UTF-8
57 Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
58 zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
59 bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
60 biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
61 ułatwienia swojej pracy przy aplikacjach.
64 Summary: Ecore Connection Library
65 Summary(pl.UTF-8): Biblioteka połączeń Ecore
67 Requires: %{name} = %{version}-%{release}
71 Ecore Connection Library.
73 %description con -l pl.UTF-8
74 Biblioteka połączeń Ecore.
77 Summary: Ecore Enlightened Property Library
78 Summary(pl.UTF-8): Biblioteka właściwości Ecore
80 Requires: %{name}-ipc = %{version}-%{release}
81 Requires: evas-devel >= %{version}
82 Requires: eet-devel >= %{eet_ver}
86 Ecore Enlightened Property Library.
88 %description config -l pl.UTF-8
89 Biblioteka właściwości Ecore.
92 Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library
93 Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu
95 Requires: %{name}-file = %{version}-%{release}
99 Ecore freedesktop.org .desktop, icon, menu parsing Library.
101 %description desktop -l pl.UTF-8
102 Biblioteka przetwarzania plików .desktop, ikon i menu.
105 Summary: Ecore frame buffer system functions
106 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
108 Requires: %{name} = %{version}-%{release}
109 Requires: DirectFB >= 0.9.16
110 Conflicts: ecore-libs
112 %description directfb
113 Ecore frame buffer system functions.
115 %description directfb -l pl.UTF-8
116 Funkcje systemowe framebuffera Ecore.
119 Summary: Ecore frame buffer system functions
120 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
122 Requires: %{name} = %{version}-%{release}
123 Conflicts: ecore-libs
126 Ecore frame buffer system functions.
128 %description fb -l pl.UTF-8
129 Funkcje systemowe framebuffera Ecore.
132 Summary: Ecore File Library
133 Summary(pl.UTF-8): Biblioteka Ecore File
135 Requires: %{name} = %{version}-%{release}
136 Conflicts: ecore-libs
141 %description file -l pl.UTF-8
142 Biblioteka Ecore File.
145 Summary: Ecore library IMF module
146 Summary(pl.UTF-8): Moduł IMF biblioteki Ecore
148 Requires: %{name}-con = %{version}-%{release}
149 Conflicts: ecore-libs
152 Ecore library IMF module.
154 %description imf -l pl.UTF-8
155 Moduł IMF biblioteki Ecore.
158 Summary: Ecore library IMF Evas module
159 Summary(pl.UTF-8): Moduł IMF Evas biblioteki Ecore
161 Requires: %{name}-evas = %{version}-%{release}
162 Requires: %{name}-imf = %{version}-%{release}
163 Conflicts: ecore-libs
165 %description imf-evas
166 Ecore library IMF Evas module.
168 %description imf-evas -l pl.UTF-8
169 Moduł IMF Evas biblioteki Ecore.
172 Summary: Ecore inter-process communication functions
173 Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore
175 Requires: %{name}-con = %{version}-%{release}
176 Conflicts: ecore-libs
179 Ecore inter-process communication functions.
181 %description ipc -l pl.UTF-8
182 Funkcje komunikacji międzyprocesowej Ecore.
185 Summary: Ecore job dealing functions
186 Summary(pl.UTF-8): Funkcje obsługi zadań Ecore
188 Requires: %{name} = %{version}-%{release}
189 Conflicts: ecore-libs
192 Ecore job dealing functions.
194 %description job -l pl.UTF-8
195 Funkcje obsługi zadań Ecore.
198 Summary: Ecore library SDL module
199 Summary(pl.UTF-8): Moduł SDL biblioteki Ecore
201 Requires: %{name} = %{version}-%{release}
202 Conflicts: ecore-libs
205 Ecore library SDL module.
207 %description sdl -l pl.UTF-8
208 Moduł SDL biblioteki Ecore.
211 Summary: Ecore text encoding conversion functions
212 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
214 Requires: %{name} = %{version}-%{release}
215 Conflicts: ecore-libs
218 Ecore text encoding conversion functions.
220 %description txt -l pl.UTF-8
221 Funkcje konwersji kodowania tekstu Ecore.
224 Summary: Ecore functions for dealing with the X Window System
225 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
227 Requires: %{name}-txt = %{version}-%{release}
228 Conflicts: ecore-libs
231 Ecore functions for dealing with the X Window System.
233 %description x -l pl.UTF-8
234 Funkcje Ecore do obsługi X Window System.
237 Summary: Ecore header files
238 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
239 Group: Development/Libraries
240 Requires: %{name} = %{version}-%{release}
241 Requires: %{name}-con = %{version}-%{release}
242 # + openssl-devel curl-devel
243 Requires: %{name}-config = %{version}-%{release}
244 # + eet-devel >= 0.9.10.038
245 Requires: %{name}-desktop = %{version}-%{release}
246 Requires: %{name}-directfb = %{version}-%{release}
247 # + DirectFB-devel >= 0.9.16
248 Requires: %{name}-fb = %{version}-%{release}
250 Requires: %{name}-file = %{version}-%{release}
252 Requires: %{name}-imf = %{version}-%{release}
253 Requires: %{name}-ipc = %{version}-%{release}
254 Requires: %{name}-job = %{version}-%{release}
255 Requires: %{name}-sdl = %{version}-%{release}
257 Requires: %{name}-txt = %{version}-%{release}
258 Requires: %{name}-x = %{version}-%{release}
260 # + libxcb-devel xcb-util-devel
262 # + 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
266 Ecore development files.
268 %description devel -l pl.UTF-8
269 Pliki programistyczne Ecore.
272 Summary: Static Ecore libraries
273 Summary(pl.UTF-8): Statyczne biblioteki Ecore
274 Group: Development/Libraries
275 Requires: %{name}-devel = %{version}-%{release}
278 Static Ecore libraries.
280 %description static -l pl.UTF-8
281 Statyczne biblioteki Ecore.
284 Summary: Ecore Evas Wrapper Library
285 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
287 #Requires: %{name}-directfb = %{version}-%{release}
288 Requires: %{name}-fb = %{version}-%{release}
289 Requires: %{name}-sdl = %{version}-%{release}
290 Requires: %{name}-x = %{version}-%{release}
291 Requires: evas >= %{version}
292 Conflicts: ecore-libs
295 Ecore Evas Wrapper Library.
297 %description evas -l pl.UTF-8
298 Biblioteka Ecore Evas Wrapper.
301 Summary: Header files for Ecore Evas Wrapper Library
302 Summary(pl.UTF-8): Pliki nagłówkowe biblioteka Ecore Evas Wrapper
303 Group: Development/Libraries
304 Requires: %{name}-devel = %{version}-%{release}
305 Requires: %{name}-imf-evas = %{version}-%{release}
306 #Requires: DirectFB-devel >= 0.9.16
308 Requires: evas-devel >= %{version}
309 Requires: tslib-devel
311 %description evas-devel
312 Header files for Ecore Evas Wrapper Library.
314 %description evas-devel -l pl.UTF-8
315 Pliki nagłówkowe biblioteka Ecore Evas Wrapper.
318 Summary: Static Ecore Evas Wrapper Library
319 Summary(pl.UTF-8): Biblioteka statyczna Ecore Evas Wrapper
320 Group: Development/Libraries
321 Requires: %{name}-evas-devel = %{version}-%{release}
323 %description evas-static
324 Static Ecore Evas Wrapper Library.
326 %description evas-static -l pl.UTF-8
327 Biblioteka statyczna Ecore Evas Wrapper.
330 %setup -q -n %{name}-%{version}-%{_snap}
339 %{!?with_static_libs:--disable-static} \
341 --enable-ecore-config \
342 --enable-ecore-desktop \
343 --enable-ecore-directfb \
345 --enable-ecore-file \
351 %{?with_xcb:--enable-ecore-x-xcb} \
352 --enable-ecore-evas \
353 --enable-ecore-evas-buffer \
354 --disable-ecore-evas-dfb \
355 --enable-ecore-evas-fb \
356 --enable-ecore-evas-sdl \
357 --enable-ecore-evas-xrender \
363 # --enable-ecore-evas-dfb needs evas-directfb (currently disabled)
368 rm -rf $RPM_BUILD_ROOT
371 DESTDIR=$RPM_BUILD_ROOT
374 rm -rf $RPM_BUILD_ROOT
376 %post -p /sbin/ldconfig
377 %postun -p /sbin/ldconfig
378 %post con -p /sbin/ldconfig
379 %postun con -p /sbin/ldconfig
380 %post config -p /sbin/ldconfig
381 %postun config -p /sbin/ldconfig
382 %post directfb -p /sbin/ldconfig
383 %postun directfb -p /sbin/ldconfig
384 %post desktop -p /sbin/ldconfig
385 %postun desktop -p /sbin/ldconfig
386 %post evas -p /sbin/ldconfig
387 %postun evas -p /sbin/ldconfig
388 %post fb -p /sbin/ldconfig
389 %postun fb -p /sbin/ldconfig
390 %post file -p /sbin/ldconfig
391 %postun file -p /sbin/ldconfig
392 %post imf -p /sbin/ldconfig
393 %postun imf -p /sbin/ldconfig
394 %post imf-evas -p /sbin/ldconfig
395 %postun imf-evas -p /sbin/ldconfig
396 %post ipc -p /sbin/ldconfig
397 %postun ipc -p /sbin/ldconfig
398 %post job -p /sbin/ldconfig
399 %postun job -p /sbin/ldconfig
400 %post sdl -p /sbin/ldconfig
401 %postun sdl -p /sbin/ldconfig
402 %post txt -p /sbin/ldconfig
403 %postun txt -p /sbin/ldconfig
404 %post x -p /sbin/ldconfig
405 %postun x -p /sbin/ldconfig
408 %defattr(644,root,root,755)
409 %doc AUTHORS COPYING COPYING-PLAIN README
410 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
411 %attr(755,root,root) %ghost %{_libdir}/libecore.so.0
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
416 %attr(755,root,root) %ghost %{_libdir}/libecore_con.so.0
419 %defattr(644,root,root,755)
420 %attr(755,root,root) %{_bindir}/ecore_config
421 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
422 %attr(755,root,root) %ghost %{_libdir}/libecore_config.so.0
425 %defattr(644,root,root,755)
426 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
427 %attr(755,root,root) %ghost %{_libdir}/libecore_directfb.so.0
430 %defattr(644,root,root,755)
431 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
432 %attr(755,root,root) %ghost %{_libdir}/libecore_desktop.so.0
435 %defattr(644,root,root,755)
436 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
437 %attr(755,root,root) %ghost %{_libdir}/libecore_fb.so.0
440 %defattr(644,root,root,755)
441 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
442 %attr(755,root,root) %ghost %{_libdir}/libecore_file.so.0
445 %defattr(644,root,root,755)
446 %attr(755,root,root) %{_libdir}/libecore_imf.so.*.*.*
447 %attr(755,root,root) %ghost %{_libdir}/libecore_imf.so.0
450 %defattr(644,root,root,755)
451 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so.*.*.*
452 %attr(755,root,root) %ghost %{_libdir}/libecore_imf_evas.so.0
455 %defattr(644,root,root,755)
456 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
457 %attr(755,root,root) %ghost %{_libdir}/libecore_ipc.so.0
460 %defattr(644,root,root,755)
461 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
462 %attr(755,root,root) %ghost %{_libdir}/libecore_job.so.0
465 %defattr(644,root,root,755)
466 %attr(755,root,root) %{_libdir}/libecore_sdl.so.*.*.*
467 %attr(755,root,root) %ghost %{_libdir}/libecore_sdl.so.0
470 %defattr(644,root,root,755)
471 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
472 %attr(755,root,root) %ghost %{_libdir}/libecore_txt.so.0
475 %defattr(644,root,root,755)
476 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
477 %attr(755,root,root) %ghost %{_libdir}/libecore_x.so.0
480 %defattr(644,root,root,755)
481 %attr(755,root,root) %{_libdir}/libecore.so
482 %{_libdir}/libecore.la
483 %{_includedir}/Ecore.h
484 %{_includedir}/Ecore_Data.h
485 %{_includedir}/Ecore_Str.h
486 %{_pkgconfigdir}/ecore.pc
488 %attr(755,root,root) %{_libdir}/libecore_con.so
489 %attr(755,root,root) %{_libdir}/libecore_config.so
490 %attr(755,root,root) %{_libdir}/libecore_directfb.so
491 %attr(755,root,root) %{_libdir}/libecore_desktop.so
492 %attr(755,root,root) %{_libdir}/libecore_fb.so
493 %attr(755,root,root) %{_libdir}/libecore_file.so
494 %attr(755,root,root) %{_libdir}/libecore_imf.so
495 %attr(755,root,root) %{_libdir}/libecore_ipc.so
496 %attr(755,root,root) %{_libdir}/libecore_job.so
497 %attr(755,root,root) %{_libdir}/libecore_sdl.so
498 %attr(755,root,root) %{_libdir}/libecore_txt.so
499 %attr(755,root,root) %{_libdir}/libecore_x.so
500 %{_libdir}/libecore_con.la
501 %{_libdir}/libecore_config.la
502 %{_libdir}/libecore_directfb.la
503 %{_libdir}/libecore_desktop.la
504 %{_libdir}/libecore_fb.la
505 %{_libdir}/libecore_file.la
506 %{_libdir}/libecore_imf.la
507 %{_libdir}/libecore_ipc.la
508 %{_libdir}/libecore_job.la
509 %{_libdir}/libecore_sdl.la
510 %{_libdir}/libecore_txt.la
511 %{_libdir}/libecore_x.la
512 %{_includedir}/Ecore_Con.h
513 %{_includedir}/Ecore_Config.h
514 %{_includedir}/Ecore_Desktop.h
515 %{_includedir}/Ecore_DirectFB.h
516 %{_includedir}/Ecore_Fb.h
517 %{_includedir}/Ecore_File.h
518 %{_includedir}/Ecore_IMF.h
519 %{_includedir}/Ecore_Ipc.h
520 %{_includedir}/Ecore_Job.h
521 %{_includedir}/Ecore_Sdl.h
522 %{_includedir}/Ecore_Txt.h
523 %{_includedir}/Ecore_X.h
524 %{_includedir}/Ecore_X_Atoms.h
525 %{_includedir}/Ecore_X_Cursor.h
526 %{_pkgconfigdir}/ecore-con.pc
527 %{_pkgconfigdir}/ecore-config.pc
528 %{_pkgconfigdir}/ecore-directfb.pc
529 %{_pkgconfigdir}/ecore-desktop.pc
530 %{_pkgconfigdir}/ecore-fb.pc
531 %{_pkgconfigdir}/ecore-file.pc
532 %{_pkgconfigdir}/ecore-imf.pc
533 %{_pkgconfigdir}/ecore-ipc.pc
534 %{_pkgconfigdir}/ecore-job.pc
535 %{_pkgconfigdir}/ecore-sdl.pc
536 %{_pkgconfigdir}/ecore-txt.pc
537 %{_pkgconfigdir}/ecore-x.pc
539 %if %{with static_libs}
541 %defattr(644,root,root,755)
542 %{_libdir}/libecore.a
544 %{_libdir}/libecore_con.a
545 %{_libdir}/libecore_config.a
546 %{_libdir}/libecore_directfb.a
547 %{_libdir}/libecore_desktop.a
548 %{_libdir}/libecore_fb.a
549 %{_libdir}/libecore_file.a
550 %{_libdir}/libecore_imf.a
551 %{_libdir}/libecore_ipc.a
552 %{_libdir}/libecore_job.a
553 %{_libdir}/libecore_sdl.a
554 %{_libdir}/libecore_txt.a
555 %{_libdir}/libecore_x.a
559 %defattr(644,root,root,755)
560 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
561 %attr(755,root,root) %ghost %{_libdir}/libecore_evas.so.0
564 %defattr(644,root,root,755)
565 %attr(755,root,root) %{_libdir}/libecore_evas.so
566 %{_libdir}/libecore_evas.la
567 %{_includedir}/Ecore_Evas.h
568 %{_pkgconfigdir}/ecore-evas.pc
570 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so
571 %{_libdir}/libecore_imf_evas.la
572 %{_includedir}/Ecore_IMF_Evas.h
573 %{_pkgconfigdir}/ecore-imf-evas.pc
576 %defattr(644,root,root,755)
577 %{_libdir}/libecore_evas.a
579 %{_libdir}/libecore_imf_evas.a