# Conditional build:
%bcond_without mmx # without MMX and MMX2
%bcond_without sse # without SSE
+%bcond_without sse2 # without SSE2
%bcond_without altivec # without altivec
%bcond_without static_libs # don't build static library
#
%ifnarch i686 pentium3 pentium4 athlon %{x8664}
%undefine with_sse
%endif
+%ifnarch pentium4 %{x8664}
+%undefine with_sse2
+%endif
%ifnarch ppc
%undefine with_altivec
%endif
Summary: Data types library (list, hash, etc.)
Summary(pl.UTF-8): Biblioteka struktur danych (lista, hasz, itp.)
Name: eina
-Version: 1.0.1
+Version: 1.1.0
Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 8a8dc4ec81511c45925c2ac964f7b3a0
+# Source0-md5: 98acd287a34dbde0f80ab9cd07e16ee0
URL: http://trac.enlightenment.org/e/wiki/Eina
BuildRequires: pkgconfig >= 1:0.22
# ememoa-devel >= 0.0.26
%{?with_static_libs:--enable-static} \
--enable-cpu-mmx%{!?with_mmx:=no} \
--enable-cpu-sse%{!?with_sse:=no} \
+ --enable-cpu-sse2%{!?with_sse2:=no} \
--enable-cpu-altivec%{!?with_altivec:=no}
%{__make}
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libeina.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libeina.so.1