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

Rolla Selbak no_reply at build.meego.com
Mon Dec 6 19:24:22 UTC 2010


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


===================================================================




More information about the MeeGo-commits mailing list