3 %bcond_without mmx # without MMX and MMX2
4 %bcond_without sse # without SSE
5 %bcond_without altivec # without altivec
6 %bcond_without static_libs # don't build static library
8 %ifnarch i586 i686 athlon
15 %undefine with_altivec
18 Summary: Multi-platform Canvas Library
19 Summary(pl): Wieloplatformowa biblioteka do rysowania
25 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
26 # Source0-md5: 499e223429b51daeb7d58da21617daba
27 Patch0: %{name}-missing_m4.patch
28 URL: http://enlightenment.org/Libraries/Evas/
29 BuildRequires: DirectFB-devel
30 BuildRequires: OpenGL-devel
31 BuildRequires: autoconf
32 BuildRequires: automake
33 BuildRequires: edb-devel
34 BuildRequires: eet-devel
35 BuildRequires: freetype-devel
36 BuildRequires: libjpeg-devel
37 BuildRequires: libpng-devel
38 BuildRequires: libtool
39 BuildRequires: pkgconfig
40 Requires: %{name}-libs = %{version}-%{release}
41 Requires: fonts-TTF-bitstream-vera
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Evas is a clean display canvas API for several target display systems
46 that can draw anti-aliased text, smooth super and sub-sampled scaled
47 images, alpha-blend objects much and more.
50 Evas to czyste API "p³ótna obrazu" dla ró¿nych systemów wy¶wietlania,
51 bêd±ce w stanie rysowaæ tekst z antyaliasingiem, wyg³adzane, skalowane
52 obrazy, obiekty z alpha-blendingiem i inne elementy.
56 Summary(pl): Biblioteka evas
62 %description libs -l pl
66 Summary: Evas header files
67 Summary(pl): Pliki nag³ówkowe Evas
68 Group: Development/Libraries
69 Requires: %{name}-libs = %{version}-%{release}
70 Requires: DirectFB-devel
71 Requires: OpenGL-devel
74 Requires: freetype-devel
75 Requires: libjpeg-devel
76 Requires: libpng-devel
79 Header files for Evas.
81 %description devel -l pl
82 Pliki nag³ówkowe Evas.
85 Summary: Static Evas library
86 Summary(pl): Statyczna biblioteka Evas
87 Group: Development/Libraries
88 Requires: %{name}-devel = %{version}-%{release}
93 %description static -l pl
94 Statyczna biblioteka Evas.
107 %{!?with_static_libs:--disable-static} \
108 --enable-software-x11 \
109 --disable-software-xcb \
113 --disable-software-qtopia \
115 --enable-xrender-x11 \
116 --enable-image-loader-png \
117 --enable-image-loader-jpeg \
118 --enable-image-loader-eet \
119 --enable-font-loader-eet \
120 --enable-image-loader-edb \
132 --enable-cpu-altivec \
134 --disable-cpu-altivec \
142 rm -rf $RPM_BUILD_ROOT
145 DESTDIR=$RPM_BUILD_ROOT
147 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
149 for FONT in $VERA; do
151 ln -s %{_fontsdir}/TTF/$FONT .
155 rm -rf $RPM_BUILD_ROOT
157 %post libs -p /sbin/ldconfig
158 %postun libs -p /sbin/ldconfig
161 %defattr(644,root,root,755)
162 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
163 %attr(755,root,root) %{_bindir}/evas_*
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_bindir}/evas-config
173 %attr(755,root,root) %{_libdir}/libevas.so
174 %{_libdir}/libevas.la
175 %{_pkgconfigdir}/evas.pc
178 %if %{with static_libs}
180 %defattr(644,root,root,755)