[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] Spec file for json-c-0.8
From: |
Robert P. J. Day |
Subject: |
[Ltib] Spec file for json-c-0.8 |
Date: |
Mon, 12 Jan 2009 05:07:04 -0500 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.6) |
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}/*
json-c-0.8.spec
Description: Text document
- [Ltib] Spec file for json-c-0.8,
Robert P. J. Day <=