From 2e580e5665e9ac3fc67b26d6cab33bf5c486e3a4 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 8 Aug 2011 20:31:37 +0900 Subject: [PATCH] Add RPM packaging --- packaging/embryo.spec | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 packaging/embryo.spec diff --git a/packaging/embryo.spec b/packaging/embryo.spec new file mode 100644 index 0000000..0d590d3 --- /dev/null +++ b/packaging/embryo.spec @@ -0,0 +1,91 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.22 +# + +Name: embryo +Summary: A small virtual machine engine (in a library) and bytecode compiler +Version: 1.0.999.svn60294 +Release: 1 +Group: TO_BE/FILLED_IN +License: TO BE FILLED IN +URL: http://www.enlightenment.org/ +Source0: http://download.enlightenment.org/releases/embryo-%{version}.tar.bz2 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(eina) +#BuildRequires: doxygen + + +%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) + +%package bin +Summary: A small virtual machine engine and bytecode compile (bin) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description bin +A small virtual machine engine (in a library) and bytecode compile (bin) + + +%prep +%setup -q -n %{name} + + +%build + +%autogen --disable-static +%configure --disable-static +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + + + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + + + + + + + +%files +%defattr(-,root,root,-) +%{_libdir}/libembryo.so.* + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/embryo-1/Embryo.h +%{_libdir}/libembryo.so +%{_libdir}/pkgconfig/*.pc + +%files bin +%defattr(-,root,root,-) +/usr/bin/embryo_cc +/usr/share/embryo/include/default.inc + -- 2.7.4