]> git.pld-linux.org Git - packages/eina.git/commitdiff
- new
authorwitekfl <witekfl@pld-linux.org>
Wed, 4 Aug 2010 20:54:04 +0000 (20:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eina.spec -> 1.1

eina.spec [new file with mode: 0644]

diff --git a/eina.spec b/eina.spec
new file mode 100644 (file)
index 0000000..b09ffec
--- /dev/null
+++ b/eina.spec
@@ -0,0 +1,120 @@
+# 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
This page took 0.054016 seconds and 4 git commands to generate.