[Tizen-submit] 2898: New package Tizen:2.1:Main/tolua

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:00:31 GMT 2013


Hi,
Adding new package tolua in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/tolua++
Tag: submit/tizen_2.1/20130424.230053
Commit: aeb0dff merge with master

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2898

  submit:       Tizen:2.1:Main:build/tolua(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/tolua++
Tag: submit/tizen_2.1/20130424.230053
Commit: aeb0dff merge with master

State:   new        2013-04-24T15:31:09 tizenrobot
Comment: <no comment>
new:
----
  tolua-1.0.93.tar.gz
  tolua.spec

spec files:
-----------

++++++ new spec file:
--- tolua.spec
+++ tolua.spec
@@ -0,0 +1,59 @@
+Name:       tolua
+Summary:    tolua package
+Version:    1.0.93
+Release:    1
+VCS:        external/tolua++#2.1_release-0-gaeb0dff
+Group:      TO_BE/FILLED_IN
+License:    TO BE FILLED IN
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires:  liblua-devel
+BuildRequires:  cmake
+
+%description
+tolua package
+
+%package devel
+Summary:    tolua package (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+tolua package (devel)
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=x86
+%else
+CXXFLAGS="$CXXFLAGS -mthumb -Wa,-mimplicit-it=thumb -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=arm
+%endif
+
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE  %{buildroot}/usr/share/license/%{name}
+
+%{__make} DESTDIR=%{?buildroot:%{buildroot}} INSTALL_ROOT=%{?buildroot:%{buildroot}} install
+rm -f %{?buildroot:%{buildroot}}%{_infodir}/dir
+find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f --
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest tolua.manifest
+%defattr(-,root,root,-)
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/tolua++.h
+%{_libdir}/libtolua.a

other changes:
--------------

++++++ tolua-1.0.93.tar.gz (new)


More information about the Tizen-submit mailing list