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: 6d888cc6427d783ae517185c1e446e38
25 URL: http://enlightenment.org/Libraries/Evas/
26 BuildRequires: DirectFB-devel
27 BuildRequires: OpenGL-devel
28 BuildRequires: autoconf
29 BuildRequires: automake
30 BuildRequires: edb-devel
31 BuildRequires: eet-devel
32 BuildRequires: freetype-devel
33 BuildRequires: libjpeg-devel
34 BuildRequires: libpng-devel
35 BuildRequires: libtool
36 BuildRequires: pkgconfig
37 Requires: fonts-TTF-bitstream-vera
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Evas is a clean display canvas API for several target display systems
42 that can draw anti-aliased text, smooth super and sub-sampled scaled
43 images, alpha-blend objects much and more.
46 Evas to czyste API "p³ótna obrazu" dla ró¿nych systemów wy¶wietlania,
47 bêd±ce w stanie rysowaæ tekst z antyaliasingiem, wyg³adzane, skalowane
48 obrazy, obiekty z alpha-blendingiem i inne elementy.
51 Summary: Evas header files
52 Summary(pl): Pliki nag³ówkowe Evas
53 Group: Development/Libraries
54 Requires: %{name} = %{version}-%{release}
55 Requires: DirectFB-devel
56 Requires: OpenGL-devel
59 Requires: freetype-devel
60 Requires: libjpeg-devel
61 Requires: libpng-devel
64 Header files for Evas.
66 %description devel -l pl
67 Pliki nag³ówkowe Evas.
70 Summary: Static Evas library
71 Summary(pl): Statyczna biblioteka Evas
72 Group: Development/Libraries
73 Requires: %{name}-devel = %{version}-%{release}
78 %description static -l pl
79 Statyczna biblioteka Evas.
91 --enable-software-x11 \
92 --disable-software-xcb \
96 --disable-software-qtopia \
98 --enable-image-loader-png \
99 --enable-image-loader-jpeg \
100 --enable-image-loader-eet \
101 --enable-font-loader-eet \
102 --enable-image-loader-edb \
114 --enable-cpu-altivec \
116 --disable-cpu-altivec \
123 rm -rf $RPM_BUILD_ROOT
126 DESTDIR=$RPM_BUILD_ROOT
128 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
130 for FONT in $VERA; do
132 ln -s %{_fontsdir}/TTF/$FONT .
136 rm -rf $RPM_BUILD_ROOT
138 %post -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
142 %defattr(644,root,root,755)
143 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
144 %attr(755,root,root) %{_bindir}/evas_*
145 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_bindir}/evas-config
151 %attr(755,root,root) %{_libdir}/libevas.so
152 %{_libdir}/libevas.la
153 %{_pkgconfigdir}/evas.pc
157 %defattr(644,root,root,755)