Add RPM packaging
authorMike McCormack <mj.mccormack@samsung.com>
Mon, 8 Aug 2011 11:31:37 +0000 (20:31 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Mon, 8 Aug 2011 11:31:37 +0000 (20:31 +0900)
packaging/embryo.spec [new file with mode: 0644]

diff --git a/packaging/embryo.spec b/packaging/embryo.spec
new file mode 100644 (file)
index 0000000..0d590d3
--- /dev/null
@@ -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
+