ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] spec file for json-c-0.8


From: Stuart Hughes
Subject: Re: [Ltib] spec file for json-c-0.8
Date: Mon, 12 Jan 2009 09:38:47 +0000

Hi Robert,

Looks good to me.  It just needs entries for Packager, Group and URL.

Regards, Stuart

On Sat, 2009-01-10 at 15:07 -0500, Robert P. J. Day wrote:
>    i'm open to comments on the following spec file for json-c-0.8 -- i  
> lashed it together based on the existing one for json-c-0.7 that  
> already existed in our local pool.  the patch is strictly for  
> increasing some of the macro values, it's not in any way required.   
> thoughts?
> 
> 
> %define pfx /opt/freescale/rootfs/%{_target_cpu}
> 
> Summary         : JSON C Parser
> Name            : json-c
> Version         : 0.8
> Release         : 0
> License         : GPL
> Vendor          : Freescale
> Packager        : xxxx
> Group           : xxxx
> URL             : http://xxxx
> Source          : %{name}-%{version}.tar.gz
> Patch1          : json-c-0.8-extended_memory.patch
> BuildRoot       : %{_tmppath}/%{name}
> Prefix          : %{pfx}
> 
> %Description
> %{summary}
> 
> %Prep
> %setup
> %patch1 -p1
> 
> %Build
> ac_cv_func_malloc_0_nonnull='yes' \
> jm_cv_func_working_malloc='yes' \
> ac_cv_func_realloc_0_nonnull='yes' \
> jm_cv_func_working_realloc='yes' \
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
> make
> 
> %Install
> rm -rf $RPM_BUILD_ROOT
> make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
> 
> %Clean
> rm -rf $RPM_BUILD_ROOT
> 
> %Files
> %defattr(-,root,root)
> %{pfx}/*
> 
> 
> 
> 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]