3 %bcond_without static_libs # don't build static library
5 Summary: Enlightened Core X interface library
6 Summary(pl): Biblioteka interfejsu X Enlightened Core
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 334cf22f033ecb144b77e92455167855
14 #Patch0: %{name}-missing_m4.patch
15 URL: http://enlightenment.org/Libraries/Ecore/
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 Requires: %{name}-libs = %{version}-%{release}
24 Requires: fonts-TTF-bitstream-vera
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Ecore is the event/X abstraction layer that makes doing selections,
31 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
32 optimized, and convenient. It's a separate library so anyone can make
33 use of the work put into Ecore to make this job easy for applications.
36 Ecore to warstwa abstracji zdarzeñ/X, która powoduje, ¿e dokonywanie
37 zaznaczeñ, Xdnd, ogólne operacje X, pêtle zdarzeñ, obs³uga timeoutów i
38 bezczynno¶ci s± szybkie, zoptymalizowane i wygodne. Jest to wydzielona
39 biblioteka, wiêc ka¿dy mo¿e skorzystaæ z pracy w³o¿onej w Ecore do
40 u³atwienia swojej pracy przy aplikacjach.
43 Summary: Ecore library
44 Summary(pl): Biblioteka ecore
50 %description libs -l pl
54 Summary: Ecore header files
55 Summary(pl): Pliki nag³ówkowe Ecore
56 Group: Development/Libraries
57 Requires: %{name}-libs = %{version}-%{release}
60 Requires: openssl-devel
63 Ecore development files.
65 %description devel -l pl
66 Pliki programistyczne Ecore.
69 Summary: Static Ecore libraries
70 Summary(pl): Statyczne biblioteki Ecore
71 Group: Development/Libraries
72 Requires: %{name}-devel = %{version}-%{release}
75 Static Ecore libraries.
77 %description static -l pl
78 Statyczne biblioteki Ecore.
90 sed -e 's/^@BUILD_ECORE_DIRECTFB_TRUE@/#/' \
91 -e 's/^@BUILD_ECORE_DIRECTFB_FALSE@//' \
92 -i src/lib/ecore_directfb/Makefile.in \
93 src/lib/ecore_evas/Makefile.in
95 %{!?with_static_libs:--disable-static} \
100 --enable-ecore-evas \
101 --enable-ecore-evas-gl \
102 --enable-ecore-evas-xrender \
103 --disable-ecore-evas-dfb \
104 --enable-ecore-evas-fb \
105 --enable-ecore-evas-buffer \
109 --enable-ecore-dbus \
110 --enable-ecore-config \
111 --enable-ecore-file \
120 rm -rf $RPM_BUILD_ROOT
122 DESTDIR=$RPM_BUILD_ROOT
124 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
126 for FONT in $VERA; do
128 ln -s %{_fontsdir}/TTF/$FONT .
132 rm -rf $RPM_BUILD_ROOT
134 %post libs -p /sbin/ldconfig
135 %postun libs -p /sbin/ldconfig
138 %defattr(644,root,root,755)
139 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
140 %attr(755,root,root) %{_bindir}/ecore_*
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/libecore*.so.*.*.*
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_bindir}/ecore-config
150 %attr(755,root,root) %{_libdir}/libecore*.so
151 %{_libdir}/libecore*.la
152 %{_pkgconfigdir}/ecore.pc
153 %{_aclocaldir}/ecore.m4
154 %{_includedir}/Ecore*.h
156 %if %{with static_libs}
158 %defattr(644,root,root,755)
159 %{_libdir}/libecore*.a