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: fonts-TTF-bitstream-vera
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Evas is a clean display canvas API for several target display systems
43 that can draw anti-aliased text, smooth super and sub-sampled scaled
44 images, alpha-blend objects much and more.
47 Evas to czyste API "p³ótna obrazu" dla ró¿nych systemów wy¶wietlania,
48 bêd±ce w stanie rysowaæ tekst z antyaliasingiem, wyg³adzane, skalowane
49 obrazy, obiekty z alpha-blendingiem i inne elementy.
52 Summary: Evas header files
53 Summary(pl): Pliki nag³ówkowe Evas
54 Group: Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: DirectFB-devel
57 Requires: OpenGL-devel
60 Requires: freetype-devel
61 Requires: libjpeg-devel
62 Requires: libpng-devel
65 Header files for Evas.
67 %description devel -l pl
68 Pliki nag³ówkowe Evas.
71 Summary: Static Evas library
72 Summary(pl): Statyczna biblioteka Evas
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{version}-%{release}
79 %description static -l pl
80 Statyczna biblioteka Evas.
93 --enable-software-x11 \
94 --disable-software-xcb \
98 --disable-software-qtopia \
100 --enable-image-loader-png \
101 --enable-image-loader-jpeg \
102 --enable-image-loader-eet \
103 --enable-font-loader-eet \
104 --enable-image-loader-edb \
116 --enable-cpu-altivec \
118 --disable-cpu-altivec \
125 rm -rf $RPM_BUILD_ROOT
128 DESTDIR=$RPM_BUILD_ROOT
130 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
132 for FONT in $VERA; do
134 ln -s %{_fontsdir}/TTF/$FONT .
138 rm -rf $RPM_BUILD_ROOT
140 %post -p /sbin/ldconfig
141 %postun -p /sbin/ldconfig
144 %defattr(644,root,root,755)
145 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
146 %attr(755,root,root) %{_bindir}/evas_*
147 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_bindir}/evas-config
153 %attr(755,root,root) %{_libdir}/libevas.so
154 %{_libdir}/libevas.la
155 %{_pkgconfigdir}/evas.pc
159 %defattr(644,root,root,755)