X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=eina.spec;h=e7b5f51abea67c2bcefae2862e684feac2683a20;hb=fc22e4beefdc4caa6c1202abc5803fe81b0b1183;hp=b09ffec5aed893c2b8e8697e667e7e994f3b4a41;hpb=626e1e76e4891f0a313298e5ddbcd99ae139c73e;p=packages%2Feina.git diff --git a/eina.spec b/eina.spec index b09ffec..e7b5f51 100644 --- a/eina.spec +++ b/eina.spec @@ -1,6 +1,8 @@ +# # 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 # @@ -10,32 +12,39 @@ %ifnarch i686 pentium3 pentium4 athlon %{x8664} %undefine with_sse %endif +%ifnarch pentium4 %{x8664} +%undefine with_sse2 +%endif %ifnarch ppc %undefine with_altivec %endif -%define _snapdate 2010-06-27 -Summary: Data types library (List, hash, etc) -Summary(pl.UTF-8): Bilblioteka typów danych (Lista, hasz, itd.) +Summary: Data types library (list, hash, etc.) +Summary(pl.UTF-8): Biblioteka struktur danych (lista, hasz, itp.) Name: eina -Version: 0.9.9.49898 +Version: 1.7.7 Release: 1 -License: LGPL v2.1 +License: LGPL v2.1+ Group: Libraries -Source0: http://download.enlightenment.org/snapshots/%{_snapdate}/%{name}-%{version}.tar.bz2 -# Source0-md5: d14bacce7d588524c12ddad1db9c7240 -URL: http://enlightenment.org/p.php?p=about/libs/eina +Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 +# Source0-md5: 9c2a1d7133670de1206d1e1455a779e6 +URL: http://trac.enlightenment.org/e/wiki/Eina +BuildRequires: pkgconfig >= 1:0.22 +# ememoa-devel >= 0.0.26 +# escape (for ps3 platform) +# evil >= 1.7.7 (for win32 platform) +# exotic (for ??? platforms) BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Data types library (List, hash, etc) +Data types library (list, hash, etc.) %description -l pl.UTF-8 -Bilblioteka typów danych(Lista, hasz, itd.) +Bilblioteka struktur danych (lista, hasz, itp.). %package devel Summary: Eina header files -Summary(pl.UTF-8): Pliki nagłówkowe Einy +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eina Group: Development/Libraries Requires: %{name} = %{version}-%{release} @@ -43,7 +52,7 @@ Requires: %{name} = %{version}-%{release} Header files for Eina. %description devel -l pl.UTF-8 -Pliki nagłówkowe Eina. +Pliki nagłówkowe biblioteki Eina. %package static Summary: Static Eina library @@ -61,32 +70,15 @@ Statyczna biblioteka Eina. %setup -q %build -rm -rf autom4te.cache -rm -f aclocal.m4 ltmain.sh -%{__libtoolize} -%{__aclocal} -I m4 -%{__autoconf} -%{__autoheader} -%{__automake} %configure \ + --disable-silent-rules \ %{?with_static_libs:--enable-static} \ -%if %{with mmx} - --enable-cpu-mmx \ -%else - --disable-cpu-mmx \ -%endif -%if %{with sse} - --enable-cpu-sse \ -%else - --disable-cpu-sse \ -%endif -%if %{with altivec} - --enable-cpu-altivec \ -%else - --disable-cpu-altivec \ -%endif + --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} V=1 +%{__make} %install rm -rf $RPM_BUILD_ROOT @@ -102,16 +94,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS -%attr(755,root,root) %{_libdir}/libeina-ver-svn-06.so.0.9.9 -%attr(755,root,root) %ghost %{_libdir}/libeina-ver-svn-06.so.0 +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_libdir}/libeina.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libeina.so.1 %files devel %defattr(644,root,root,755) -%{_includedir}/eina-0 +%attr(755,root,root) %{_libdir}/libeina.so %{_libdir}/libeina.la -%{_libdir}/libeina.so -%{_pkgconfigdir}/eina-0.pc +%{_includedir}/eina-1 +%{_pkgconfigdir}/eina.pc %if %{with static_libs} %files static