2 %bcond_without mmx # without MMX and MMX2
3 %bcond_without sse # without SSE
4 %bcond_without altivec # without altivec
6 %ifnarch i586 i686 athlon
13 %undefine with_altivec
16 Summary: Multi-platform Canvas Library
17 Summary(pl): Wieloplatformowa biblioteka do rysowania
23 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
24 # Source0-md5: 1766c37200f2efb37076e302fd07517b
25 Patch0: %{name}-missing_m4.patch
26 URL: http://enlightenment.org/Libraries/Evas/
27 BuildRequires: DirectFB-devel
28 BuildRequires: OpenGL-devel
29 BuildRequires: autoconf
30 BuildRequires: automake
31 BuildRequires: edb-devel
32 BuildRequires: eet-devel
33 BuildRequires: freetype-devel
34 BuildRequires: libjpeg-devel
35 BuildRequires: libpng-devel
36 BuildRequires: libtool
37 BuildRequires: pkgconfig
38 Requires: %{name}-libs = %{version}-%{release}
39 Requires: fonts-TTF-bitstream-vera
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 Evas is a clean display canvas API for several target display systems
44 that can draw anti-aliased text, smooth super and sub-sampled scaled
45 images, alpha-blend objects much and more.
48 Evas to czyste API "p³ótna obrazu" dla ró¿nych systemów wy¶wietlania,
49 bêd±ce w stanie rysowaæ tekst z antyaliasingiem, wyg³adzane, skalowane
50 obrazy, obiekty z alpha-blendingiem i inne elementy.
54 Summary(pl): Biblioteka evas
60 %description libs -l pl
64 Summary: Evas header files
65 Summary(pl): Pliki nag³ówkowe Evas
66 Group: Development/Libraries
67 Requires: %{name}-libs = %{version}-%{release}
68 Requires: DirectFB-devel
69 Requires: OpenGL-devel
72 Requires: freetype-devel
73 Requires: libjpeg-devel
74 Requires: libpng-devel
77 Header files for Evas.
79 %description devel -l pl
80 Pliki nag³ówkowe Evas.
83 Summary: Static Evas library
84 Summary(pl): Statyczna biblioteka Evas
85 Group: Development/Libraries
86 Requires: %{name}-devel = %{version}-%{release}
91 %description static -l pl
92 Statyczna biblioteka Evas.
105 --enable-software-x11 \
106 --disable-software-xcb \
110 --disable-software-qtopia \
112 --enable-image-loader-png \
113 --enable-image-loader-jpeg \
114 --enable-image-loader-eet \
115 --enable-font-loader-eet \
116 --enable-image-loader-edb \
128 --enable-cpu-altivec \
130 --disable-cpu-altivec \
137 rm -rf $RPM_BUILD_ROOT
140 DESTDIR=$RPM_BUILD_ROOT
142 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
144 for FONT in $VERA; do
146 ln -s %{_fontsdir}/TTF/$FONT .
150 rm -rf $RPM_BUILD_ROOT
152 %post libs -p /sbin/ldconfig
153 %postun libs -p /sbin/ldconfig
156 %defattr(644,root,root,755)
157 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
158 %attr(755,root,root) %{_bindir}/evas_*
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_bindir}/evas-config
168 %attr(755,root,root) %{_libdir}/libevas.so
169 %{_libdir}/libevas.la
170 %{_pkgconfigdir}/evas.pc
174 %defattr(644,root,root,755)