Author: witekfl                      Date: Wed Aug  4 20:54:09 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/eina:
   eina.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/eina/eina.spec
diff -u /dev/null packages/eina/eina.spec:1.1
--- /dev/null   Wed Aug  4 22:54:09 2010
+++ packages/eina/eina.spec     Wed Aug  4 22:54:04 2010
@@ -0,0 +1,131 @@
+# $Revision$, $Date$
+# Conditional build:
+%bcond_without mmx             # without MMX and MMX2
+%bcond_without sse             # without SSE
+%bcond_without altivec         # without altivec
+%bcond_without static_libs     # don't build static library
+#
+%ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
+%undefine      with_mmx
+%endif
+%ifnarch i686 pentium3 pentium4 athlon %{x8664}
+%undefine      with_sse
+%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.)
+Name:          eina
+Version:       0.9.9.49898
+Release:       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
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Data types library (List, hash, etc)
+
+%description -l pl.UTF-8
+Bilblioteka typów danych(Lista, hasz, itd.)
+
+%package devel
+Summary:       Eina header files
+Summary(pl.UTF-8):     Pliki nagłówkowe Einy
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for Eina.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe Eina.
+
+%package static
+Summary:       Static Eina library
+Summary(pl.UTF-8):     Statyczna biblioteka Eina
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static Eina library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka Eina.
+
+%prep
+%setup -q
+
+%build
+rm -rf autom4te.cache
+rm -f aclocal.m4 ltmain.sh
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       %{?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
+
+%{__make} V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%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
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/eina-0
+%{_libdir}/libeina.la
+%{_libdir}/libeina.so
+%{_pkgconfigdir}/eina-0.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libeina.a
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/08/04 20:54:04  witekfl
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to