3 %bcond_without static_libs # don't build static library
5 Summary: Enlightened Core X interface library
6 Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: b2f3ba94aa47a885c77c3ad7a686ee42
14 URL: http://enlightenment.org/Libraries/Ecore/
15 BuildRequires: DirectFB-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: curl-devel
19 BuildRequires: evas-devel
20 BuildRequires: libtool
21 BuildRequires: openssl-devel
22 BuildRequires: pkgconfig
23 BuildRequires: xorg-lib-libXScrnSaver-devel
24 BuildRequires: xorg-lib-libXcursor-devel
25 BuildRequires: xorg-lib-libXdamage-devel
26 BuildRequires: xorg-lib-libXinerama-devel
27 BuildRequires: xorg-lib-libXp-devel
28 BuildRequires: xorg-lib-libXrandr-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Ecore is the event/X abstraction layer that makes doing selections,
36 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
37 optimized, and convenient. It's a separate library so anyone can make
38 use of the work put into Ecore to make this job easy for applications.
40 %description -l pl.UTF-8
41 Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
42 zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
43 bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
44 biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
45 ułatwienia swojej pracy przy aplikacjach.
48 Summary: Ecore Connection Library
49 Summary(pl.UTF-8): Biblioteka połączeń Ecore
51 Requires: %{name} = %{version}-%{release}
55 Ecore Connection Library.
57 %description con -l pl.UTF-8
58 Biblioteka połączeń Ecore.
61 Summary: Ecore Enlightened Property Library
62 Summary(pl.UTF-8): Biblioteka właściwości Ecore
64 Requires: %{name} = %{version}-%{release}
68 Ecore Enlightened Property Library.
70 %description config -l pl.UTF-8
71 Biblioteka właściwości Ecore.
74 Summary: Ecore DBus Library
75 Summary(pl.UTF-8): Biblioteka Ecore DBus
77 Requires: %{name} = %{version}-%{release}
83 %description dbus -l pl.UTF-8
84 Biblioteka Ecore DBus.
87 Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library
88 Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu
90 Requires: %{name} = %{version}-%{release}
94 Ecore freedesktop.org .desktop, icon, menu parsing Library.
96 %description desktop -l pl.UTF-8
97 Biblioteka przetwarzania plików .desktop, ikon i menu.
100 Summary: Ecore frame buffer system functions
101 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
103 Requires: %{name} = %{version}-%{release}
104 Conflicts: ecore-libs
106 %description directfb
107 Ecore frame buffer system functions.
109 %description directfb -l pl.UTF-8
110 Funkcje systemowe framebuffera Ecore.
113 Summary: Ecore Evas Wrapper Library
114 Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper
116 Requires: %{name} = %{version}-%{release}
117 Conflicts: ecore-libs
120 Ecore Evas Wrapper Library.
122 %description evas -l pl.UTF-8
123 Biblioteka Ecore Evas Wrapper.
126 Summary: Ecore frame buffer system functions
127 Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore
129 Requires: %{name} = %{version}-%{release}
130 Conflicts: ecore-libs
133 Ecore frame buffer system functions.
135 %description fb -l pl.UTF-8
136 Funkcje systemowe framebuffera Ecore.
139 Summary: Ecore File Library
140 Summary(pl.UTF-8): Biblioteka Ecore File
142 Requires: %{name} = %{version}-%{release}
143 Conflicts: ecore-libs
148 %description file -l pl.UTF-8
149 Biblioteka Ecore File.
152 Summary: Ecore inter-process communication functions
153 Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore
155 Requires: %{name} = %{version}-%{release}
156 Conflicts: ecore-libs
159 Ecore inter-process communication functions.
161 %description ipc -l pl.UTF-8
162 Funkcje komunikacji międzyprocesowej Ecore.
165 Summary: Ecore job dealing functions
166 Summary(pl.UTF-8): Funkcje obsługi zadań Ecore
168 Requires: %{name} = %{version}-%{release}
169 Conflicts: ecore-libs
172 Ecore job dealing functions.
174 %description job -l pl.UTF-8
175 Funkcje obsługi zadań Ecore.
178 Summary: Ecore text encoding conversion functions
179 Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore
181 Requires: %{name} = %{version}-%{release}
182 Conflicts: ecore-libs
185 Ecore text encoding conversion functions.
187 %description txt -l pl.UTF-8
188 Funkcje konwersji kodowania tekstu Ecore.
191 Summary: Ecore functions for dealing with the X Window System
192 Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System
194 Requires: %{name} = %{version}-%{release}
195 Conflicts: ecore-libs
198 Ecore functions for dealing with the X Window System.
200 %description x -l pl.UTF-8
201 Funkcje Ecore do obsługi X Window System.
204 Summary: Ecore header files
205 Summary(pl.UTF-8): Pliki nagłówkowe Ecore
206 Group: Development/Libraries
207 Requires: %{name} = %{version}-%{release}
208 Requires: %{name}-con = %{version}-%{release}
209 Requires: %{name}-config = %{version}-%{release}
210 Requires: %{name}-dbus = %{version}-%{release}
211 Requires: %{name}-desktop = %{version}-%{release}
212 Requires: %{name}-directfb = %{version}-%{release}
213 Requires: %{name}-evas = %{version}-%{release}
214 Requires: %{name}-fb = %{version}-%{release}
215 Requires: %{name}-file = %{version}-%{release}
216 Requires: %{name}-ipc = %{version}-%{release}
217 Requires: %{name}-job = %{version}-%{release}
218 Requires: %{name}-txt = %{version}-%{release}
219 Requires: %{name}-x = %{version}-%{release}
222 Requires: openssl-devel
225 Ecore development files.
227 %description devel -l pl.UTF-8
228 Pliki programistyczne Ecore.
231 Summary: Static Ecore libraries
232 Summary(pl.UTF-8): Statyczne biblioteki Ecore
233 Group: Development/Libraries
234 Requires: %{name}-devel = %{version}-%{release}
237 Static Ecore libraries.
239 %description static -l pl.UTF-8
240 Statyczne biblioteki Ecore.
252 %{!?with_static_libs:--disable-static} \
257 --enable-ecore-evas \
258 --enable-ecore-evas-gl \
259 --enable-ecore-evas-xrender \
260 --enable-ecore-evas-dfb \
261 --enable-ecore-evas-fb \
262 --enable-ecore-evas-buffer \
266 --enable-ecore-dbus \
267 --enable-ecore-config \
268 --enable-ecore-file \
277 rm -rf $RPM_BUILD_ROOT
279 DESTDIR=$RPM_BUILD_ROOT
282 rm -rf $RPM_BUILD_ROOT
284 %post -p /sbin/ldconfig
285 %postun -p /sbin/ldconfig
286 %post con -p /sbin/ldconfig
287 %postun con -p /sbin/ldconfig
288 %post config -p /sbin/ldconfig
289 %postun config -p /sbin/ldconfig
290 %post dbus -p /sbin/ldconfig
291 %postun dbus -p /sbin/ldconfig
292 %post directfb -p /sbin/ldconfig
293 %postun directfb -p /sbin/ldconfig
294 %post desktop -p /sbin/ldconfig
295 %postun desktop -p /sbin/ldconfig
296 %post evas -p /sbin/ldconfig
297 %postun evas -p /sbin/ldconfig
298 %post fb -p /sbin/ldconfig
299 %postun fb -p /sbin/ldconfig
300 %post file -p /sbin/ldconfig
301 %postun file -p /sbin/ldconfig
302 %post ipc -p /sbin/ldconfig
303 %postun ipc -p /sbin/ldconfig
304 %post job -p /sbin/ldconfig
305 %postun job -p /sbin/ldconfig
306 %post txt -p /sbin/ldconfig
307 %postun txt -p /sbin/ldconfig
308 %post x -p /sbin/ldconfig
309 %postun x -p /sbin/ldconfig
312 %defattr(644,root,root,755)
313 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
314 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
317 %defattr(644,root,root,755)
318 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
321 %defattr(644,root,root,755)
322 %attr(755,root,root) %{_bindir}/ecore_config
323 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.*
330 %defattr(644,root,root,755)
331 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
334 %defattr(644,root,root,755)
335 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
338 %defattr(644,root,root,755)
339 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
350 %defattr(644,root,root,755)
351 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
354 %defattr(644,root,root,755)
355 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
362 %defattr(644,root,root,755)
363 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
366 %defattr(644,root,root,755)
367 %attr(755,root,root) %{_bindir}/ecore-config
368 %attr(755,root,root) %{_libdir}/libecore*.so
369 %{_libdir}/libecore*.la
370 %{_pkgconfigdir}/ecore.pc
371 %{_aclocaldir}/ecore.m4
372 %{_includedir}/Ecore*.h
374 %if %{with static_libs}
376 %defattr(644,root,root,755)
377 %{_libdir}/libecore*.a