[Tizen-submit] 2643: New package Tizen:2.1:Base/uthash

noreply at tizen.org noreply at tizen.org
Tue Apr 23 10:43:52 GMT 2013


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

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/uthash
Tag: submit/tizen_2.1/20130423.104410
Commit: f1ed101 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2643

  submit:       Tizen:2.1:Base:build/uthash(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/uthash
Tag: submit/tizen_2.1/20130423.104410
Commit: f1ed101 Tizen 2.1 base

State:   new        2013-04-23T03:14:32 tizenrobot
Comment: <no comment>
new:
----
  uthash-1.9.3.tar.bz2
  uthash.manifest
  uthash.spec

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

++++++ new spec file:
--- uthash.spec
+++ uthash.spec
@@ -0,0 +1,48 @@
+Summary:   A hash table for C structures
+Name:      uthash
+Version:   1.9.3
+Release:   1
+VCS:        toolchains/uthash#2.1_release-0-gf1ed101
+License:   BSD-style single-clause
+Group:     System/Kernel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Source0:   %{name}-%{version}.tar.bz2
+Source1001: packaging/uthash.manifest 
+
+%description
+Any C structure can be stored in a hash table using 
+uthash. Just add a UT_hash_handle to the structure 
+and choose one or more fields in your structure to 
+act as the key. Then use these macros to store, 
+retrieve or delete items from the hash table.
+
+%package devel
+Summary: %{summary}
+Group: Development/Libraries
+
+%description devel
+Description: %{summary}
+
+%prep
+%setup -q 
+%build
+cp %{SOURCE1001} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+mkdir -p  $RPM_BUILD_ROOT/usr/include
+cd src
+cp utarray.h uthash.h utlist.h utstring.h $RPM_BUILD_ROOT/usr/include
+
+
+%clean
+
+%files devel
+%manifest uthash.manifest
+%defattr(-,root,root,-)
+%{_includedir}/utarray.h
+%{_includedir}/uthash.h
+%{_includedir}/utlist.h
+%{_includedir}/utstring.h
+

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

++++++ uthash-1.9.3.tar.bz2 (new)

++++++ uthash.manifest (new)
--- uthash.manifest
+++ uthash.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>


More information about the Tizen-submit mailing list