3 %bcond_without static_libs # don't build static library
4 %bcond_with xcb # XCB instead of Xlib
6 Summary: Enlightened Core X interface library
7 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
13 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
14 # Source0-md5: a391c19e01c08b6591cc30f85c597ed2
15 Patch0: %{name}-tslib.patch
16 Patch1: %{name}-link.patch
17 URL: http://enlightenment.org/p.php?p=about/libs/ecore
18 BuildRequires: DirectFB-devel >= 0.9.16
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: curl-devel
22 BuildRequires: eet-devel >= 0.9.10.038
23 BuildRequires: evas-devel >= %{version}
24 BuildRequires: libtool
25 BuildRequires: openssl-devel
26 BuildRequires: pkgconfig
27 BuildRequires: tslib-devel
29 BuildRequires: libxcb-devel
30 BuildRequires: xcb-util-devel
32 BuildRequires: xorg-lib-libXScrnSaver-devel
33 BuildRequires: xorg-lib-libXcursor-devel
34 BuildRequires: xorg-lib-libXdamage-devel
35 BuildRequires: xorg-lib-libXext-devel
36 BuildRequires: xorg-lib-libXfixes-devel
37 BuildRequires: xorg-lib-libXinerama-devel
38 BuildRequires: xorg-lib-libXp-devel
39 BuildRequires: xorg-lib-libXrandr-devel
40 BuildRequires: xorg-lib-libXrender-devel
42 Requires: evas >= %{version}
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 Ecore is the event/X abstraction layer that makes doing selections,
50 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
51 optimized, and convenient. It's a separate library so anyone can make
52 use of the work put into Ecore to make this job easy for applications.
54 %description -l pl.UTF-8
55 Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
56 zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
57 bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
58 biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
59 ułatwienia swojej pracy przy aplikacjach.
62 Summary: Ecore Connection Library
63 Summary(pl.UTF-8): Biblioteka połączeń Ecore
65 Requires: %{name} = %{version}-%{release}
69 Ecore Connection Library.
71 %description con -l pl.UTF-8
72 Biblioteka połączeń Ecore.
75 Summary: Ecore Enlightened Property Library
76 Summary(pl.UTF-8): Biblioteka właściwości Ecore
78 Requires: %{name}-ipc = %{version}-%{release}
79 Requires: evas-devel >= %{version}
80 Requires: eet-devel >= 0.9.10.038
84 Ecore Enlightened Property Library.
86 %description config -l pl.UTF-8
87 Biblioteka właściwości Ecore.
90 Summary: Ecore DBus Library
91 Summary(pl.UTF-8): Biblioteka Ecore DBus
93 Requires: %{name}-con = %{version}-%{release}
99 %description dbus -l pl.UTF-8
100 Biblioteka Ecore DBus.
103 Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library
104 Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu
106 Requires: %{name}-file = %{version}-%{release}
107 Conflicts: ecore-libs
110 Ecore freedesktop.org .desktop, icon, menu parsing Library.
112 %description desktop -l pl.UTF-8
113 Biblioteka przetwarzania plików .desktop, ikon i menu.
116 Summary: Ecore frame buffer system functions
117 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
119 Requires: %{name} = %{version}-%{release}
120 Requires: DirectFB >= 0.9.16
121 Conflicts: ecore-libs
123 %description directfb
124 Ecore frame buffer system functions.
126 %description directfb -l pl.UTF-8
127 Funkcje systemowe framebuffera Ecore.
130 Summary: Ecore Evas Wrapper Library
131 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
133 Requires: %{name}-directfb = %{version}-%{release}
134 Requires: %{name}-fb = %{version}-%{release}
135 Requires: %{name}-x = %{version}-%{release}
136 Requires: evas >= %{version}
137 Conflicts: ecore-libs
140 Ecore Evas Wrapper Library.
142 %description evas -l pl.UTF-8
143 Biblioteka Ecore Evas Wrapper.
146 Summary: Ecore frame buffer system functions
147 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
149 Requires: %{name} = %{version}-%{release}
150 Conflicts: ecore-libs
153 Ecore frame buffer system functions.
155 %description fb -l pl.UTF-8
156 Funkcje systemowe framebuffera Ecore.
159 Summary: Ecore File Library
160 Summary(pl.UTF-8): Biblioteka Ecore File
162 Requires: %{name} = %{version}-%{release}
163 Conflicts: ecore-libs
168 %description file -l pl.UTF-8
169 Biblioteka Ecore File.
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 text encoding conversion functions
199 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
201 Requires: %{name} = %{version}-%{release}
202 Conflicts: ecore-libs
205 Ecore text encoding conversion functions.
207 %description txt -l pl.UTF-8
208 Funkcje konwersji kodowania tekstu Ecore.
211 Summary: Ecore functions for dealing with the X Window System
212 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
214 Requires: %{name}-txt = %{version}-%{release}
215 Conflicts: ecore-libs
218 Ecore functions for dealing with the X Window System.
220 %description x -l pl.UTF-8
221 Funkcje Ecore do obsługi X Window System.
224 Summary: Ecore header files
225 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
226 Group: Development/Libraries
227 Requires: %{name} = %{version}-%{release}
228 Requires: %{name}-con = %{version}-%{release}
229 # + openssl-devel curl-devel
230 Requires: %{name}-config = %{version}-%{release}
231 # + eet-devel >= 0.9.10.038
232 Requires: %{name}-dbus = %{version}-%{release}
233 Requires: %{name}-desktop = %{version}-%{release}
234 Requires: %{name}-directfb = %{version}-%{release}
235 # + DirectFB-devel >= 0.9.16
236 Requires: %{name}-evas = %{version}-%{release}
237 # + evas-devel >= %{version}
238 Requires: %{name}-fb = %{version}-%{release}
240 Requires: %{name}-file = %{version}-%{release}
242 Requires: %{name}-ipc = %{version}-%{release}
243 Requires: %{name}-job = %{version}-%{release}
244 Requires: %{name}-txt = %{version}-%{release}
245 Requires: %{name}-x = %{version}-%{release}
247 # + libxcb-devel xcb-util-devel
249 # + 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
253 Ecore development files.
255 %description devel -l pl.UTF-8
256 Pliki programistyczne Ecore.
259 Summary: Static Ecore libraries
260 Summary(pl.UTF-8): Statyczne biblioteki Ecore
261 Group: Development/Libraries
262 Requires: %{name}-devel = %{version}-%{release}
265 Static Ecore libraries.
267 %description static -l pl.UTF-8
268 Statyczne biblioteki Ecore.
282 %{!?with_static_libs:--disable-static} \
285 %{?with_xcb:--enable-ecore-x-xcb} \
288 --enable-ecore-evas \
289 --enable-ecore-evas-gl \
290 --enable-ecore-evas-xrender \
291 --enable-ecore-evas-dfb \
292 --enable-ecore-evas-fb \
293 --enable-ecore-evas-buffer \
297 --enable-ecore-dbus \
298 --enable-ecore-config \
299 --enable-ecore-file \
308 rm -rf $RPM_BUILD_ROOT
310 DESTDIR=$RPM_BUILD_ROOT
313 rm -rf $RPM_BUILD_ROOT
315 %post -p /sbin/ldconfig
316 %postun -p /sbin/ldconfig
317 %post con -p /sbin/ldconfig
318 %postun con -p /sbin/ldconfig
319 %post config -p /sbin/ldconfig
320 %postun config -p /sbin/ldconfig
321 %post dbus -p /sbin/ldconfig
322 %postun dbus -p /sbin/ldconfig
323 %post directfb -p /sbin/ldconfig
324 %postun directfb -p /sbin/ldconfig
325 %post desktop -p /sbin/ldconfig
326 %postun desktop -p /sbin/ldconfig
327 %post evas -p /sbin/ldconfig
328 %postun evas -p /sbin/ldconfig
329 %post fb -p /sbin/ldconfig
330 %postun fb -p /sbin/ldconfig
331 %post file -p /sbin/ldconfig
332 %postun file -p /sbin/ldconfig
333 %post ipc -p /sbin/ldconfig
334 %postun ipc -p /sbin/ldconfig
335 %post job -p /sbin/ldconfig
336 %postun job -p /sbin/ldconfig
337 %post txt -p /sbin/ldconfig
338 %postun txt -p /sbin/ldconfig
339 %post x -p /sbin/ldconfig
340 %postun x -p /sbin/ldconfig
343 %defattr(644,root,root,755)
344 %doc AUTHORS COPYING COPYING-PLAIN README
345 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
348 %defattr(644,root,root,755)
349 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
352 %defattr(644,root,root,755)
353 %attr(755,root,root) %{_bindir}/ecore_config
354 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
357 %defattr(644,root,root,755)
358 %attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.*
361 %defattr(644,root,root,755)
362 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
369 %defattr(644,root,root,755)
370 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
373 %defattr(644,root,root,755)
374 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
377 %defattr(644,root,root,755)
378 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
381 %defattr(644,root,root,755)
382 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
385 %defattr(644,root,root,755)
386 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
389 %defattr(644,root,root,755)
390 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
393 %defattr(644,root,root,755)
394 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
397 %defattr(644,root,root,755)
398 %attr(755,root,root) %{_bindir}/ecore-config
399 %attr(755,root,root) %{_libdir}/libecore.so
400 %{_libdir}/libecore.la
401 %{_includedir}/Ecore.h
402 %{_pkgconfigdir}/ecore.pc
404 %attr(755,root,root) %{_libdir}/libecore_*.so
405 %{_libdir}/libecore_*.la
406 %{_includedir}/Ecore_*.h
407 %{_pkgconfigdir}/ecore-*.pc
409 %if %{with static_libs}
411 %defattr(644,root,root,755)
412 %{_libdir}/libecore.a
414 %{_libdir}/libecore_*.a