3 %bcond_without static_libs # don't build static library
4 %bcond_with xcb # XCB instead of Xlib
7 %define svn -ver-svn-06
8 Summary: Enlightened Core X interface library
9 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
15 Source0: http://download.enlightenment.org/snapshots/LATEST/%{name}-%{version}.tar.bz2
16 # Source0-md5: 52245ac4e4c83e579692eff6380e56b1
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 library Input module
170 Summary(pl.UTF-8): Moduł Input biblioteki Ecore
172 Requires: %{name} = %{version}-%{release}
173 Conflicts: ecore-libs
176 Ecore library Input module.
178 %description input -l pl.UTF-8
179 Moduł Input biblioteki Ecore.
182 Summary: Ecore library Input Evas module
183 Summary(pl.UTF-8): Moduł Input Evas biblioteki Ecore
185 Requires: %{name}-evas = %{version}-%{release}
186 Requires: %{name}-input = %{version}-%{release}
187 Conflicts: ecore-libs
189 %description input-evas
190 Ecore library Input Evas module.
192 %description input-evas -l pl.UTF-8
193 Moduł Input Evas biblioteki Ecore.
196 Summary: Ecore inter-process communication functions
197 Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore
199 Requires: %{name}-con = %{version}-%{release}
200 Conflicts: ecore-libs
203 Ecore inter-process communication functions.
205 %description ipc -l pl.UTF-8
206 Funkcje komunikacji międzyprocesowej Ecore.
209 Summary: Ecore job dealing functions
210 Summary(pl.UTF-8): Funkcje obsługi zadań Ecore
212 Requires: %{name} = %{version}-%{release}
213 Conflicts: ecore-libs
216 Ecore job dealing functions.
218 %description job -l pl.UTF-8
219 Funkcje obsługi zadań Ecore.
222 Summary: Ecore library SDL module
223 Summary(pl.UTF-8): Moduł SDL biblioteki Ecore
225 Requires: %{name} = %{version}-%{release}
226 Conflicts: ecore-libs
229 Ecore library SDL module.
231 %description sdl -l pl.UTF-8
232 Moduł SDL biblioteki Ecore.
235 Summary: Ecore text encoding conversion functions
236 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
238 Requires: %{name} = %{version}-%{release}
239 Conflicts: ecore-libs
242 Ecore text encoding conversion functions.
244 %description txt -l pl.UTF-8
245 Funkcje konwersji kodowania tekstu Ecore.
248 Summary: Ecore functions for dealing with the X Window System
249 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
251 Conflicts: ecore-libs
254 Ecore functions for dealing with the X Window System.
256 %description x -l pl.UTF-8
257 Funkcje Ecore do obsługi X Window System.
260 Summary: Ecore header files
261 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
262 Group: Development/Libraries
263 Requires: %{name} = %{version}-%{release}
264 Requires: %{name}-con = %{version}-%{release}
265 # + openssl-devel curl-devel
266 Requires: %{name}-config = %{version}-%{release}
267 # + eet-devel >= 0.9.10.038
268 Requires: %{name}-directfb = %{version}-%{release}
269 # + DirectFB-devel >= 0.9.16
270 Requires: %{name}-fb = %{version}-%{release}
272 Requires: %{name}-file = %{version}-%{release}
274 Requires: %{name}-imf = %{version}-%{release}
275 Requires: %{name}-ipc = %{version}-%{release}
276 Requires: %{name}-sdl = %{version}-%{release}
278 Requires: %{name}-x = %{version}-%{release}
280 # + libxcb-devel xcb-util-devel
282 # + 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
286 Ecore development files.
288 %description devel -l pl.UTF-8
289 Pliki programistyczne Ecore.
292 Summary: Static Ecore libraries
293 Summary(pl.UTF-8): Statyczne biblioteki Ecore
294 Group: Development/Libraries
295 Requires: %{name}-devel = %{version}-%{release}
298 Static Ecore libraries.
300 %description static -l pl.UTF-8
301 Statyczne biblioteki Ecore.
304 Summary: Ecore Evas Wrapper Library
305 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
307 #Requires: %{name}-directfb = %{version}-%{release}
308 Requires: %{name}-fb = %{version}-%{release}
309 Requires: %{name}-sdl = %{version}-%{release}
310 Requires: %{name}-x = %{version}-%{release}
311 Requires: evas >= %{version}
312 Conflicts: ecore-libs
315 Ecore Evas Wrapper Library.
317 %description evas -l pl.UTF-8
318 Biblioteka Ecore Evas Wrapper.
321 Summary: Header files for Ecore Evas Wrapper Library
322 Summary(pl.UTF-8): Pliki nagłówkowe biblioteka Ecore Evas Wrapper
323 Group: Development/Libraries
324 Requires: %{name}-devel = %{version}-%{release}
325 Requires: %{name}-imf-evas = %{version}-%{release}
326 #Requires: DirectFB-devel >= 0.9.16
328 Requires: evas-devel >= %{version}
329 Requires: tslib-devel
331 %description evas-devel
332 Header files for Ecore Evas Wrapper Library.
334 %description evas-devel -l pl.UTF-8
335 Pliki nagłówkowe biblioteka Ecore Evas Wrapper.
338 Summary: Static Ecore Evas Wrapper Library
339 Summary(pl.UTF-8): Biblioteka statyczna Ecore Evas Wrapper
340 Group: Development/Libraries
341 Requires: %{name}-evas-devel = %{version}-%{release}
343 %description evas-static
344 Static Ecore Evas Wrapper Library.
346 %description evas-static -l pl.UTF-8
347 Biblioteka statyczna Ecore Evas Wrapper.
359 %{!?with_static_libs:--disable-static} \
361 --enable-ecore-config \
362 --enable-ecore-directfb \
364 --enable-ecore-file \
368 %{?with_xcb:--enable-ecore-x-xcb} \
369 --enable-ecore-evas \
370 --enable-ecore-evas-buffer \
371 --disable-ecore-evas-dfb \
372 --enable-ecore-evas-fb \
373 --enable-ecore-evas-sdl \
374 --enable-ecore-evas-xrender \
380 # --enable-ecore-evas-dfb needs evas-directfb (currently disabled)
385 rm -rf $RPM_BUILD_ROOT
388 DESTDIR=$RPM_BUILD_ROOT
390 %find_lang %{name} --all-name
393 rm -rf $RPM_BUILD_ROOT
395 %post -p /sbin/ldconfig
396 %postun -p /sbin/ldconfig
397 %post con -p /sbin/ldconfig
398 %postun con -p /sbin/ldconfig
399 %post config -p /sbin/ldconfig
400 %postun config -p /sbin/ldconfig
401 %post directfb -p /sbin/ldconfig
402 %postun directfb -p /sbin/ldconfig
403 %post desktop -p /sbin/ldconfig
404 %postun desktop -p /sbin/ldconfig
405 %post evas -p /sbin/ldconfig
406 %postun evas -p /sbin/ldconfig
407 %post fb -p /sbin/ldconfig
408 %postun fb -p /sbin/ldconfig
409 %post file -p /sbin/ldconfig
410 %postun file -p /sbin/ldconfig
411 %post imf -p /sbin/ldconfig
412 %postun imf -p /sbin/ldconfig
413 %post imf-evas -p /sbin/ldconfig
414 %postun imf-evas -p /sbin/ldconfig
415 %post input -p /sbin/ldconfig
416 %postun input -p /sbin/ldconfig
417 %post input-evas -p /sbin/ldconfig
418 %postun input-evas -p /sbin/ldconfig
419 %post ipc -p /sbin/ldconfig
420 %postun ipc -p /sbin/ldconfig
421 %post sdl -p /sbin/ldconfig
422 %postun sdl -p /sbin/ldconfig
423 %post x -p /sbin/ldconfig
424 %postun x -p /sbin/ldconfig
426 %files -f %{name}.lang
427 %defattr(644,root,root,755)
428 %doc AUTHORS COPYING COPYING-PLAIN README
429 %attr(755,root,root) %{_libdir}/libecore%{svn}.so.*.*.*
430 %attr(755,root,root) %ghost %{_libdir}/libecore%{svn}.so.0
433 %defattr(644,root,root,755)
434 %attr(755,root,root) %{_libdir}/libecore_con%{svn}.so.*.*.*
435 %attr(755,root,root) %ghost %{_libdir}/libecore_con%{svn}.so.0
438 %defattr(644,root,root,755)
439 %attr(755,root,root) %{_bindir}/ecore_config
440 %attr(755,root,root) %{_libdir}/libecore_config%{svn}.so.*.*.*
441 %attr(755,root,root) %ghost %{_libdir}/libecore_config%{svn}.so.0
444 %defattr(644,root,root,755)
445 %attr(755,root,root) %{_libdir}/libecore_directfb%{svn}.so.*.*.*
446 %attr(755,root,root) %ghost %{_libdir}/libecore_directfb%{svn}.so.0
450 %defattr(644,root,root,755)
451 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
452 %attr(755,root,root) %ghost %{_libdir}/libecore_desktop.so.0
456 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_libdir}/libecore_fb%{svn}.so.*.*.*
458 %attr(755,root,root) %ghost %{_libdir}/libecore_fb%{svn}.so.0
461 %defattr(644,root,root,755)
462 %attr(755,root,root) %{_libdir}/libecore_file%{svn}.so.*.*.*
463 %attr(755,root,root) %ghost %{_libdir}/libecore_file%{svn}.so.0
466 %defattr(644,root,root,755)
467 %attr(755,root,root) %{_libdir}/libecore_imf%{svn}.so.*.*.*
468 %attr(755,root,root) %ghost %{_libdir}/libecore_imf%{svn}.so.0
471 %defattr(644,root,root,755)
472 %attr(755,root,root) %{_libdir}/libecore_imf_evas%{svn}.so.*.*.*
473 %attr(755,root,root) %ghost %{_libdir}/libecore_imf_evas%{svn}.so.0
476 %defattr(644,root,root,755)
477 %attr(755,root,root) %{_libdir}/libecore_input%{svn}.so.*.*.*
478 %attr(755,root,root) %ghost %{_libdir}/libecore_input%{svn}.so.0
481 %defattr(644,root,root,755)
482 %attr(755,root,root) %{_libdir}/libecore_input_evas%{svn}.so.*.*.*
483 %attr(755,root,root) %ghost %{_libdir}/libecore_input_evas%{svn}.so.0
486 %defattr(644,root,root,755)
487 %attr(755,root,root) %{_libdir}/libecore_ipc%{svn}.so.*.*.*
488 %attr(755,root,root) %ghost %{_libdir}/libecore_ipc%{svn}.so.0
492 %defattr(644,root,root,755)
493 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
494 %attr(755,root,root) %ghost %{_libdir}/libecore_job.so.0
498 %defattr(644,root,root,755)
499 %attr(755,root,root) %{_libdir}/libecore_sdl%{svn}.so.*.*.*
500 %attr(755,root,root) %ghost %{_libdir}/libecore_sdl%{svn}.so.0
504 %defattr(644,root,root,755)
505 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
506 %attr(755,root,root) %ghost %{_libdir}/libecore_txt.so.0
510 %defattr(644,root,root,755)
511 %attr(755,root,root) %{_libdir}/libecore_x%{svn}.so.*.*.*
512 %attr(755,root,root) %ghost %{_libdir}/libecore_x%{svn}.so.0
515 %defattr(644,root,root,755)
516 %attr(755,root,root) %{_libdir}/libecore.so
517 %{_libdir}/libecore.la
518 %{_includedir}/Ecore.h
519 %{_includedir}/Ecore_Getopt.h
520 %{_includedir}/Ecore_Input.h
521 #%{_includedir}/Ecore_Data.h
522 #%{_includedir}/Ecore_Str.h
523 %{_pkgconfigdir}/ecore.pc
525 %attr(755,root,root) %{_libdir}/libecore_con.so
526 %attr(755,root,root) %{_libdir}/libecore_config.so
527 %attr(755,root,root) %{_libdir}/libecore_directfb.so
528 #%attr(755,root,root) %{_libdir}/libecore_desktop.so
529 %attr(755,root,root) %{_libdir}/libecore_fb.so
530 %attr(755,root,root) %{_libdir}/libecore_file.so
531 %attr(755,root,root) %{_libdir}/libecore_imf.so
532 %attr(755,root,root) %{_libdir}/libecore_input.so
533 %attr(755,root,root) %{_libdir}/libecore_ipc.so
534 #%attr(755,root,root) %{_libdir}/libecore_job.so
535 %attr(755,root,root) %{_libdir}/libecore_sdl.so
536 #%attr(755,root,root) %{_libdir}/libecore_txt.so
537 %attr(755,root,root) %{_libdir}/libecore_x.so
538 %{_libdir}/libecore_con.la
539 %{_libdir}/libecore_config.la
540 %{_libdir}/libecore_directfb.la
541 #%{_libdir}/libecore_desktop.la
542 %{_libdir}/libecore_fb.la
543 %{_libdir}/libecore_file.la
544 %{_libdir}/libecore_imf.la
545 %{_libdir}/libecore_input.la
546 %{_libdir}/libecore_ipc.la
547 #%{_libdir}/libecore_job.la
548 %{_libdir}/libecore_sdl.la
549 #%{_libdir}/libecore_txt.la
550 %{_libdir}/libecore_x.la
551 %{_includedir}/Ecore_Con.h
552 %{_includedir}/Ecore_Config.h
553 #%{_includedir}/Ecore_Desktop.h
554 %{_includedir}/Ecore_DirectFB.h
555 %{_includedir}/Ecore_Fb.h
556 %{_includedir}/Ecore_File.h
557 %{_includedir}/Ecore_IMF.h
558 %{_includedir}/Ecore_Ipc.h
559 #%{_includedir}/Ecore_Job.h
560 %{_includedir}/Ecore_Sdl.h
561 #%{_includedir}/Ecore_Txt.h
562 %{_includedir}/Ecore_X.h
563 %{_includedir}/Ecore_X_Atoms.h
564 %{_includedir}/Ecore_X_Cursor.h
565 %{_pkgconfigdir}/ecore-con.pc
566 %{_pkgconfigdir}/ecore-config.pc
567 %{_pkgconfigdir}/ecore-directfb.pc
568 #%{_pkgconfigdir}/ecore-desktop.pc
569 %{_pkgconfigdir}/ecore-fb.pc
570 %{_pkgconfigdir}/ecore-file.pc
571 %{_pkgconfigdir}/ecore-imf.pc
572 %{_pkgconfigdir}/ecore-input.pc
573 %{_pkgconfigdir}/ecore-ipc.pc
574 #%{_pkgconfigdir}/ecore-job.pc
575 %{_pkgconfigdir}/ecore-sdl.pc
576 #%{_pkgconfigdir}/ecore-txt.pc
577 %{_pkgconfigdir}/ecore-x.pc
579 %if %{with static_libs}
581 %defattr(644,root,root,755)
582 %{_libdir}/libecore.a
584 %{_libdir}/libecore_con.a
585 %{_libdir}/libecore_config.a
586 %{_libdir}/libecore_directfb.a
587 #%{_libdir}/libecore_desktop.a
588 %{_libdir}/libecore_fb.a
589 %{_libdir}/libecore_file.a
590 %{_libdir}/libecore_imf.a
591 %{_libdir}/libecore_input.a
592 %{_libdir}/libecore_ipc.a
593 #%{_libdir}/libecore_job.a
594 %{_libdir}/libecore_sdl.a
595 #%{_libdir}/libecore_txt.a
596 %{_libdir}/libecore_x.a
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_libdir}/libecore_evas%{svn}.so.*.*.*
602 %attr(755,root,root) %ghost %{_libdir}/libecore_evas%{svn}.so.0
605 %defattr(644,root,root,755)
606 %attr(755,root,root) %{_libdir}/libecore_evas.so
607 %{_libdir}/libecore_evas.la
608 %{_includedir}/Ecore_Evas.h
609 %{_includedir}/Ecore_Input_Evas.h
610 %{_pkgconfigdir}/ecore-evas.pc
612 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so
613 %attr(755,root,root) %{_libdir}/libecore_input_evas.so
614 %{_libdir}/libecore_imf_evas.la
615 %{_libdir}/libecore_input_evas.la
616 %{_includedir}/Ecore_IMF_Evas.h
617 %{_pkgconfigdir}/ecore-imf-evas.pc
618 %{_pkgconfigdir}/ecore-input-evas.pc
621 %defattr(644,root,root,755)
622 %{_libdir}/libecore_evas.a
624 %{_libdir}/libecore_imf_evas.a
625 %{_libdir}/libecore_input_evas.a