From: Rusty Lynch Date: Tue, 20 Nov 2012 21:35:10 +0000 (-0800) Subject: Add Tizen 2.0 packaging X-Git-Tag: accepted/2.0alpha-wayland/20121219.185837^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=profile%2Fivi%2Feina.git Add Tizen 2.0 packaging --- diff --git a/packaging/eina.changes b/packaging/eina.changes new file mode 100644 index 0000000..71aa9d4 --- /dev/null +++ b/packaging/eina.changes @@ -0,0 +1,6 @@ +* Tue Dec 18 2012 Rusty Lynch a24b6b2 +- Update to stable snapshot 1.7.3-svn.81116 + +* Tue Nov 20 2012 Rusty Lynch 4beebe2 +- Initial packaging + diff --git a/packaging/eina.spec b/packaging/eina.spec new file mode 100644 index 0000000..ffcaab2 --- /dev/null +++ b/packaging/eina.spec @@ -0,0 +1,73 @@ +Name: eina +Summary: Data Type Library +Version: 1.7.3+svn.81116+build01 +Release: 1 +Group: System/Libraries +License: LGPLv2 +URL: http://www.enlightenment.org/ +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + + +%description +Enlightenment Foundation Library providing optimized data types Eina is a multi-platform library that provides optimized data types and a few + tools. It supports the following data types: + o Array + o Hash Table + o Double-linked list + o Red-black tree + o Shared string + o Access Content types + + Accessor: can access items of a container randomly + + Iterator: can access items of a container sequentially + + +%package devel +Summary: Data Type Library (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + + +%description devel +Enlightenment Foundation Library providing optimized data types (devel) + + +%prep +%setup -q + + +%build +export CFLAGS+=" -fvisibility=hidden" +export LDFLAGS+=" -fvisibility=hidden" + +%autogen --disable-static +%configure --disable-static \ + --disable-rpath --enable-static-chained-pool --enable-magic-debug + +make %{?jobs:-j%jobs} + + +%install +rm -rf %{buildroot} +%make_install +mkdir -p %{buildroot}/usr/share/license +cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name} + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%{_libdir}/libeina.so.* +/usr/share/license/%{name} + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/eina-1 +%{_libdir}/*.so +%{_libdir}/pkgconfig/eina.pc