3 # - why desktop and directfb does not build?
4 # - fill imf summary and desc.
7 %bcond_without static_libs # don't build static library
8 %bcond_with xcb # XCB instead of Xlib
10 %define eet_ver 0.9.10.038
12 Summary: Enlightened Core X interface library
13 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
19 Source0: http://download.enlightenment.org/snapshots/2008-05-19/%{name}-%{version}.tar.bz2
20 # Source0-md5: 3d328b276556045c3d169ea4980d1aaf
21 Patch0: %{name}-tslib.patch
22 Patch1: %{name}-link.patch
23 URL: http://enlightenment.org/p.php?p=about/libs/ecore
24 BuildRequires: DirectFB-devel >= 0.9.16
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: curl-devel
28 BuildRequires: eet-devel >= %{eet_ver}
29 BuildRequires: evas-devel >= %{version}
30 BuildRequires: libtool
31 BuildRequires: openssl-devel
32 BuildRequires: pkgconfig
33 BuildRequires: tslib-devel
35 BuildRequires: libxcb-devel
36 BuildRequires: xcb-util-devel
38 BuildRequires: xorg-lib-libXScrnSaver-devel
39 BuildRequires: xorg-lib-libXcursor-devel
40 BuildRequires: xorg-lib-libXdamage-devel
41 BuildRequires: xorg-lib-libXext-devel
42 BuildRequires: xorg-lib-libXfixes-devel
43 BuildRequires: xorg-lib-libXinerama-devel
44 BuildRequires: xorg-lib-libXp-devel
45 BuildRequires: xorg-lib-libXrandr-devel
46 BuildRequires: xorg-lib-libXrender-devel
48 Requires: evas >= %{version}
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 Ecore is the event/X abstraction layer that makes doing selections,
56 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
57 optimized, and convenient. It's a separate library so anyone can make
58 use of the work put into Ecore to make this job easy for applications.
60 %description -l pl.UTF-8
61 Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
62 zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
63 bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
64 biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
65 ułatwienia swojej pracy przy aplikacjach.
68 Summary: Ecore Connection Library
69 Summary(pl.UTF-8): Biblioteka połączeń Ecore
71 Requires: %{name} = %{version}-%{release}
75 Ecore Connection Library.
77 %description con -l pl.UTF-8
78 Biblioteka połączeń Ecore.
81 Summary: Ecore Enlightened Property Library
82 Summary(pl.UTF-8): Biblioteka właściwości Ecore
84 Requires: %{name}-ipc = %{version}-%{release}
85 Requires: evas-devel >= %{version}
86 Requires: eet-devel >= %{eet_ver}
90 Ecore Enlightened Property Library.
92 %description config -l pl.UTF-8
93 Biblioteka właściwości Ecore.
96 Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library
97 Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu
99 Requires: %{name}-file = %{version}-%{release}
100 Conflicts: ecore-libs
103 Ecore freedesktop.org .desktop, icon, menu parsing Library.
105 %description desktop -l pl.UTF-8
106 Biblioteka przetwarzania plików .desktop, ikon i menu.
109 Summary: Ecore frame buffer system functions
110 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
112 Requires: %{name} = %{version}-%{release}
113 Requires: DirectFB >= 0.9.16
114 Conflicts: ecore-libs
116 %description directfb
117 Ecore frame buffer system functions.
119 %description directfb -l pl.UTF-8
120 Funkcje systemowe framebuffera Ecore.
123 Summary: Ecore Evas Wrapper Library
124 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
126 #Requires: %{name}-directfb = %{version}-%{release}
127 Requires: %{name}-fb = %{version}-%{release}
128 Requires: %{name}-x = %{version}-%{release}
129 Requires: evas >= %{version}
130 Conflicts: ecore-libs
133 Ecore Evas Wrapper Library.
135 %description evas -l pl.UTF-8
136 Biblioteka Ecore Evas Wrapper.
139 Summary: Ecore frame buffer system functions
140 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
142 Requires: %{name} = %{version}-%{release}
143 Conflicts: ecore-libs
146 Ecore frame buffer system functions.
148 %description fb -l pl.UTF-8
149 Funkcje systemowe framebuffera Ecore.
152 Summary: Ecore File Library
153 Summary(pl.UTF-8): Biblioteka Ecore File
155 Requires: %{name} = %{version}-%{release}
156 Conflicts: ecore-libs
161 %description file -l pl.UTF-8
162 Biblioteka Ecore File.
165 Summary: Ecore imf functions
166 #Summary(pl.UTF-8): Funkcje imf Ecore
168 Requires: %{name}-con = %{version}-%{release}
169 Conflicts: ecore-libs
174 #%description imf -l pl.UTF-8
178 Summary: Ecore inter-process communication functions
179 Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore
181 Requires: %{name}-con = %{version}-%{release}
182 Conflicts: ecore-libs
185 Ecore inter-process communication functions.
187 %description ipc -l pl.UTF-8
188 Funkcje komunikacji międzyprocesowej Ecore.
191 Summary: Ecore job dealing functions
192 Summary(pl.UTF-8): Funkcje obsługi zadań Ecore
194 Requires: %{name} = %{version}-%{release}
195 Conflicts: ecore-libs
198 Ecore job dealing functions.
200 %description job -l pl.UTF-8
201 Funkcje obsługi zadań Ecore.
204 Summary: Ecore text encoding conversion functions
205 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
207 Requires: %{name} = %{version}-%{release}
208 Conflicts: ecore-libs
211 Ecore text encoding conversion functions.
213 %description txt -l pl.UTF-8
214 Funkcje konwersji kodowania tekstu Ecore.
217 Summary: Ecore functions for dealing with the X Window System
218 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
220 Requires: %{name}-txt = %{version}-%{release}
221 Conflicts: ecore-libs
224 Ecore functions for dealing with the X Window System.
226 %description x -l pl.UTF-8
227 Funkcje Ecore do obsługi X Window System.
230 Summary: Ecore header files
231 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
232 Group: Development/Libraries
233 Requires: %{name} = %{version}-%{release}
234 Requires: %{name}-con = %{version}-%{release}
235 # + openssl-devel curl-devel
236 Requires: %{name}-config = %{version}-%{release}
237 # + eet-devel >= 0.9.10.038
238 #Requires: %{name}-dbus = %{version}-%{release}
239 #Requires: %{name}-desktop = %{version}-%{release}
240 #Requires: %{name}-directfb = %{version}-%{release}
241 # + DirectFB-devel >= 0.9.16
242 Requires: %{name}-evas = %{version}-%{release}
243 # + evas-devel >= %{version}
244 Requires: %{name}-fb = %{version}-%{release}
246 Requires: %{name}-file = %{version}-%{release}
248 Requires: %{name}-imf = %{version}-%{release}
249 Requires: %{name}-ipc = %{version}-%{release}
250 Requires: %{name}-job = %{version}-%{release}
251 Requires: %{name}-txt = %{version}-%{release}
252 Requires: %{name}-x = %{version}-%{release}
254 # + libxcb-devel xcb-util-devel
256 # + 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
260 Ecore development files.
262 %description devel -l pl.UTF-8
263 Pliki programistyczne Ecore.
266 Summary: Static Ecore libraries
267 Summary(pl.UTF-8): Statyczne biblioteki Ecore
268 Group: Development/Libraries
269 Requires: %{name}-devel = %{version}-%{release}
272 Static Ecore libraries.
274 %description static -l pl.UTF-8
275 Statyczne biblioteki Ecore.
289 %{!?with_static_libs:--disable-static} \
292 %{?with_xcb:--enable-ecore-x-xcb} \
295 --enable-ecore-evas \
296 --enable-ecore-evas-gl \
297 --enable-ecore-evas-xrender \
298 --enable-ecore-evas-dfb \
299 --enable-ecore-evas-fb \
300 --enable-ecore-evas-buffer \
304 --enable-ecore-config \
305 --enable-ecore-file \
314 rm -rf $RPM_BUILD_ROOT
316 DESTDIR=$RPM_BUILD_ROOT
319 rm -rf $RPM_BUILD_ROOT
321 %post -p /sbin/ldconfig
322 %postun -p /sbin/ldconfig
323 %post con -p /sbin/ldconfig
324 %postun con -p /sbin/ldconfig
325 %post config -p /sbin/ldconfig
326 %postun config -p /sbin/ldconfig
327 %post directfb -p /sbin/ldconfig
328 %postun directfb -p /sbin/ldconfig
329 %post desktop -p /sbin/ldconfig
330 %postun desktop -p /sbin/ldconfig
331 %post evas -p /sbin/ldconfig
332 %postun evas -p /sbin/ldconfig
333 %post fb -p /sbin/ldconfig
334 %postun fb -p /sbin/ldconfig
335 %post file -p /sbin/ldconfig
336 %postun file -p /sbin/ldconfig
337 %post imf -p /sbin/ldconfig
338 %postun imf -p /sbin/ldconfig
339 %post ipc -p /sbin/ldconfig
340 %postun ipc -p /sbin/ldconfig
341 %post job -p /sbin/ldconfig
342 %postun job -p /sbin/ldconfig
343 %post txt -p /sbin/ldconfig
344 %postun txt -p /sbin/ldconfig
345 %post x -p /sbin/ldconfig
346 %postun x -p /sbin/ldconfig
349 %defattr(644,root,root,755)
350 %doc AUTHORS COPYING COPYING-PLAIN README
351 %attr(755,root,root) %{_libdir}/libecore.so.*
354 %defattr(644,root,root,755)
355 %attr(755,root,root) %{_libdir}/libecore_con.so.*
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_bindir}/ecore_config
360 %attr(755,root,root) %{_libdir}/libecore_config.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_imf.so.*
385 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so.*
388 %defattr(644,root,root,755)
389 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*
392 %defattr(644,root,root,755)
393 %attr(755,root,root) %{_libdir}/libecore_job.so.*
396 %defattr(644,root,root,755)
397 %attr(755,root,root) %{_libdir}/libecore_txt.so.*
400 %defattr(644,root,root,755)
401 %attr(755,root,root) %{_libdir}/libecore_x.so.*
404 %defattr(644,root,root,755)
405 #%attr(755,root,root) %{_bindir}/ecore-config
406 %attr(755,root,root) %{_libdir}/libecore.so
407 %{_libdir}/libecore.la
408 %{_includedir}/Ecore.h
409 %{_pkgconfigdir}/ecore.pc
411 %attr(755,root,root) %{_libdir}/libecore_*.so
412 %{_libdir}/libecore_*.la
413 %{_includedir}/Ecore_*.h
414 %{_pkgconfigdir}/ecore-*.pc
416 %if %{with static_libs}
418 %defattr(644,root,root,755)
419 %{_libdir}/libecore.a
421 %{_libdir}/libecore_*.a