From c0ba31f4a5cc908d9ddaddc545f8caab4f0ac416 Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Tue, 20 Nov 2012 13:35:10 -0800 Subject: [PATCH] Add Tizen 2.0 packaging --- packaging/eina.changes | 6 +++++ packaging/eina.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 packaging/eina.changes create mode 100644 packaging/eina.spec 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 -- 2.7.4