From 0ae2db230f25926b4b0a0d3797c806b2097044bf Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Tue, 20 Nov 2012 13:44:17 -0800 Subject: [PATCH] Add Tizen 2.0 packaging --- packaging/embryo.changes | 11 ++++++++ packaging/embryo.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 packaging/embryo.changes create mode 100644 packaging/embryo.spec diff --git a/packaging/embryo.changes b/packaging/embryo.changes new file mode 100644 index 0000000..66b6e1b --- /dev/null +++ b/packaging/embryo.changes @@ -0,0 +1,11 @@ +* Tue Dec 18 2012 Rusty Lynch f18d91f +- Update to stable snapshot 1.7.3-svn.81116 + +* Tue Nov 20 2012 Rusty Lynch 71022c6 +- Update to svn snapshot 1.7.1+svn.78502 + +* Wed 15 Aug 2012 Rob Bradford - 1.2.99.svn.75095 +- Update snapshot + +* Wed Jun 12 2012 - Rusty Lynch - 1.2.99+svn.71848 +- Packaging snapshot of master diff --git a/packaging/embryo.spec b/packaging/embryo.spec new file mode 100644 index 0000000..994c58a --- /dev/null +++ b/packaging/embryo.spec @@ -0,0 +1,66 @@ +#sbs-git:slp/pkgs/e/embryo embryo 1.1.0+svn.68928slp2+build01 ff312ab0f1dd243c5f94e56b2e55f3c43b0cf40f +Name: embryo +Summary: A small virtual machine engine (in a library) and bytecode compiler +Version: 1.7.3+svn.81116+build01 +Release: 1 +Group: System/Libraries +License: BSD +URL: http://www.enlightenment.org/ +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(eina) +Provides: embryo-bin + + +%description +Development files for libembryo0 Embryo is primarily a shared library that gives you an API to load + and control interpreted programs compiled into an abstract machine + bytecode that it understands. This abstract (or virtual) machine is + similar to a real machine with a CPU, but it is emulated in + software. + . + This packages contains headers and static libraries for Embryo. + + + +%package devel +Summary: A small virtual machine engine and bytecode compile (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +A small virtual machine engine (in a library) and bytecode compile (devel) + +%prep +%setup -q + + +%build +export CFLAGS+=" -fvisibility=hidden -fPIC" +export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed" + +libtoolize --force +%autogen --disable-static +%configure --disable-static +make %{?jobs:-j%jobs} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libembryo.so.* +%{_bindir}/embryo_cc +%{_datadir}/embryo/include/default.inc + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/embryo-1/Embryo.h +%{_libdir}/libembryo.so +%{_libdir}/pkgconfig/*.pc -- 2.7.4