]> git.pld-linux.org Git - packages/eina.git/blobdiff - eina.spec
- updated to 1.7.7
[packages/eina.git] / eina.spec
index b24bf0408577d873d77da0946db6794718a06a7b..e7b5f51abea67c2bcefae2862e684feac2683a20 100644 (file)
--- a/eina.spec
+++ b/eina.spec
@@ -2,6 +2,7 @@
 # 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):     Bilblioteka struktur danych (lista, hasz, itp.)
+Summary(pl.UTF-8):     Biblioteka struktur danych (lista, hasz, itp.)
 Name:          eina
-%define        subver  alpha
-Version:       1.0.0
-Release:       0.%{subver}.1
-License:       LGPL v2.1
+Version:       1.7.7
+Release:       1
+License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://download.enlightenment.org/releases/%{name}-%{version}-%{subver}.tar.bz2
-# Source0-md5: d417ca58a3b919257b23e5bdd57dfe1b
+Source0:       http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: 9c2a1d7133670de1206d1e1455a779e6
 URL:           http://trac.enlightenment.org/e/wiki/Eina
-BuildRequires: pkgconfig
+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
@@ -60,29 +67,18 @@ Static Eina library.
 Statyczna biblioteka Eina.
 
 %prep
-%setup -q -n %{name}-%{version}-%{subver}
+%setup -q
 
 %build
 %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
@@ -98,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libeina.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libeina.so.1
 
This page took 0.079546 seconds and 4 git commands to generate.