[Top][All Lists]
[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 10:30:29 +0000 |
Hi Robert,
You can't put the Vendor as Freescale as it's not from them. You can
either put in your company name (or entity), or leave out the tag
altogether.
Regards, Stuart
On Mon, 2009-01-12 at 05:07 -0500, Robert P. J. Day wrote:
> A proposed spec file for json-c-0.8 (also attached to make sure
> there are no whitespace issues caused by copy and paste). This
> differs from the earlier version in that JSON-C is actually released
> under the MIT license, not GPL, so that's been corrected. And someone
> else is free to suggest what group this belongs to.
>
>
> %define pfx /opt/freescale/rootfs/%{_target_cpu}
>
> Summary : JSON C Parser
> Name : json-c
> Version : 0.8
> Release : 0
> License : MIT
> Vendor : Freescale
> Packager : Robert P. J. Day
> Group : xxxx
> URL : http://oss.metaparadigm.com/json-c/
> Source : %{name}-%{version}.tar.gz
> BuildRoot : %{_tmppath}/%{name}
> Prefix : %{pfx}
>
> %Description
> %{summary}
>
> %Prep
> %setup
>
> %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