X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fembryo.spec;h=d1e117869c028be282ac4ee9cc4c5229827a5a5f;hb=0ed490533e275e7f00837103b65c7ebd09457e00;hp=89ba1b03a18660d0f7204c60c5905f46e59fd102;hpb=2efdef1cafa528ae158720210fdf737263a79b08;p=framework%2Fuifw%2Fembryo.git diff --git a/packaging/embryo.spec b/packaging/embryo.spec index 89ba1b0..d1e1178 100644 --- a/packaging/embryo.spec +++ b/packaging/embryo.spec @@ -1,16 +1,14 @@ -#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.6.0+svn.73906slp2+build04 +Version: 1.6.0+svn.76491slp2+build07 Release: 1 Group: System/Libraries -License: BSD +License: BSD 2-Clause 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 @@ -19,33 +17,47 @@ Development files for libembryo0 Embryo is primarily a shared library that gives 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 tools +Summary: A small virtual machine engine and bytecode compile (tools) +Group: Development/Tools +Requires: %{name} = %{version}-%{release} +Provides: %{name}-bin +Obsoletes: %{name}-bin + + +%description tools +A small virtual machine engine (in a library) and bytecode compile (tools) + + %prep %setup -q %build -export CFLAGS+=" -fvisibility=hidden -fPIC" +export CFLAGS+=" -fvisibility=hidden -fPIC -Wall" export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed" %autogen --disable-static -%configure --disable-static make %{?jobs:-j%jobs} %install %make_install +mkdir -p %{buildroot}/%{_datadir}/license +cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/%{name} +cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/%{name}-tools %post -p /sbin/ldconfig @@ -54,8 +66,8 @@ make %{?jobs:-j%jobs} %files %defattr(-,root,root,-) %{_libdir}/libembryo.so.* -%{_bindir}/embryo_cc -%{_datadir}/embryo/include/default.inc +%{_datadir}/license/%{name} +%manifest %{name}.manifest %files devel @@ -63,3 +75,10 @@ make %{?jobs:-j%jobs} %{_includedir}/embryo-1/Embryo.h %{_libdir}/libembryo.so %{_libdir}/pkgconfig/*.pc + + +%files tools +%defattr(-,root,root,-) +%{_bindir}/embryo_cc +%{_datadir}/license/%{name}-tools +%{_datadir}/embryo/include/default.inc