add packaging files
authorAnas Nashif <anas.nashif@intel.com>
Wed, 24 Oct 2012 16:17:44 +0000 (09:17 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Wed, 5 Jun 2013 22:02:11 +0000 (15:02 -0700)
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..d9ea5ae
--- /dev/null
@@ -0,0 +1,56 @@
+Name:           embryo
+Version:        1.7.1
+Release:        1
+License:        Mixed BSD 2/3-clause
+Summary:        A small virtual machine engine (in a library) and bytecode compiler
+Url:            http://www.enlightenment.org/
+Group:          System/Libraries
+Source0:        embryo-%{version}.tar.gz
+BuildRequires:  doxygen
+BuildRequires:  pkgconfig(eina)
+
+%description
+Embryo is a tiny library designed as a virtual machine to interpret a
+limited set of small compiled programs.
+
+%package devel
+Summary:        Development components for the embryo package
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+Development components for the embryo package.
+
+%prep
+%setup -q
+
+
+%build
+%configure 
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_bindir}/embryo_cc
+%{_libdir}/libembryo.so.*
+%{_datadir}/embryo/include/default.inc
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/embryo-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog