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: c3a6f4392896defa4a768a13817e38d8
14 URL: http://enlightenment.org/Libraries/Ecore/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: curl-devel
18 BuildRequires: evas-devel
19 BuildRequires: libtool
20 BuildRequires: openssl-devel
21 BuildRequires: pkgconfig
22 BuildRequires: sed >= 4.0
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.
82 sed -e 's/^@BUILD_ECORE_DIRECTFB_TRUE@/#/' \
83 -e 's/^@BUILD_ECORE_DIRECTFB_FALSE@//' \
84 -i src/lib/ecore_directfb/Makefile.in \
85 src/lib/ecore_evas/Makefile.in
89 %{!?with_static_libs:--disable-static} \
95 --enable-ecore-evas-gl \
96 --enable-ecore-evas-xrender \
97 --disable-ecore-evas-dfb \
98 --enable-ecore-evas-fb \
99 --enable-ecore-evas-buffer \
103 --enable-ecore-dbus \
104 --enable-ecore-config \
105 --enable-ecore-file \
114 rm -rf $RPM_BUILD_ROOT
116 DESTDIR=$RPM_BUILD_ROOT
118 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
120 for FONT in $VERA; do
122 ln -s %{_fontsdir}/TTF/$FONT .
126 rm -rf $RPM_BUILD_ROOT
128 %post libs -p /sbin/ldconfig
129 %postun libs -p /sbin/ldconfig
132 %defattr(644,root,root,755)
133 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
134 %attr(755,root,root) %{_bindir}/ecore_*
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_libdir}/libecore*.so.*.*.*
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_bindir}/ecore-config
144 %attr(755,root,root) %{_libdir}/libecore*.so
145 %{_libdir}/libecore*.la
146 %{_pkgconfigdir}/ecore.pc
147 %{_aclocaldir}/ecore.m4
148 %{_includedir}/Ecore*.h
150 %if %{with static_libs}
152 %defattr(644,root,root,755)
153 %{_libdir}/libecore*.a