1 Summary: Enlightened Core X interface library
2 Summary(pl): Biblioteka interfejsu X Enlightened Core
8 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5: ef3dcedf00e18c6449e744edf4a50c50
10 URL: http://enlightenment.org/Libraries/Ecore/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: evas-devel
14 BuildRequires: libtool
15 BuildRequires: openssl-devel
16 BuildRequires: pkgconfig
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Ecore is the event/X abstraction layer that makes doing selections,
21 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
22 optimized, and convenient. It's a separate library so anyone can make
23 use of the work put into Ecore to make this job easy for applications.
26 Ecore to warstwa abstracji zdarzeñ/X, która powoduje, ¿e dokonywanie
27 zaznaczeñ, Xdnd, ogólne operacje X, pêtle zdarzeñ, obs³uga timeoutów i
28 bezczynno¶ci s± szybkie, zoptymalizowane i wygodne. Jest to wydzielona
29 biblioteka, wiêc ka¿dy mo¿e skorzystaæ z pracy w³o¿onej w Ecore do
30 u³atwienia swojej pracy przy aplikacjach.
33 Summary: Ecore header files
34 Summary(pl): Pliki nag³ówkowe Ecore
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
38 Requires: openssl-devel
41 Ecore development files.
43 %description devel -l pl
44 Pliki programistyczne Ecore.
47 Summary: Static Ecore libraries
48 Summary(pl): Statyczne biblioteki Ecore
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 Static Ecore libraries.
55 %description static -l pl
56 Statyczne biblioteki Ecore.
60 echo 'AC_DEFUN([AC_C___ATTRIBUTE__],
62 AC_MSG_CHECKING(for __attribute__)
63 AC_CACHE_VAL(ac_cv___attribute__, [
64 AC_TRY_COMPILE([#include <stdlib.h>],
65 [int func(int x); int foo(int x __attribute__ ((unused))) { exit(1); }],
66 ac_cv___attribute__=yes, ac_cv___attribute__=no)])
67 if test "$ac_cv___attribute__" = "yes"; then
68 AC_DEFINE(HAVE___ATTRIBUTE__, 1, [Define to 1 if compiler has __attribute__])
70 AC_MSG_RESULT($ac_cv___attribute__)])' > acinclude.m4
84 --enable-ecore-evas-gl \
85 --enable-ecore-evas-fb \
86 --enable-ecore-evas-buffer \
91 --enable-ecore-config \
98 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
103 rm -rf $RPM_BUILD_ROOT
105 %post -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
109 %defattr(644,root,root,755)
110 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
111 %attr(755,root,root) %{_bindir}/ecore_*
112 %attr(755,root,root) %{_libdir}/libecore*.so.*.*.*
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/ecore-config
118 %attr(755,root,root) %{_libdir}/libecore*.so
119 %{_libdir}/libecore*.la
120 %{_pkgconfigdir}/ecore.pc
121 %{_aclocaldir}/ecore.m4
122 %{_includedir}/Ecore*.h
125 %defattr(644,root,root,755)
126 %{_libdir}/libecore*.a