From 8f5a4ed7efe4d2f4a38090512eee2827b10a9bb3 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 24 Oct 2012 09:17:44 -0700 Subject: [PATCH] add packaging files --- packaging/embryo.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 packaging/embryo.spec diff --git a/packaging/embryo.spec b/packaging/embryo.spec new file mode 100644 index 0000000..d9ea5ae --- /dev/null +++ b/packaging/embryo.spec @@ -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 -- 2.7.4