[Tizen-submit] 3306: New package Tizen:2.1:Main/lthor

noreply at tizen.org noreply at tizen.org
Thu Apr 25 00:00:37 GMT 2013


Hi,
Adding new package lthor 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: tools/lthor
Tag: submit/tizen_2.1/20130425.000057
Commit: 6a68a17 Merge branch 'master' into tizen_2.1

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3306

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: tools/lthor
Tag: submit/tizen_2.1/20130425.000057
Commit: 6a68a17 Merge branch 'master' into tizen_2.1

State:   new        2013-04-24T16:31:15 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- lthor.changes
+++ lthor.changes
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Tue Nov  6 16:32:56 UTC 2012 - eduard.bartosh at intel.com
+
+- Initial packaging
+

new:
----
  Makefile
  lthor.changes
  lthor.dsc
  lthor.spec
  lthor_1.3.tar.gz

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

++++++ new spec file:
--- lthor.spec
+++ lthor.spec
@@ -0,0 +1,58 @@
+#
+# spec file for cats-core
+#
+Name:          lthor
+Summary:       Flashing tool for Tizen lunchbox
+Version:       1.3
+Release:       1
+VCS:        tools/lthor#2.1_release-0-g6a68a17
+Group:         Development/Tools/Other
+License:       Apache
+URL:           https://download.tizendev.org/tools/lthor/
+Source0:       %{name}_%{version}.tar.gz
+
+BuildRequires:  libarchive-devel
+BuildRequires:  cmake
+BuildRequires:  pkg-config
+
+Requires: udev
+
+%description
+Tool for downloading binaries from a Linux host PC to a target phone.
+It uses a USB cable as a physical communication medium.
+It is prerequisite that the boot-loader should support download protocol
+which is compatible with 'lthor'.
+
+%prep 
+%setup -q
+
+%build
+cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf %{buildroot}
+
+%post
+if [ -x /sbin/udevadm ] ; then
+    alias udevcontrol="udevadm control"
+fi
+udevcontrol reload_rules ||:
+
+%postun
+if [ -x /sbin/udevadm ] ; then
+    alias udevcontrol="udevadm control"
+fi
+udevcontrol --reload-rules ||:
+
+%files
+%defattr(-,root,root)
+%{_bindir}/%{name}
+%config %{_sysconfdir}/udev/rules.d/*.rules
+
+%changelog
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list