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