[meego-packaging] [meego-commits] 10613: New package Trunk/uthash

Ryan Ware ware at linux.intel.com
Thu Dec 23 14:45:41 PST 2010


That's correct.  If you have suggestions for how to include it, I'm more
than happy to listen.  The uthash headers are needed to build libsmack
and potentially other pieces of software coming from Nokia.  They are a
separate project (http://uthash.sourceforge.net/).  It also doesn't
include any binaries.  It is only headers that allow C structures to be
stored as a hash table within one's program.

Ryan

On 12/22/2010 05:48 AM, Anas Nashif wrote:
> This package has no files? It only installs header files and generates -devel package only!
>
> Anas
>
>
> On 2010-12-06, at 7:24 PM, Rolla Selbak wrote:
>
>> Hi,
>> Adding new package uthash in project Trunk. Please review and accept ASAP.
>>
>> Justification for this new package:
>>
>> Trunk promotion
>>
>> Thank You,
>> Rolla Selbak
>>
>> [This message was auto-generated]
>>
>> ---
>>
>> Request #10613:
>>
>>   submit:   Trunk:Testing/uthash(r1) ->  Trunk/uthash
>>
>>
>> Message:
>>     Trunk promotion
>>
>> State:   new          2010-12-06T11:24:22 rolla
>> Comment: None
>>
>>
>> This is a NEW package in Trunk project.
>> The files in the new package:
>> uthash/
>>   |__  Makefile
>>   |__  uthash-1.9.3.tar.bz2
>>   |__  uthash.changes
>>   |__  uthash.spec
>>
>> The content of the spec file, uthash.spec:
>> ===================================================================
>> Summary:   A hash table for C structures
>> Name:      uthash
>> Version:   1.9.3
>> Release:   1
>> License:   BSD (revised)
>> Group:     System/Kernel
>> BuildRoot: %{_tmppath}/%{name}-%{version}-root
>> Source0:   %{name}-%{version}.tar.bz2
>>
>> %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
>>
>> %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
>> %defattr(-,root,root,-)
>> %{_includedir}/utarray.h
>> %{_includedir}/uthash.h
>> %{_includedir}/utlist.h
>> %{_includedir}/utstring.h
>>
>>
>> ===================================================================
>>
>> _______________________________________________
>> MeeGo-commits mailing list
>> MeeGo-commits at meego.com
>> http://lists.meego.com/listinfo/meego-commits



More information about the MeeGo-packaging mailing list