3 %bcond_without static_libs # don't build static library
4 %bcond_with xcb # XCB instead of Xlib
6 %define eet_ver 0.9.10.038
8 Summary: Enlightened Core X interface library
9 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
15 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
16 # Source0-md5: a391c19e01c08b6591cc30f85c597ed2
17 Patch0: %{name}-tslib.patch
18 Patch1: %{name}-link.patch
19 URL: http://enlightenment.org/p.php?p=about/libs/ecore
20 BuildRequires: DirectFB-devel >= 0.9.16
21 BuildRequires: autoconf
22 BuildRequires: automake
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 DBus Library
93 Summary(pl.UTF-8): Biblioteka Ecore DBus
95 Requires: %{name}-con = %{version}-%{release}
101 %description dbus -l pl.UTF-8
102 Biblioteka Ecore DBus.
105 Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library
106 Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu
108 Requires: %{name}-file = %{version}-%{release}
109 Conflicts: ecore-libs
112 Ecore freedesktop.org .desktop, icon, menu parsing Library.
114 %description desktop -l pl.UTF-8
115 Biblioteka przetwarzania plików .desktop, ikon i menu.
118 Summary: Ecore frame buffer system functions
119 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
121 Requires: %{name} = %{version}-%{release}
122 Requires: DirectFB >= 0.9.16
123 Conflicts: ecore-libs
125 %description directfb
126 Ecore frame buffer system functions.
128 %description directfb -l pl.UTF-8
129 Funkcje systemowe framebuffera Ecore.
132 Summary: Ecore Evas Wrapper Library
133 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
135 Requires: %{name}-directfb = %{version}-%{release}
136 Requires: %{name}-fb = %{version}-%{release}
137 Requires: %{name}-x = %{version}-%{release}
138 Requires: evas >= %{version}
139 Conflicts: ecore-libs
142 Ecore Evas Wrapper Library.
144 %description evas -l pl.UTF-8
145 Biblioteka Ecore Evas Wrapper.
148 Summary: Ecore frame buffer system functions
149 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
151 Requires: %{name} = %{version}-%{release}
152 Conflicts: ecore-libs
155 Ecore frame buffer system functions.
157 %description fb -l pl.UTF-8
158 Funkcje systemowe framebuffera Ecore.
161 Summary: Ecore File Library
162 Summary(pl.UTF-8): Biblioteka Ecore File
164 Requires: %{name} = %{version}-%{release}
165 Conflicts: ecore-libs
170 %description file -l pl.UTF-8
171 Biblioteka Ecore File.
174 Summary: Ecore inter-process communication functions
175 Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore
177 Requires: %{name}-con = %{version}-%{release}
178 Conflicts: ecore-libs
181 Ecore inter-process communication functions.
183 %description ipc -l pl.UTF-8
184 Funkcje komunikacji międzyprocesowej Ecore.
187 Summary: Ecore job dealing functions
188 Summary(pl.UTF-8): Funkcje obsługi zadań Ecore
190 Requires: %{name} = %{version}-%{release}
191 Conflicts: ecore-libs
194 Ecore job dealing functions.
196 %description job -l pl.UTF-8
197 Funkcje obsługi zadań Ecore.
200 Summary: Ecore text encoding conversion functions
201 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
203 Requires: %{name} = %{version}-%{release}
204 Conflicts: ecore-libs
207 Ecore text encoding conversion functions.
209 %description txt -l pl.UTF-8
210 Funkcje konwersji kodowania tekstu Ecore.
213 Summary: Ecore functions for dealing with the X Window System
214 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
216 Requires: %{name}-txt = %{version}-%{release}
217 Conflicts: ecore-libs
220 Ecore functions for dealing with the X Window System.
222 %description x -l pl.UTF-8
223 Funkcje Ecore do obsługi X Window System.
226 Summary: Ecore header files
227 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
228 Group: Development/Libraries
229 Requires: %{name} = %{version}-%{release}
230 Requires: %{name}-con = %{version}-%{release}
231 # + openssl-devel curl-devel
232 Requires: %{name}-config = %{version}-%{release}
233 # + eet-devel >= 0.9.10.038
234 Requires: %{name}-dbus = %{version}-%{release}
235 Requires: %{name}-desktop = %{version}-%{release}
236 Requires: %{name}-directfb = %{version}-%{release}
237 # + DirectFB-devel >= 0.9.16
238 Requires: %{name}-evas = %{version}-%{release}
239 # + evas-devel >= %{version}
240 Requires: %{name}-fb = %{version}-%{release}
242 Requires: %{name}-file = %{version}-%{release}
244 Requires: %{name}-ipc = %{version}-%{release}
245 Requires: %{name}-job = %{version}-%{release}
246 Requires: %{name}-txt = %{version}-%{release}
247 Requires: %{name}-x = %{version}-%{release}
249 # + libxcb-devel xcb-util-devel
251 # + 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
255 Ecore development files.
257 %description devel -l pl.UTF-8
258 Pliki programistyczne Ecore.
261 Summary: Static Ecore libraries
262 Summary(pl.UTF-8): Statyczne biblioteki Ecore
263 Group: Development/Libraries
264 Requires: %{name}-devel = %{version}-%{release}
267 Static Ecore libraries.
269 %description static -l pl.UTF-8
270 Statyczne biblioteki Ecore.
284 %{!?with_static_libs:--disable-static} \
287 %{?with_xcb:--enable-ecore-x-xcb} \
290 --enable-ecore-evas \
291 --enable-ecore-evas-gl \
292 --enable-ecore-evas-xrender \
293 --enable-ecore-evas-dfb \
294 --enable-ecore-evas-fb \
295 --enable-ecore-evas-buffer \
299 --enable-ecore-dbus \
300 --enable-ecore-config \
301 --enable-ecore-file \
310 rm -rf $RPM_BUILD_ROOT
312 DESTDIR=$RPM_BUILD_ROOT
315 rm -rf $RPM_BUILD_ROOT
317 %post -p /sbin/ldconfig
318 %postun -p /sbin/ldconfig
319 %post con -p /sbin/ldconfig
320 %postun con -p /sbin/ldconfig
321 %post config -p /sbin/ldconfig
322 %postun config -p /sbin/ldconfig
323 %post dbus -p /sbin/ldconfig
324 %postun dbus -p /sbin/ldconfig
325 %post directfb -p /sbin/ldconfig
326 %postun directfb -p /sbin/ldconfig
327 %post desktop -p /sbin/ldconfig
328 %postun desktop -p /sbin/ldconfig
329 %post evas -p /sbin/ldconfig
330 %postun evas -p /sbin/ldconfig
331 %post fb -p /sbin/ldconfig
332 %postun fb -p /sbin/ldconfig
333 %post file -p /sbin/ldconfig
334 %postun file -p /sbin/ldconfig
335 %post ipc -p /sbin/ldconfig
336 %postun ipc -p /sbin/ldconfig
337 %post job -p /sbin/ldconfig
338 %postun job -p /sbin/ldconfig
339 %post txt -p /sbin/ldconfig
340 %postun txt -p /sbin/ldconfig
341 %post x -p /sbin/ldconfig
342 %postun x -p /sbin/ldconfig
345 %defattr(644,root,root,755)
346 %doc AUTHORS COPYING COPYING-PLAIN README
347 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
350 %defattr(644,root,root,755)
351 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
354 %defattr(644,root,root,755)
355 %attr(755,root,root) %{_bindir}/ecore_config
356 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.*
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
375 %defattr(644,root,root,755)
376 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
379 %defattr(644,root,root,755)
380 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
383 %defattr(644,root,root,755)
384 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
387 %defattr(644,root,root,755)
388 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
391 %defattr(644,root,root,755)
392 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
395 %defattr(644,root,root,755)
396 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
399 %defattr(644,root,root,755)
400 %attr(755,root,root) %{_bindir}/ecore-config
401 %attr(755,root,root) %{_libdir}/libecore.so
402 %{_libdir}/libecore.la
403 %{_includedir}/Ecore.h
404 %{_pkgconfigdir}/ecore.pc
406 %attr(755,root,root) %{_libdir}/libecore_*.so
407 %{_libdir}/libecore_*.la
408 %{_includedir}/Ecore_*.h
409 %{_pkgconfigdir}/ecore-*.pc
411 %if %{with static_libs}
413 %defattr(644,root,root,755)
414 %{_libdir}/libecore.a
416 %{_libdir}/libecore_*.a