2 %bcond_without mmx # without MMX and MMX2
3 %bcond_without sse # without SSE
4 %bcond_without altivec # without altivec
5 %bcond_without static_libs # don't build static library
7 %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
10 %ifnarch i686 pentium3 pentium4 athlon %{x8664}
14 %undefine with_altivec
17 Summary: Data types library (List, hash, etc)
18 Summary(pl.UTF-8): Bilblioteka typów danych (Lista, hasz, itd.)
24 Source0: http://download.enlightenment.org/snapshots/LATEST/%{name}-%{version}.tar.bz2
25 # Source0-md5: d14bacce7d588524c12ddad1db9c7240
26 URL: http://enlightenment.org/p.php?p=about/libs/eina
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Data types library (List, hash, etc)
32 %description -l pl.UTF-8
33 Bilblioteka typów danych(Lista, hasz, itd.)
36 Summary: Eina header files
37 Summary(pl.UTF-8): Pliki nagłówkowe Einy
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
42 Header files for Eina.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe Eina.
48 Summary: Static Eina library
49 Summary(pl.UTF-8): Statyczna biblioteka Eina
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
56 %description static -l pl.UTF-8
57 Statyczna biblioteka Eina.
64 rm -f aclocal.m4 ltmain.sh
71 %{?with_static_libs:--enable-static} \
83 --enable-cpu-altivec \
85 --disable-cpu-altivec \
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
103 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libeina-ver-svn-06.so.0.9.9
106 %attr(755,root,root) %ghost %{_libdir}/libeina-ver-svn-06.so.0
109 %defattr(644,root,root,755)
110 %{_includedir}/eina-0
111 %{_libdir}/libeina.la
112 %{_libdir}/libeina.so
113 %{_pkgconfigdir}/eina-0.pc
115 %if %{with static_libs}
117 %defattr(644,root,root,755)