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
20 %define _snap 20050329
21 Release: 0.%{_snap}.0.1
24 #Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}_%{_pre}.tar.gz
25 Source0: ftp://ftp.sparky.homelinux.org/pub/e17/%{name}-%{_snap}.tar.gz
26 # Source0-md5: d29b5c91e01c3eda9ff8a940dfe84398
27 URL: http://enlightenment.org/
28 BuildRequires: DirectFB-devel
29 BuildRequires: OpenGL-devel
30 BuildRequires: autoconf
31 BuildRequires: automake
32 BuildRequires: cairo-devel
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 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.
53 Summary: Evas header files
54 Summary(pl): Pliki nag³ówkowe Evas
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
57 Requires: DirectFB-devel
58 Requires: OpenGL-devel
62 Requires: freetype-devel
63 Requires: libjpeg-devel
64 Requires: libpng-devel
67 Header files for Evas.
69 %description devel -l pl
70 Pliki nag³ówkowe Evas.
73 Summary: Static Evas library
74 Summary(pl): Statyczna biblioteka Evas
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}-%{release}
81 %description static -l pl
82 Statyczna biblioteka Evas.
85 #%%setup -q -n %{name}-%{version}_%{_pre}
95 --enable-software-x11 \
99 --disable-software-qtopia \
113 --enable-cpu-altivec \
115 --disable-cpu-altivec \
122 rm -rf $RPM_BUILD_ROOT
125 DESTDIR=$RPM_BUILD_ROOT
128 rm -rf $RPM_BUILD_ROOT
130 %post -p /sbin/ldconfig
131 %postun -p /sbin/ldconfig
134 %defattr(644,root,root,755)
135 %doc AUTHORS README COPYING
136 %attr(755,root,root) %{_bindir}/evas_*
137 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_bindir}/evas-config
143 %attr(755,root,root) %{_libdir}/libevas.so
144 %{_libdir}/libevas.la
145 %{_pkgconfigdir}/evas.pc
149 %defattr(644,root,root,755)