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 20050706
21 Release: 0.%{_snap}.0.1
24 #Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}_%{_pre}.tar.gz
25 Source0: http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.gz
26 # Source0-md5: a798480eacc9437d84ed12d64f789fc5
27 URL: http://enlightenment.org/
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: fonts-TTF-bitstream-vera
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
61 Requires: freetype-devel
62 Requires: libjpeg-devel
63 Requires: libpng-devel
66 Header files for Evas.
68 %description devel -l pl
69 Pliki nag³ówkowe Evas.
72 Summary: Static Evas library
73 Summary(pl): Statyczna biblioteka Evas
74 Group: Development/Libraries
75 Requires: %{name}-devel = %{version}-%{release}
80 %description static -l pl
81 Statyczna biblioteka Evas.
84 #%%setup -q -n %{name}-%{version}_%{_pre}
94 --enable-software-x11 \
95 --disable-software-xcb \
99 --disable-software-qtopia \
101 --enable-image-loader-png \
102 --enable-image-loader-jpeg \
103 --enable-image-loader-eet \
104 --enable-font-loader-eet \
105 --enable-image-loader-edb \
117 --enable-cpu-altivec \
119 --disable-cpu-altivec \
126 rm -rf $RPM_BUILD_ROOT
129 DESTDIR=$RPM_BUILD_ROOT
131 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
133 for FONT in $VERA; do
135 ln -s %{_fontsdir}/TTF/$FONT .
139 rm -rf $RPM_BUILD_ROOT
141 %post -p /sbin/ldconfig
142 %postun -p /sbin/ldconfig
145 %defattr(644,root,root,755)
146 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
147 %attr(755,root,root) %{_bindir}/evas_*
148 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/evas-config
154 %attr(755,root,root) %{_libdir}/libevas.so
155 %{_libdir}/libevas.la
156 %{_pkgconfigdir}/evas.pc
160 %defattr(644,root,root,755)