head	1.138;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.16
	OPENPKG_E1_MP:1.16
	OPENPKG_E1_MP_2_STABLE:1.14.2.2
	OPENPKG_E1_FP:1.14.2.2
	OPENPKG_2_STABLE_MP:1.16
	OPENPKG_2_STABLE_20061018:1.14.2.2
	OPENPKG_2_STABLE:1.14.0.2;
locks; strict;
comment	@-- @;


1.138
date	2009.12.30.21.22.28;	author rse;	state Exp;
branches;
next	1.137;
commitid	Fcj2GXwHUelGxrhu;

1.137
date	2009.11.18.19.08.25;	author rse;	state Exp;
branches;
next	1.136;
commitid	vC2hqSla03to92cu;

1.136
date	2009.11.15.20.48.19;	author rse;	state Exp;
branches;
next	1.135;
commitid	RTc7j3GuyTXDNEbu;

1.135
date	2009.11.01.18.15.03;	author rse;	state Exp;
branches;
next	1.134;
commitid	AObtgyc4h9CXoQ9u;

1.134
date	2009.10.22.21.14.41;	author rse;	state Exp;
branches;
next	1.133;
commitid	hEnSOpsZlnPwIz8u;

1.133
date	2009.10.22.21.03.30;	author rse;	state Exp;
branches;
next	1.132;
commitid	d3FtZjVPSQfFEz8u;

1.132
date	2009.10.21.19.36.45;	author rse;	state Exp;
branches;
next	1.131;
commitid	uMiVVEMOxRQUcr8u;

1.131
date	2009.10.21.19.27.47;	author rse;	state Exp;
branches;
next	1.130;
commitid	gniutBduxXCQ9r8u;

1.130
date	2009.10.21.19.25.12;	author rse;	state Exp;
branches;
next	1.129;
commitid	h7wuf4iP8pjX8r8u;

1.129
date	2009.10.16.16.18.03;	author rse;	state Exp;
branches;
next	1.128;
commitid	ygiJXJqX21tHgM7u;

1.128
date	2009.09.30.06.22.03;	author rse;	state Exp;
branches;
next	1.127;
commitid	IWSYfLlsQmv8uF5u;

1.127
date	2009.09.20.17.06.14;	author rse;	state Exp;
branches;
next	1.126;
commitid	obutGHYjBV94nr4u;

1.126
date	2009.09.19.07.21.00;	author rse;	state Exp;
branches;
next	1.125;
commitid	2q4NiNbCzKxhag4u;

1.125
date	2009.08.23.20.28.01;	author rse;	state Exp;
branches;
next	1.124;
commitid	dwfQ3jCDIeF5oR0u;

1.124
date	2009.07.31.19.53.14;	author rse;	state Exp;
branches;
next	1.123;
commitid	8hqfk3MUtISZVTXt;

1.123
date	2009.07.18.09.45.56;	author rse;	state Exp;
branches;
next	1.122;
commitid	2qg1Ly5y3ELxZaWt;

1.122
date	2009.07.09.09.25.24;	author rse;	state Exp;
branches;
next	1.121;
commitid	0N3z82Aeo2Jra1Vt;

1.121
date	2009.06.26.17.19.06;	author rse;	state Exp;
branches;
next	1.120;
commitid	AM83YyGEUbJRcoTt;

1.120
date	2009.06.19.17.43.39;	author rse;	state Exp;
branches;
next	1.119;
commitid	FKuqT0i71swezuSt;

1.119
date	2009.06.02.17.49.33;	author rse;	state Exp;
branches;
next	1.118;
commitid	K4pUbokxDfS79jQt;

1.118
date	2009.04.28.17.14.16;	author rse;	state Exp;
branches;
next	1.117;
commitid	BbxkLyW4bIAM4OLt;

1.117
date	2009.04.18.13.11.36;	author rse;	state Exp;
branches;
next	1.116;
commitid	4pHXU27WTIGCZuKt;

1.116
date	2009.04.18.06.42.10;	author rse;	state Exp;
branches;
next	1.115;
commitid	REEzPdbJ4BGRTsKt;

1.115
date	2009.04.11.09.01.02;	author rse;	state Exp;
branches;
next	1.114;
commitid	jIDVmQc97aLrTzJt;

1.114
date	2009.03.26.17.48.52;	author rse;	state Exp;
branches;
next	1.113;
commitid	xjISxdWwSt1qkzHt;

1.113
date	2009.03.11.19.47.14;	author rse;	state Exp;
branches;
next	1.112;
commitid	wnFi0Q2q43MUsEFt;

1.112
date	2009.02.24.08.34.47;	author rse;	state Exp;
branches;
next	1.111;
commitid	AzmPsvyFzFQ6eFDt;

1.111
date	2009.02.23.21.18.16;	author rse;	state Exp;
branches;
next	1.110;
commitid	XWSclLdHRIA1uBDt;

1.110
date	2009.02.20.07.29.01;	author rse;	state Exp;
branches;
next	1.109;
commitid	1DlCAUDqQtbxZ8Dt;

1.109
date	2009.02.19.22.41.37;	author rse;	state Exp;
branches;
next	1.108;
commitid	KMUZ4DxVmCrB46Dt;

1.108
date	2009.01.05.19.45.08;	author rse;	state Exp;
branches;
next	1.107;
commitid	Asff4bTzLBSJxixt;

1.107
date	2008.11.29.08.30.52;	author rse;	state Exp;
branches;
next	1.106;
commitid	NqB9B4WXaJja0ust;

1.106
date	2008.11.25.19.48.52;	author rse;	state Exp;
branches;
next	1.105;
commitid	b6zmHsN1sWCIS1st;

1.105
date	2008.08.28.10.08.46;	author rse;	state Exp;
branches;
next	1.104;
commitid	nxC259V1IIt5xxgt;

1.104
date	2008.08.18.17.35.23;	author rse;	state Exp;
branches;
next	1.103;
commitid	qWkuFcODkKedkift;

1.103
date	2008.08.16.20.25.34;	author rse;	state Exp;
branches;
next	1.102;
commitid	c20TBKNu6cPBk3ft;

1.102
date	2008.08.13.17.09.43;	author rse;	state Exp;
branches;
next	1.101;
commitid	AeeBzMG2gGjolEet;

1.101
date	2008.07.31.17.10.57;	author rse;	state Exp;
branches;
next	1.100;
commitid	UCgFDHM2BxPILYct;

1.100
date	2008.07.21.13.00.10;	author rse;	state Exp;
branches;
next	1.99;
commitid	zUodepZHLMMCHFbt;

1.99
date	2008.07.19.19.22.01;	author rse;	state Exp;
branches;
next	1.98;
commitid	Y1V1ehGv8JWBSrbt;

1.98
date	2008.07.16.20.42.37;	author rse;	state Exp;
branches;
next	1.97;
commitid	hoALzYdtYgFeq4bt;

1.97
date	2008.07.16.07.01.41;	author rse;	state Exp;
branches;
next	1.96;
commitid	PeJYgyFR4v7BSZat;

1.96
date	2008.06.17.17.09.19;	author rse;	state Exp;
branches;
next	1.95;
commitid	NQdGar3xBjOQak7t;

1.95
date	2008.06.06.09.41.44;	author rse;	state Exp;
branches;
next	1.94;
commitid	Oxg1RZrCW8Zd3S5t;

1.94
date	2008.06.04.20.16.18;	author rse;	state Exp;
branches;
next	1.93;
commitid	TKmHT6aMK25UCF5t;

1.93
date	2008.04.21.18.15.40;	author rse;	state Exp;
branches;
next	1.92;
commitid	keOhtifDqQOcn00t;

1.92
date	2008.04.17.06.06.28;	author rse;	state Exp;
branches;
next	1.91;
commitid	JnSqTCDM54A1tqZs;

1.91
date	2008.04.15.19.05.46;	author rse;	state Exp;
branches;
next	1.90;
commitid	vzqnq0Cy9C2mQeZs;

1.90
date	2008.04.13.07.48.56;	author rse;	state Exp;
branches;
next	1.89;
commitid	DWb4xXFUPgW8aVYs;

1.89
date	2008.03.26.16.45.06;	author rse;	state Exp;
branches;
next	1.88;
commitid	1GhyWWIW9A7XHEWs;

1.88
date	2008.03.20.07.21.12;	author rse;	state Exp;
branches;
next	1.87;
commitid	t9IDcuFsvFyrMPVs;

1.87
date	2008.03.17.07.18.32;	author rse;	state Exp;
branches;
next	1.86;
commitid	28VVarOZULIvRrVs;

1.86
date	2008.03.05.14.17.03;	author rse;	state Exp;
branches;
next	1.85;
commitid	Gl6fp7TqVdN0zWTs;

1.85
date	2008.02.16.09.43.19;	author rse;	state Exp;
branches;
next	1.84;
commitid	0OizWwC6QexYCBRs;

1.84
date	2008.02.08.09.38.15;	author rse;	state Exp;
branches;
next	1.83;
commitid	klxQl9HwoCIbRzQs;

1.83
date	2008.02.05.19.24.03;	author rse;	state Exp;
branches;
next	1.82;
commitid	bwM5g43PZbY7cfQs;

1.82
date	2008.01.26.10.07.26;	author rse;	state Exp;
branches;
next	1.81;
commitid	qW8kMiyuVWs6rUOs;

1.81
date	2008.01.06.19.59.19;	author rse;	state Exp;
branches;
next	1.80;
commitid	ByFlgSy33Dd1moMs;

1.80
date	2008.01.04.08.02.24;	author rse;	state Exp;
branches;
next	1.79;
commitid	8UZlxVMqCSb3s4Ms;

1.79
date	2008.01.03.16.12.51;	author rse;	state Exp;
branches;
next	1.78;
commitid	zADYgQb8yVNicZLs;

1.78
date	2008.01.01.14.56.15;	author rse;	state Exp;
branches;
next	1.77;
commitid	B8esaHJHoduuKILs;

1.77
date	2007.12.29.18.59.28;	author rse;	state Exp;
branches;
next	1.76;
commitid	uOy2sct5V3jqhmLs;

1.76
date	2007.12.27.16.38.34;	author rse;	state Exp;
branches;
next	1.75;
commitid	VyiOXX3mP8B4z5Ls;

1.75
date	2007.12.26.08.36.38;	author rse;	state Exp;
branches;
next	1.74;
commitid	LN1aWOCTvQdJVUKs;

1.74
date	2007.12.22.12.55.49;	author rse;	state Exp;
branches;
next	1.73;
commitid	bPndH5Q8hNUCuqKs;

1.73
date	2007.12.20.16.04.00;	author cs;	state Exp;
branches;
next	1.72;
commitid	RbpWq1OXEKI8BbKs;

1.72
date	2007.12.19.11.54.46;	author rse;	state Exp;
branches;
next	1.71;
commitid	NfbLTTMZHaJEf2Ks;

1.71
date	2007.12.16.15.35.43;	author rse;	state Exp;
branches;
next	1.70;
commitid	P5qF6hLvvYXpzFJs;

1.70
date	2007.12.10.16.30.19;	author cs;	state Exp;
branches;
next	1.69;
commitid	RSvFjaWIk5Z64UIs;

1.69
date	2007.12.09.10.36.08;	author rse;	state Exp;
branches;
next	1.68;
commitid	6oArnnRjgTqB8KIs;

1.68
date	2007.12.08.11.21.56;	author rse;	state Exp;
branches;
next	1.67;
commitid	e4EeTQzn8gIjqCIs;

1.67
date	2007.12.06.08.52.29;	author cs;	state Exp;
branches;
next	1.66;
commitid	ExTT4I6CXyN1FlIs;

1.66
date	2007.12.04.15.49.33;	author cs;	state Exp;
branches;
next	1.65;
commitid	QucXhJbPbHV528Is;

1.65
date	2007.12.03.10.10.53;	author rse;	state Exp;
branches;
next	1.64;
commitid	mgE0FJcKXDUTbYHs;

1.64
date	2007.11.14.18.16.54;	author rse;	state Exp;
branches;
next	1.63;
commitid	KWD0EryfWleuuzFs;

1.63
date	2007.11.14.14.32.20;	author cs;	state Exp;
branches;
next	1.62;
commitid	SIJiDoTctRqsfyFs;

1.62
date	2007.10.19.13.09.28;	author rse;	state Exp;
branches;
next	1.61;
commitid	8Fu86rnxRASQCcCs;

1.61
date	2007.10.19.06.43.28;	author rse;	state Exp;
branches;
next	1.60;
commitid	g6mjeTBnRg8ruaCs;

1.60
date	2007.10.18.17.23.20;	author rse;	state Exp;
branches;
next	1.59;
commitid	OfW00d9qqJXV36Cs;

1.59
date	2007.10.17.14.38.44;	author rse;	state Exp;
branches;
next	1.58;
commitid	9FxrofQSlJFsbXBs;

1.58
date	2007.10.15.08.25.55;	author rse;	state Exp;
branches;
next	1.57;
commitid	FbbSWUUo50QxbFBs;

1.57
date	2007.10.13.14.35.11;	author cs;	state Exp;
branches;
next	1.56;
commitid	EsPviJwyEppdirBs;

1.56
date	2007.10.04.06.25.03;	author rse;	state Exp;
branches;
next	1.55;
commitid	9rjzfN5X4FK0SeAs;

1.55
date	2007.10.03.15.39.57;	author rse;	state Exp;
branches;
next	1.54;
commitid	Bo4pNtdHkQtmY9As;

1.54
date	2007.09.07.09.30.40;	author rse;	state Exp;
branches;
next	1.53;
commitid	Dj0BzwiJ32WuLMws;

1.53
date	2007.08.29.17.05.00;	author rse;	state Exp;
branches;
next	1.52;
commitid	fx1sTfRNCREhzFvs;

1.52
date	2007.08.29.07.29.29;	author rse;	state Exp;
branches;
next	1.51;
commitid	TXzWjir2tvQQnCvs;

1.51
date	2007.08.24.19.35.28;	author rse;	state Exp;
branches;
next	1.50;
commitid	dfRZqUETPehSy2vs;

1.50
date	2007.08.22.21.21.05;	author cs;	state Exp;
branches;
next	1.49;
commitid	PhjU2DmGLbU5dNus;

1.49
date	2007.08.03.18.08.34;	author rse;	state Exp;
branches;
next	1.48;
commitid	q81zx9A4orqUKkss;

1.48
date	2007.07.31.07.47.42;	author rse;	state Exp;
branches;
next	1.47;
commitid	bnemOFiwRstTpTrs;

1.47
date	2007.07.11.05.44.15;	author cs;	state Exp;
branches;
next	1.46;
commitid	lh0lQbfntkepnjps;

1.46
date	2007.07.02.15.53.43;	author cs;	state Exp;
branches;
next	1.45;
commitid	akr4C1OcdPhq2dos;

1.45
date	2007.06.25.06.20.46;	author rse;	state Exp;
branches;
next	1.44;
commitid	Xy5WLk3O55UO5gns;

1.44
date	2007.06.24.17.19.28;	author rse;	state Exp;
branches;
next	1.43;
commitid	bWPIG7fE8mzMLbns;

1.43
date	2007.06.24.07.48.39;	author rse;	state Exp;
branches;
next	1.42;
commitid	GlCBQdp33pUXB8ns;

1.42
date	2007.06.11.17.43.25;	author cs;	state Exp;
branches;
next	1.41;
commitid	IKa31CKZC6LUjwls;

1.41
date	2007.06.07.08.48.47;	author rse;	state Exp;
branches;
next	1.40;
commitid	2sZfmbE8xMMsuXks;

1.40
date	2007.06.04.15.22.40;	author rse;	state Exp;
branches;
next	1.39;
commitid	NtdMqSdx0CBzLBks;

1.39
date	2007.06.01.17.16.25;	author cs;	state Exp;
branches;
next	1.38;
commitid	9rSzBF3dkPGzueks;

1.38
date	2007.05.25.14.59.17;	author cs;	state Exp;
branches;
next	1.37;
commitid	7ENTVVYQNwXtXjjs;

1.37
date	2007.05.21.07.28.51;	author rse;	state Exp;
branches;
next	1.36;
commitid	GRZEjHzf0oHVALis;

1.36
date	2007.05.17.20.53.15;	author rse;	state Exp;
branches;
next	1.35;
commitid	MYljrTq8aUfRakis;

1.35
date	2007.05.14.17.49.21;	author rse;	state Exp;
branches;
next	1.34;
commitid	LbckKztwnDmKfVhs;

1.34
date	2007.05.10.19.04.49;	author rse;	state Exp;
branches;
next	1.33;
commitid	i5alApnBY9GBNphs;

1.33
date	2007.05.06.14.50.24;	author cs;	state Exp;
branches;
next	1.32;
commitid	R9ld6ZuKVZ4iwSgs;

1.32
date	2007.05.03.14.29.26;	author cs;	state Exp;
branches;
next	1.31;
commitid	kHLDLZHSqZN4vugs;

1.31
date	2007.04.27.14.47.15;	author cs;	state Exp;
branches;
next	1.30;
commitid	RTdwIa2v4Ex9NIfs;

1.30
date	2007.04.23.16.03.38;	author cs;	state Exp;
branches;
next	1.29;
commitid	03cdUwCcvu8kldfs;

1.29
date	2007.04.19.15.23.11;	author cs;	state Exp;
branches;
next	1.28;
commitid	zw6M59VfjDiqfHes;

1.28
date	2007.04.19.06.23.42;	author rse;	state Exp;
branches;
next	1.27;
commitid	FQNrdmqQj78lgEes;

1.27
date	2007.04.12.14.36.16;	author cs;	state Exp;
branches;
next	1.26;
commitid	lgun6ZWv2qWgdNds;

1.26
date	2007.04.10.16.56.36;	author rse;	state Exp;
branches;
next	1.25;
commitid	iYPbubMgkTNp3yds;

1.25
date	2007.04.10.07.01.44;	author rse;	state Exp;
branches;
next	1.24;
commitid	EzKoCPhgh1zkLuds;

1.24
date	2007.04.05.06.40.38;	author rse;	state Exp;
branches;
next	1.23;
commitid	QmyYKseBgdm3OQcs;

1.23
date	2007.04.01.08.27.24;	author rse;	state Exp;
branches;
next	1.22;
commitid	O5BkTnOsgL5Fwlcs;

1.22
date	2007.03.29.09.45.28;	author rse;	state Exp;
branches;
next	1.21;
commitid	ucBmt4zeysRp3Ybs;

1.21
date	2007.03.28.09.01.01;	author cs;	state Exp;
branches;
next	1.20;
commitid	57O9X2DNSSC9QPbs;

1.20
date	2007.03.27.04.42.36;	author cs;	state Exp;
branches;
next	1.19;
commitid	YbCTsArCdl1vrGbs;

1.19
date	2007.03.26.11.32.32;	author rse;	state Exp;
branches;
next	1.18;
commitid	MvMpMuxFSgv7KAbs;

1.18
date	2007.03.24.09.25.54;	author rse;	state Exp;
branches;
next	1.17;
commitid	m0NYDl7sjdtF6kbs;

1.17
date	2007.03.12.13.53.07;	author rse;	state Exp;
branches;
next	1.16;
commitid	AQrsvAzHl22gYN9s;

1.16
date	2007.01.01.17.38.54;	author rse;	state Exp;
branches;
next	1.15;
commitid	BicZD6VUl7GuqP0s;

1.15
date	2006.11.26.17.05.34;	author rse;	state Exp;
branches;
next	1.14;
commitid	RBuLamG5MD3wrcWr;

1.14
date	2006.10.16.06.21.56;	author rse;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	DBC9r33qUtIqcSQr;

1.13
date	2006.10.13.17.29.09;	author thl;	state Exp;
branches;
next	1.12;
commitid	q5GSxzsSDX29XxQr;

1.12
date	2006.10.12.19.54.46;	author rse;	state Exp;
branches;
next	1.11;
commitid	OUSYpjf0nhXfPqQr;

1.11
date	2006.06.29.06.42.33;	author rse;	state Exp;
branches;
next	1.10;
commitid	6Z7l9hECK36JORCr;

1.10
date	2006.06.22.13.29.17;	author rse;	state Exp;
branches;
next	1.9;
commitid	HvSbwmPFC6Gdi0Cr;

1.9
date	2006.06.05.20.06.21;	author rse;	state Exp;
branches;
next	1.8;
commitid	d6erwBPFnXKh2Rzr;

1.8
date	2006.05.16.07.42.09;	author rse;	state Exp;
branches;
next	1.7;
commitid	E7Q8wqA5QFnRydxr;

1.7
date	2006.05.10.16.59.30;	author rse;	state Exp;
branches;
next	1.6;
commitid	va98nscbWk22Quwr;

1.6
date	2006.04.21.08.55.12;	author rse;	state Exp;
branches;
next	1.5;
commitid	Es6zjLGjRI3KL0ur;

1.5
date	2006.03.10.19.28.06;	author rse;	state Exp;
branches;
next	1.4;
commitid	1tsSEZSsj2TzCFor;

1.4
date	2006.03.02.18.21.09;	author rse;	state Exp;
branches;
next	1.3;
commitid	c9RMA56P7u9xvDnr;

1.3
date	2006.02.21.18.37.19;	author rse;	state Exp;
branches;
next	1.2;
commitid	0SMIYuC7AdT1Ttmr;

1.2
date	2006.02.17.19.02.43;	author rse;	state Exp;
branches;
next	1.1;
commitid	pj2NHezWnlRH9Ylr;

1.1
date	2006.02.07.20.08.21;	author rse;	state Exp;
branches;
next	;
commitid	8PAH8FZ7mgE9QGkr;

1.14.2.1
date	2006.10.16.06.21.56;	author rse;	state dead;
branches;
next	1.14.2.2;
commitid	iZxwRSmmWscPXUQr;

1.14.2.2
date	2006.10.16.14.51.29;	author rse;	state Exp;
branches;
next	1.14.2.3;
commitid	iZxwRSmmWscPXUQr;

1.14.2.3
date	2007.01.06.13.49.36;	author thl;	state Exp;
branches;
next	;
commitid	64YWMfcnWvBu2s1s;


desc
@@


1.138
log
@modifying package: json-20090929 20091118 -> 20091230
@
text
@##
##  json.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_api_c   0.9
%define       V_api_c2  1.1.0
%define       V_api_c3  0.4
%define       V_api_pl1 2.16
%define       V_api_pl2 0.03
%define       V_api_pl3 0.39
%define       V_api_pl4 2.2311
%define       V_api_pl5 0.011
%define       V_api_js1 20090929
%define       V_api_js2 20090929

#   package information
Name:         json
Summary:      JavaScript Object Notation (JSON)
URL:          http://www.json.org/
Vendor:       D. Crockford et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        Language
License:      Open Source
Version:      %{V_api_js2}
Release:      20091230

#   list of sources
Source0:      http://oss.metaparadigm.com/json-c/json-c-%{V_api_c}.tar.gz
Source1:      http://switch.dl.sourceforge.net/zzjson/zzjson-%{V_api_c2}.tar.gz
Source2:      http://projects.snarc.org/libjson/download/libjson-%{V_api_c3}.tar.bz2
Source3:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{V_api_pl1}.tar.gz
Source4:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-PC-%{V_api_pl2}.tar.gz
Source5:      http://www.cpan.org/authors/id/D/DO/DOWENS/JSON-DWIW-%{V_api_pl3}.tar.gz
Source6:      http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{V_api_pl4}.tar.gz
Source7:      http://www.cpan.org/authors/id/P/PE/PERLER/JavaScript-Dumper-%{V_api_pl5}.tar.gz
Source8:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js1}.js
Source9:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json2-%{V_api_js2}.js
Source10:     http://www.ietf.org/rfc/rfc4627.txt
Patch0:       json.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, perl-openpkg, make
PreReq:       OpenPKG, openpkg >= 20040130, perl
AutoReq:      no
AutoReqProv:  no

%description
    JSON (JavaScript Object Notation) is a lightweight data-interchange
    format. It is easy for humans to read and write. It is easy for
    machines to parse and generate. It is based on a subset of the
    JavaScript Programming Language, Standard ECMA-262 3rd Edition.
    JSON is a text format that is completely language independent but
    uses conventions that are familiar to programmers of the C-family
    of languages. These properties make JSON an ideal data-interchange
    language.

%track
    prog json:json-c = {
        version   = %{V_api_c}
        url       = http://oss.metaparadigm.com/json-c/
        regex     = json-c-(__VER__)\.tar\.gz
    }
    prog json:json-c2 = {
        version   = %{V_api_c2}
        url       = http://sourceforge.net/projects/zzjson/files/
        regex     = zzjson-(__VER__)\.tar\.gz
    }
    prog json:json-c3 = {
        version   = %{V_api_c3}
        url       = http://projects.snarc.org/libjson/download/
        regex     = libjson-(__VER__)\.tar\.bz2
    }
    prog json:json-pl1 = {
        version   = %{V_api_pl1}
        url       = http://www.cpan.org/authors/id/M/MA/MAKAMAKA/
        regex     = JSON-(__VER__)\.tar\.gz
    }
    prog json:json-pl2 = {
        version   = %{V_api_pl2}
        url       = http://www.cpan.org/authors/id/M/MA/MAKAMAKA/
        regex     = JSON-PC-(__VER__)\.tar\.gz
    }
    prog json:json-pl3 = {
        version   = %{V_api_pl3}
        url       = http://www.cpan.org/authors/id/D/DO/DOWENS/
        regex     = JSON-DWIW-(__VER__)\.tar\.gz
    }
    prog json:json-pl4 = {
        version   = %{V_api_pl4}
        url       = http://www.cpan.org/authors/id/M/ML/MLEHMANN/
        regex     = JSON-XS-(__VER__)\.tar\.gz
    }
    prog json:json-pl5 = {
        version   = %{V_api_pl5}
        url       = http://www.cpan.org/authors/id/P/PE/PERLER/
        regex     = JavaScript-Dumper-(__VER__)\.tar\.gz
    }
    prog json:json-js1 = {
        version   = %{V_api_js1}
        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/
        regex     = json-(__VER__)\.js
    }
    prog json:json-js2 = {
        version   = %{V_api_js2}
        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/
        regex     = json2-(__VER__)\.js
    }

%prep
    %setup -q -c
    %setup -q -T -D -a 1
    %setup -q -T -D -a 2
    %setup -q -T -D -a 3
    %setup -q -T -D -a 4
    %setup -q -T -D -a 5
    %setup -q -T -D -a 6
    %setup -q -T -D -a 7
    cp %{SOURCE json-%{V_api_js1}.js} json.js
    cp %{SOURCE json2-%{V_api_js2}.js} json2.js
    %patch -p0

%build
    ( cd json-c-%{V_api_c}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      ./configure \
          --prefix=%{l_prefix} \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?
    ( cd zzjson-%{V_api_c2}
      CC="%{l_cc}" \
      %{l_bash} ./buildstatic.sh
    ) || exit $?
    ( cd libjson-%{V_api_c3}
      %{l_make} %{l_mflags} \
          CC="%{l_cc}" \
          CFLAGS="%{l_cflags -O}" \
          libjson.a
    ) || exit $?
    %{l_prefix}/bin/perl-openpkg prepare
    %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl1} configure build
    %{l_prefix}/bin/perl-openpkg -d JSON-PC-%{V_api_pl2} configure build
    %{l_prefix}/bin/perl-openpkg -d JSON-DWIW-%{V_api_pl3} configure build
    %{l_prefix}/bin/perl-openpkg -d JSON-XS-%{V_api_pl4} configure build
    %{l_prefix}/bin/perl-openpkg -d JavaScript-Dumper-%{V_api_pl5} configure build

%install
    rm -rf $RPM_BUILD_ROOT
    ( cd json-c-%{V_api_c}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    ( cd zzjson-%{V_api_c2}
      %{l_shtool} install -c -m 644 \
          include/zzjson.h $RPM_BUILD_ROOT%{l_prefix}/include/
      %{l_shtool} install -c -m 644 \
          lib/libzzjson.a $RPM_BUILD_ROOT%{l_prefix}/lib/
    ) || exit $?
    ( cd libjson-%{V_api_c3}
      %{l_shtool} install -c -m 644 \
          json.h $RPM_BUILD_ROOT%{l_prefix}/include/
      %{l_shtool} install -c -m 644 \
          libjson.a $RPM_BUILD_ROOT%{l_prefix}/lib/
    ) || exit $?
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/share/json
    %{l_shtool} install -c -m 644 \
        json.js json2.js $RPM_BUILD_ROOT%{l_prefix}/share/json/
    %{l_shtool} install -c -m 644 \
        %{SOURCE rfc4627.txt} $RPM_BUILD_ROOT%{l_prefix}/share/json/
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d
    ( echo "Alias /openpkg-json/ %{l_prefix}/share/json/"
      echo "<Directory %{l_prefix}/share/json/>"
      echo "    Options       Indexes"
      echo "    AllowOverride none"
      echo "    Order         allow,deny"
      echo "    Allow         from all"
      echo "</Directory>"
    ) >json.conf
    %{l_shtool} install -c -m 644 \
        json.conf $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
    %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl1} install
    %{l_prefix}/bin/perl-openpkg -d JSON-PC-%{V_api_pl2} install
    %{l_prefix}/bin/perl-openpkg -d JSON-DWIW-%{V_api_pl3} install
    %{l_prefix}/bin/perl-openpkg -d JSON-XS-%{V_api_pl4} install
    %{l_prefix}/bin/perl-openpkg -d JavaScript-Dumper-%{V_api_pl5} install
    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} `cat perl-openpkg-files` \
        '%config %{l_prefix}/etc/apache/apache.d/*'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.137
log
@modifying package: json-20090929 20091115 -> 20091118
@
text
@d27 1
a27 1
%define       V_api_c3  0.3
d47 1
a47 1
Release:      20091118
@


1.136
log
@modifying package: json-20090929 20091101 -> 20091115
@
text
@d26 2
a27 2
%define       V_api_c2  1.0.1
%define       V_api_c3  0.2
d47 1
a47 1
Release:      20091115
d61 1
d144 1
@


1.135
log
@modifying package: json-20090929 20091022 -> 20091101
@
text
@d27 1
d47 1
a47 1
Release:      20091101
d52 9
a60 8
Source2:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{V_api_pl1}.tar.gz
Source3:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-PC-%{V_api_pl2}.tar.gz
Source4:      http://www.cpan.org/authors/id/D/DO/DOWENS/JSON-DWIW-%{V_api_pl3}.tar.gz
Source5:      http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{V_api_pl4}.tar.gz
Source6:      http://www.cpan.org/authors/id/P/PE/PERLER/JavaScript-Dumper-%{V_api_pl5}.tar.gz
Source7:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js1}.js
Source8:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json2-%{V_api_js2}.js
Source9:      http://www.ietf.org/rfc/rfc4627.txt
d91 5
d140 1
d157 6
d181 6
@


1.134
log
@use /openpkg-json instead of /json as the URL prefix
@
text
@d29 1
a29 1
%define       V_api_pl3 0.38
d46 1
a46 1
Release:      20091022
@


1.133
log
@allow directory to be really accessed, too
@
text
@d175 1
a175 1
    ( echo "Alias /json/ %{l_prefix}/share/json/"
@


1.132
log
@add zzjson C API, too
@
text
@d46 1
a46 1
Release:      20091021
d176 6
@


1.131
log
@make json[2].js easily accessible through /json/ URL prefix
@
text
@d26 1
d50 9
a58 8
Source1:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{V_api_pl1}.tar.gz
Source2:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-PC-%{V_api_pl2}.tar.gz
Source3:      http://www.cpan.org/authors/id/D/DO/DOWENS/JSON-DWIW-%{V_api_pl3}.tar.gz
Source4:      http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{V_api_pl4}.tar.gz
Source5:      http://www.cpan.org/authors/id/P/PE/PERLER/JavaScript-Dumper-%{V_api_pl5}.tar.gz
Source6:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js1}.js
Source7:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json2-%{V_api_js2}.js
Source8:      http://www.ietf.org/rfc/rfc4627.txt
d84 5
d132 1
d145 4
d161 6
@


1.130
log
@add newer json2.js
@
text
@d155 6
d168 2
a169 1
        %{l_files_std} `cat perl-openpkg-files`
@


1.129
log
@modifying package: json-20090929 20090930 -> 20091016
@
text
@d31 2
a32 1
%define       V_api_js  20090929
d44 2
a45 2
Version:      %{V_api_js}
Release:      20091016
d54 3
a56 2
Source6:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source7:      http://www.ietf.org/rfc/rfc4627.txt
d107 2
a108 2
    prog json:json-js = {
        version   = %{V_api_js}
d112 5
d125 2
a126 1
    cp %{SOURCE json-%{V_api_js}.js} json.js
d152 1
a152 1
        json.js $RPM_BUILD_ROOT%{l_prefix}/share/json/
@


1.128
log
@upgrading package: json 20090419 -> 20090929
@
text
@d26 1
a26 1
%define       V_api_pl1 2.15
d44 1
a44 1
Release:      20090930
@


1.127
log
@modifying package: json-20090419 20090919 -> 20090920
@
text
@d31 1
a31 1
%define       V_api_js  20090419
d44 1
a44 1
Release:      20090920
@


1.126
log
@modifying package: json-20090419 20090823 -> 20090919
@
text
@d28 1
a28 1
%define       V_api_pl3 0.37
d44 1
a44 1
Release:      20090919
@


1.125
log
@modifying package: json-20090419 20090731 -> 20090823
@
text
@d28 1
a28 1
%define       V_api_pl3 0.36
d44 1
a44 1
Release:      20090823
@


1.124
log
@modifying package: json-20090419 20090718 -> 20090731
@
text
@d28 1
a28 1
%define       V_api_pl3 0.35
d44 1
a44 1
Release:      20090731
@


1.123
log
@upgrading package: json 20081121 -> 20090419
@
text
@d25 1
a25 1
%define       V_api_c   0.8
d44 1
a44 1
Release:      20090718
@


1.122
log
@modifying package: json-20081121 20090626 -> 20090709
@
text
@d31 1
a31 1
%define       V_api_js  20081121
d44 1
a44 1
Release:      20090709
@


1.121
log
@modifying package: json-20081121 20090619 -> 20090626
@
text
@d28 1
a28 1
%define       V_api_pl3 0.34
d44 1
a44 1
Release:      20090626
@


1.120
log
@modifying package: json-20081121 20090602 -> 20090619
@
text
@d28 1
a28 1
%define       V_api_pl3 0.33
d44 1
a44 1
Release:      20090619
@


1.119
log
@modifying package: json-20081121 20090428 -> 20090602
@
text
@d28 1
a28 1
%define       V_api_pl3 0.32
d44 1
a44 1
Release:      20090602
@


1.118
log
@modifying package: json-20081121 20090418 -> 20090428
@
text
@d26 1
a26 1
%define       V_api_pl1 2.14
d44 1
a44 1
Release:      20090428
@


1.117
log
@bump years in copyright messages
@
text
@d28 1
a28 1
%define       V_api_pl3 0.31
d44 1
a44 1
Release:      20090418
@


1.116
log
@modifying package: json-20081121 20090411 -> 20090418
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.115
log
@modifying package: json-20081121 20090326 -> 20090411
@
text
@d28 1
a28 1
%define       V_api_pl3 0.30
d44 1
a44 1
Release:      20090411
@


1.114
log
@modifying package: json-20081121 20090311 -> 20090326
@
text
@d28 1
a28 1
%define       V_api_pl3 0.29
d44 1
a44 1
Release:      20090326
@


1.113
log
@modifying package: json-20081121 20090224 -> 20090311
@
text
@d30 1
a30 1
%define       V_api_pl5 0.01
d44 1
a44 1
Release:      20090311
@


1.112
log
@modifying package: json-20081121 20090223 -> 20090224
@
text
@d30 1
a30 1
%define       V_api_pl5 0.008
d44 1
a44 1
Release:      20090224
@


1.111
log
@modifying package: json-20081121 20090220 -> 20090223
@
text
@d26 1
a26 1
%define       V_api_pl1 2.13
d44 1
a44 1
Release:      20090223
@


1.110
log
@modifying package: json-20081121 20090219 -> 20090220
@
text
@d26 1
a26 1
%define       V_api_pl1 2.12
d44 1
a44 1
Release:      20090220
@


1.109
log
@modifying package: json-20081121 20090105 -> 20090219
@
text
@d28 1
a28 1
%define       V_api_pl3 0.28
d44 1
a44 1
Release:      20090219
@


1.108
log
@modifying package: json-20081121 20081129 -> 20090105
@
text
@d29 1
a29 1
%define       V_api_pl4 2.2222
d44 1
a44 1
Release:      20090105
@


1.107
log
@upgrading package: json 20080525 -> 20081121
@
text
@d25 1
a25 1
%define       V_api_c   0.7
d44 1
a44 1
Release:      20081129
@


1.106
log
@modifying package: json-20080525 20080828 -> 20081125
@
text
@d31 1
a31 1
%define       V_api_js  20080525
d44 1
a44 1
Release:      20081125
@


1.105
log
@modifying package: json-20080525 20080818 -> 20080828
@
text
@d28 1
a28 1
%define       V_api_pl3 0.27
d44 1
a44 1
Release:      20080828
@


1.104
log
@modifying package: json-20080525 20080816 -> 20080818
@
text
@d30 1
a30 1
%define       V_api_pl5 0.005
d44 1
a44 1
Release:      20080818
@


1.103
log
@add JavaScript::Dumper
@
text
@d30 1
a30 1
%define       V_api_pl5 0.004
d44 1
a44 1
Release:      20080816
@


1.102
log
@modifying package: json-20080525 20080731 -> 20080813
@
text
@d30 1
d44 1
a44 1
Release:      20080813
d52 3
a54 2
Source5:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source6:      http://www.ietf.org/rfc/rfc4627.txt
d100 5
d117 1
d134 1
d151 1
@


1.101
log
@modifying package: json-20080525 20080721 -> 20080731
@
text
@d28 1
a28 1
%define       V_api_pl3 0.26
d43 1
a43 1
Release:      20080731
@


1.100
log
@modifying package: json-20080525 20080719 -> 20080721
@
text
@d28 1
a28 1
%define       V_api_pl3 0.24
d43 1
a43 1
Release:      20080721
@


1.99
log
@modifying package: json-20080525 20080716 -> 20080719
@
text
@d29 1
a29 1
%define       V_api_pl4 2.222
d43 1
a43 1
Release:      20080719
@


1.98
log
@modifying package: json-20080525 20080716 again
@
text
@d29 1
a29 1
%define       V_api_pl4 2.22
d43 1
a43 1
Release:      20080716
@


1.97
log
@modifying package: json-20080525 20080617 -> 20080716
@
text
@d26 1
a26 1
%define       V_api_pl1 2.11
@


1.96
log
@modifying package: json-20080525 20080606 -> 20080617
@
text
@d29 1
a29 1
%define       V_api_pl4 2.21
d43 1
a43 1
Release:      20080617
@


1.95
log
@upgrading package: json 20080314 -> 20080525
@
text
@d26 1
a26 1
%define       V_api_pl1 2.10
d43 1
a43 1
Release:      20080606
@


1.94
log
@modifying package: json-20080314 20080421 -> 20080604
@
text
@d30 1
a30 1
%define       V_api_js  20080314
d43 1
a43 1
Release:      20080604
@


1.93
log
@modifying package: json-20080314 20080417 -> 20080421
@
text
@d26 1
a26 1
%define       V_api_pl1 2.09
d29 1
a29 1
%define       V_api_pl4 2.2
d43 1
a43 1
Release:      20080421
@


1.92
log
@modifying package: json-20080314 20080415 -> 20080417
@
text
@d26 1
a26 1
%define       V_api_pl1 2.08
d43 1
a43 1
Release:      20080417
@


1.91
log
@modifying package: json-20080314 20080413 -> 20080415
@
text
@d29 1
a29 1
%define       V_api_pl4 2.1
d43 1
a43 1
Release:      20080415
@


1.90
log
@modifying package: json-20080314 20080326 -> 20080413
@
text
@d28 1
a28 1
%define       V_api_pl3 0.23
d43 1
a43 1
Release:      20080413
@


1.89
log
@modifying package: json-20080314 20080320 -> 20080326
@
text
@d26 1
a26 1
%define       V_api_pl1 2.07
d43 1
a43 1
Release:      20080326
@


1.88
log
@modifying package: json-20080314 20080317 -> 20080320
@
text
@d28 1
a28 1
%define       V_api_pl3 0.21
d43 1
a43 1
Release:      20080320
@


1.87
log
@upgrading package: json 20080305 -> 20080314
@
text
@d29 1
a29 1
%define       V_api_pl4 2.01
d43 1
a43 1
Release:      20080317
@


1.86
log
@upgrading package: json 20080117 -> 20080305
@
text
@d30 1
a30 1
%define       V_api_js  20080305
d43 1
a43 1
Release:      20080305
@


1.85
log
@modifying package: json-20080117 20080208 -> 20080216
@
text
@d30 1
a30 1
%define       V_api_js  20080117
d43 1
a43 1
Release:      20080216
@


1.84
log
@modifying package: json-20080117 20080205 -> 20080208
@
text
@d26 1
a26 1
%define       V_api_pl1 2.06
d43 1
a43 1
Release:      20080208
@


1.83
log
@modifying package: json-20080117 20080126 -> 20080205
@
text
@d26 1
a26 1
%define       V_api_pl1 2.05
d43 1
a43 1
Release:      20080205
@


1.82
log
@upgrading package: json 20071202 -> 20080117
@
text
@d26 1
a26 1
%define       V_api_pl1 2.04
d43 1
a43 1
Release:      20080126
@


1.81
log
@modifying package: json-20071202 20080104 -> 20080106
@
text
@d30 1
a30 1
%define       V_api_js  20071202
d43 1
a43 1
Release:      20080106
@


1.80
log
@modifying package: json-20071202 20080103 -> 20080104
@
text
@d26 1
a26 1
%define       V_api_pl1 2.03
d43 1
a43 1
Release:      20080104
@


1.79
log
@modifying package: json-20071202 20080101 -> 20080103
@
text
@d26 1
a26 1
%define       V_api_pl1 2.02
d28 1
a28 1
%define       V_api_pl3 0.20
d43 1
a43 1
Release:      20080103
@


1.78
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d28 1
a28 1
%define       V_api_pl3 0.19
d43 1
a43 1
Release:      20080101
@


1.77
log
@modifying package: json-20071202 20071227 -> 20071229
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d43 1
a43 1
Release:      20071229
@


1.76
log
@modifying package: json-20071202 20071226 -> 20071227
@
text
@d28 1
a28 1
%define       V_api_pl2 0.02
d44 1
a44 1
Release:      20071227
@


1.75
log
@modifying package: json-20071202 20071222 -> 20071226
@
text
@d28 1
a28 1
%define       V_api_pl2 0.01
d44 1
a44 1
Release:      20071226
@


1.74
log
@upgrading package: json 20071010 -> 20071202
@
text
@d27 1
a27 1
%define       V_api_pl1 2.01
d44 1
a44 1
Release:      20071222
@


1.73
log
@modifying package: json-20071010 20071219 -> 20071220
@
text
@d31 1
a31 1
%define       V_api_js  20071010
d44 1
a44 1
Release:      20071220
@


1.72
log
@modifying package: json-20071010 20071216 -> 20071219
@
text
@d27 1
a27 1
%define       V_api_pl1 2.00
d44 1
a44 1
Release:      20071219
@


1.71
log
@modifying package: json-20071010 20071210 -> 20071216
@
text
@d27 1
a27 1
%define       V_api_pl1 1.99_05
d44 1
a44 1
Release:      20071216
@


1.70
log
@modifying package: json-20071010 20071209 -> 20071210
@
text
@d27 1
a27 1
%define       V_api_pl1 1.99_04
d44 1
a44 1
Release:      20071210
@


1.69
log
@modifying package: json-20071010 20071208 -> 20071209
@
text
@d27 1
a27 1
%define       V_api_pl1 1.99_02
d44 1
a44 1
Release:      20071209
@


1.68
log
@modifying package: json-20071010 20071206 -> 20071208
@
text
@d27 1
a27 1
%define       V_api_pl1 1.99_01
d44 1
a44 1
Release:      20071208
@


1.67
log
@modifying package: json-20071010 20071204 -> 20071206
@
text
@d27 1
a27 1
%define       V_api_pl1 1.15
d44 1
a44 1
Release:      20071206
@


1.66
log
@modifying package: json-20071010 20071203 -> 20071204
@
text
@d30 1
a30 1
%define       V_api_pl4 2.0
d44 1
a44 1
Release:      20071204
@


1.65
log
@upgrading package: json 20070927 -> 20071010
@
text
@d30 1
a30 1
%define       V_api_pl4 1.53
d44 1
a44 1
Release:      20071203
a97 1
        transform = "s/^(\d+\.\d)$/${1}0/; $_"
@


1.64
log
@modifying package: json-20070927 20071114 again
@
text
@d31 1
a31 1
%define       V_api_js  20070927
d44 1
a44 1
Release:      20071114
@


1.63
log
@modifying package: json-20070927 20071019 -> 20071114
@
text
@d27 1
a27 1
%define       V_api_pl1 1.14
@


1.62
log
@ops, I accidently committed some not-finished parts related to JSON::Any. Back this out and upgrade the JSON::DWIM stuff
@
text
@d30 1
a30 1
%define       V_api_pl4 1.52
d44 1
a44 1
Release:      20071019
@


1.61
log
@fix tracking
@
text
@d29 1
a29 1
%define       V_api_pl3 0.17
a30 1
%define       V_api_pl5 1.11
d52 2
a53 3
Source5:      http://www.cpan.org/authors/id/P/PE/PERIGRIN/JSON-Any-%{V_api_pl5}.tar.gz
Source6:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source7:      http://www.ietf.org/rfc/rfc4627.txt
a99 5
    prog json:json-pl5 = {
        version   = %{V_api_pl5}
        url       = http://www.cpan.org/authors/id/P/PE/PERIGRIN/
        regex     = JSON-Any-(__VER__)\.tar\.gz
    }
a111 1
    %setup -q -T -D -a 5
a127 1
    %{l_prefix}/bin/perl-openpkg -d JSON-Any-%{V_api_pl5} configure build
a143 1
    %{l_prefix}/bin/perl-openpkg -d JSON-Any-%{V_api_pl5} install
@


1.60
log
@modifying package: json-20070927 20071017 -> 20071018
@
text
@d31 1
d45 1
a45 1
Release:      20071018
d53 3
a55 2
Source5:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source6:      http://www.ietf.org/rfc/rfc4627.txt
d97 1
a97 1
        version   = %{V_api_pl4}0
d102 5
d119 1
d136 1
d153 1
@


1.59
log
@modifying package: json-20070927 20071015 -> 20071017
@
text
@d29 1
a29 1
%define       V_api_pl3 0.16
d44 1
a44 1
Release:      20071017
@


1.58
log
@modifying package: json-20070927 20071013 -> 20071015
@
text
@d29 1
a29 1
%define       V_api_pl3 0.15
d44 1
a44 1
Release:      20071015
@


1.57
log
@modifying package: json-20070927 20071004 -> 20071013
@
text
@d30 1
a30 1
%define       V_api_pl4 1.51
d44 1
a44 1
Release:      20071013
@


1.56
log
@upgrading package: json 20070819 -> 20070927
@
text
@d30 1
a30 1
%define       V_api_pl4 1.5
d44 1
a44 1
Release:      20071004
@


1.55
log
@modifying package: json-20070819 20070907 -> 20071003
@
text
@d31 1
a31 1
%define       V_api_js  20070819
d44 1
a44 1
Release:      20071003
@


1.54
log
@modifying package: json-20070819 20070829 -> 20070907
@
text
@d29 1
a29 1
%define       V_api_pl3 0.14
d44 1
a44 1
Release:      20070907
@


1.53
log
@fix tracking
@
text
@d29 1
a29 1
%define       V_api_pl3 0.13
d44 1
a44 1
Release:      20070829
@


1.52
log
@modifying package: json-20070819 20070824 -> 20070829
@
text
@d95 1
a95 1
        version   = %{V_api_pl4}
@


1.51
log
@upgrading package: json 20070724 -> 20070819
@
text
@d30 1
a30 1
%define       V_api_pl4 1.44
d44 1
a44 1
Release:      20070824
@


1.50
log
@modifying package: json-20070724 20070803 -> 20070822
@
text
@d31 1
a31 1
%define       V_api_js  20070724
d44 1
a44 1
Release:      20070822
@


1.49
log
@modifying package: json-20070724 20070731 -> 20070803
@
text
@d30 1
a30 1
%define       V_api_pl4 1.43
d44 1
a44 1
Release:      20070803
@


1.48
log
@upgrading package: json 20070430 -> 20070724
@
text
@d30 1
a30 1
%define       V_api_pl4 1.41
d44 1
a44 1
Release:      20070731
d95 1
a95 1
        version   = %{V_api_pl4}0
@


1.47
log
@modifying package: json-20070430 20070702 -> 20070711
@
text
@d31 1
a31 1
%define       V_api_js  20070430
d44 1
a44 1
Release:      20070711
@


1.46
log
@modifying package: json-20070430 20070625 -> 20070702
@
text
@d30 1
a30 1
%define       V_api_pl4 1.4
d44 1
a44 1
Release:      20070702
@


1.45
log
@fix tracking again
@
text
@d30 1
a30 1
%define       V_api_pl4 1.3
d44 1
a44 1
Release:      20070625
@


1.44
log
@fix tracking
@
text
@d44 1
a44 1
Release:      20070624
d95 1
a95 1
        version   = 0%{V_api_pl4}
@


1.43
log
@modifying package: json-20070430 20070611 -> 20070624
@
text
@d95 1
a95 1
        version   = %{V_api_pl4}
@


1.42
log
@modifying package: json-20070430 20070607 -> 20070611
@
text
@d30 1
a30 1
%define       V_api_pl4 1.24
d44 1
a44 1
Release:      20070611
@


1.41
log
@modifying package: json-20070430 20070604 -> 20070607
@
text
@d30 1
a30 1
%define       V_api_pl4 1.23
d44 1
a44 1
Release:      20070607
@


1.40
log
@modifying package: json-20070430 20070601 -> 20070604
@
text
@d30 1
a30 1
%define       V_api_pl4 1.11
d44 1
a44 1
Release:      20070604
d95 1
a95 1
        version   = %{V_api_pl4}0
@


1.39
log
@modifying package: json-20070430 20070525 -> 20070601
@
text
@d29 1
a29 1
%define       V_api_pl3 0.12
d44 1
a44 1
Release:      20070601
@


1.38
log
@modifying package: json-20070430 20070521 -> 20070525
@
text
@d29 1
a29 1
%define       V_api_pl3 0.11
d44 1
a44 1
Release:      20070525
@


1.37
log
@upgrading package: json 20070306 -> 20070430
@
text
@d29 1
a29 1
%define       V_api_pl3 0.10
d44 1
a44 1
Release:      20070521
@


1.36
log
@modifying package: json-20070306 20070514 -> 20070517
@
text
@d31 1
a31 1
%define       V_api_js  20070306
d44 1
a44 1
Release:      20070517
@


1.35
log
@modifying package: json-20070306 20070510 -> 20070514
@
text
@d26 1
a26 1
%define       V_api_c   0.6
d44 1
a44 1
Release:      20070514
@


1.34
log
@modifying package: json-20070306 20070506 -> 20070510
@
text
@d29 1
a29 1
%define       V_api_pl3 0.09
d44 1
a44 1
Release:      20070510
@


1.33
log
@modifying package: json-20070306 20070503 -> 20070506
@
text
@d27 1
a27 1
%define       V_api_pl1 1.13
d44 1
a44 1
Release:      20070506
@


1.32
log
@modifying package: json-20070306 20070427 -> 20070503
@
text
@d27 1
a27 1
%define       V_api_pl1 1.12
d44 1
a44 1
Release:      20070503
@


1.31
log
@modifying package: json-20070306 20070423 -> 20070427
@
text
@d27 1
a27 1
%define       V_api_pl1 1.11
d44 1
a44 1
Release:      20070427
@


1.30
log
@modifying package: json-20070306 20070419 -> 20070423
@
text
@d29 1
a29 1
%define       V_api_pl3 0.08
d44 1
a44 1
Release:      20070423
@


1.29
log
@modifying package: json-20070306 20070419 again
@
text
@d27 1
a27 1
%define       V_api_pl1 1.10
d44 1
a44 1
Release:      20070419
@


1.28
log
@modifying package: json-20070306 20070412 -> 20070419
@
text
@d29 1
a29 1
%define       V_api_pl3 0.07
@


1.27
log
@modifying package: json-20070306 20070410 -> 20070412
@
text
@d27 1
a27 1
%define       V_api_pl1 1.09
d44 1
a44 1
Release:      20070412
@


1.26
log
@modifying package: json-20070306 20070410 again
@
text
@d29 1
a29 1
%define       V_api_pl3 0.06
d44 1
a44 1
Release:      20070410
@


1.25
log
@modifying package: json-20070306 20070405 -> 20070410
@
text
@d29 1
a29 1
%define       V_api_pl3 0.05
@


1.24
log
@modifying package: json-20070306 20070401 -> 20070405
@
text
@d29 2
a30 2
%define       V_api_pl3 0.04
%define       V_api_pl4 1.1
d44 1
a44 1
Release:      20070405
@


1.23
log
@modifying package: json-20070306 20070329 -> 20070401
@
text
@d30 1
a30 1
%define       V_api_pl4 1.01
d44 1
a44 1
Release:      20070401
d95 1
a95 1
        version   = %{V_api_pl4}
@


1.22
log
@modifying package: json-20070306 20070328 -> 20070329
@
text
@d30 1
a30 1
%define       V_api_pl4 1.0
d44 1
a44 1
Release:      20070329
d95 1
a95 1
        version   = %{V_api_pl4}0
@


1.21
log
@modifying package: json-20070306 20070327 -> 20070328
@
text
@d30 1
a30 1
%define       V_api_pl4 0.8
d44 1
a44 1
Release:      20070328
@


1.20
log
@modifying package: json-20070306 20070326 -> 20070327
@
text
@d27 1
a27 1
%define       V_api_pl1 1.08
d44 1
a44 1
Release:      20070327
@


1.19
log
@fix tracking and upgrade two parts
@
text
@d27 1
a27 1
%define       V_api_pl1 1.07
d44 1
a44 1
Release:      20070326
@


1.18
log
@modifying package: json-20070306 20070312 -> 20070324
@
text
@d29 2
a30 2
%define       V_api_pl3 0.01
%define       V_api_pl4 0.31
d44 1
a44 1
Release:      20070324
d89 11
@


1.17
log
@upgrade JSON JavaScript part and add new JSON::DWIW module
@
text
@d30 1
a31 1
%define       V_draft   01
d43 2
a44 2
Version:      20070306
Release:      20070312
d51 3
a53 2
Source4:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source5:      http://www.json.org/draft-crockford-jsonorg-json-%{V_draft}.txt
d100 1
d116 1
d128 1
a128 2
        %{SOURCE draft-crockford-jsonorg-json-%{V_draft}.txt} \
        $RPM_BUILD_ROOT%{l_prefix}/share/json/json.txt
d132 1
@


1.16
log
@Welcome Year 2007!
@
text
@d29 2
a30 1
%define       V_api_js  20061005
d43 2
a44 2
Version:      20061126
Release:      20061126
d50 3
a52 3
Source3:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source4:      http://www.json.org/draft-crockford-jsonorg-json-%{V_draft}.txt
Patch0:       json.patch
d98 1
a99 1
    %patch -p0
d113 1
d129 1
@


1.15
log
@add abbreviation so it is more clear
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.14
log
@upgrading package: json 20060629 -> 20061016
@
text
@d34 1
a34 1
Summary:      JavaScript Object Notation
d42 2
a43 2
Version:      20061016
Release:      20061016
@


1.14.2.1
log
@file json.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:51:29 +0000
@
text
@d1 135
@


1.14.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 135
##
##  json.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_api_c   0.6
%define       V_api_pl1 1.07
%define       V_api_pl2 0.01
%define       V_api_js  20061005
%define       V_draft   01

#   package information
Name:         json
Summary:      JavaScript Object Notation
URL:          http://www.json.org/
Vendor:       D. Crockford et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        Language
License:      Open Source
Version:      20061016
Release:      2.20061018

#   list of sources
Source0:      http://oss.metaparadigm.com/json-c/json-c-%{V_api_c}.tar.gz
Source1:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{V_api_pl1}.tar.gz
Source2:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-PC-%{V_api_pl2}.tar.gz
Source3:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source4:      http://www.json.org/draft-crockford-jsonorg-json-%{V_draft}.txt
Patch0:       json.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, perl, perl-openpkg, make
PreReq:       OpenPKG, openpkg >= 2.20061018, perl
AutoReq:      no
AutoReqProv:  no

%description
    JSON (JavaScript Object Notation) is a lightweight data-interchange
    format. It is easy for humans to read and write. It is easy for
    machines to parse and generate. It is based on a subset of the
    JavaScript Programming Language, Standard ECMA-262 3rd Edition.
    JSON is a text format that is completely language independent but
    uses conventions that are familiar to programmers of the C-family
    of languages. These properties make JSON an ideal data-interchange
    language.

%track
    prog json:json-c = {
        version   = %{V_api_c}
        url       = http://oss.metaparadigm.com/json-c/
        regex     = json-c-(__VER__)\.tar\.gz
    }
    prog json:json-pl1 = {
        version   = %{V_api_pl1}
        url       = http://www.cpan.org/authors/id/M/MA/MAKAMAKA/
        regex     = JSON-(__VER__)\.tar\.gz
    }
    prog json:json-pl2 = {
        version   = %{V_api_pl2}
        url       = http://www.cpan.org/authors/id/M/MA/MAKAMAKA/
        regex     = JSON-PC-(__VER__)\.tar\.gz
    }
    prog json:json-js = {
        version   = %{V_api_js}
        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/
        regex     = json-(__VER__)\.js
    }

%prep
    %setup -q -c
    %setup -q -T -D -a 1
    %setup -q -T -D -a 2
    cp %{SOURCE json-%{V_api_js}.js} json.js
    %patch -p0

%build
    ( cd json-c-%{V_api_c}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      ./configure \
          --prefix=%{l_prefix} \
          --disable-shared
      %{l_make} %{l_mflags -O}
    ) || exit $?
    %{l_prefix}/bin/perl-openpkg prepare
    %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl1} configure build
    %{l_prefix}/bin/perl-openpkg -d JSON-PC-%{V_api_pl2} configure build

%install
    rm -rf $RPM_BUILD_ROOT
    ( cd json-c-%{V_api_c}
      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    ) || exit $?
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/share/json
    %{l_shtool} install -c -m 644 \
        json.js $RPM_BUILD_ROOT%{l_prefix}/share/json/
    %{l_shtool} install -c -m 644 \
        %{SOURCE draft-crockford-jsonorg-json-%{V_draft}.txt} \
        $RPM_BUILD_ROOT%{l_prefix}/share/json/json.txt
    %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl1} install
    %{l_prefix}/bin/perl-openpkg -d JSON-PC-%{V_api_pl2} install
    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} `cat perl-openpkg-files`

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.14.2.3
log
@MFC: make up leeway for 2_STABLE by virtue of build-time results
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d34 1
a34 1
Summary:      JavaScript Object Notation (JSON)
d42 2
a43 2
Version:      20061126
Release:      2.20070106
@


1.13
log
@new world order for "Packager" and "Distribution" headers
@
text
@d29 1
a29 1
%define       V_api_js  20060510
d42 2
a43 2
Version:      20060629
Release:      20061013
@


1.12
log
@bless for PLUS class
@
text
@d37 2
a38 2
Packager:     OpenPKG
Distribution: OpenPKG
d43 1
a43 1
Release:      20061012
@


1.11
log
@The JSON JavaScript interface is very elegant but breaks at least Yahoo User Interface library and all similar code which iterates over all properties of an object or array. So, provide an explicit JSON.{encode,decode}() interface which always exist and let applications just delete the overloaded String/Object/Array methods if required.
@
text
@d39 1
a39 1
Class:        EVAL
d43 1
a43 1
Release:      20060629
@


1.10
log
@add missing dependency to perl-openpkg package
@
text
@d42 2
a43 2
Version:      20060622
Release:      20060622
d51 1
d97 2
d121 1
a121 2
        %{SOURCE json-%{V_api_js}.js} \
        $RPM_BUILD_ROOT%{l_prefix}/share/json/json.js
@


1.9
log
@upgrading package: json 20060516 -> 20060605
@
text
@d42 2
a43 2
Version:      20060605
Release:      20060605
d55 1
a55 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, make
@


1.8
log
@requires GNU make
@
text
@d27 1
a27 1
%define       V_api_pl1 1.05
d42 2
a43 2
Version:      20060516
Release:      20060516
@


1.7
log
@upgrading package: json 20060421 -> 20060510
@
text
@d42 2
a43 2
Version:      20060510
Release:      20060510
d55 1
a55 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl
@


1.6
log
@add new JSON::PC
@
text
@d29 1
a29 1
%define       V_api_js  20060310
d42 2
a43 2
Version:      20060421
Release:      20060421
@


1.5
log
@upgrading package: json 20060302 -> 20060310
@
text
@d27 2
a28 1
%define       V_api_pl  1.05
d42 2
a43 2
Version:      20060310
Release:      20060310
d47 4
a50 3
Source1:      http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{V_api_pl}.tar.gz
Source2:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
Source3:      http://www.json.org/draft-crockford-jsonorg-json-%{V_draft}.txt
d76 2
a77 2
    prog json:json-pl = {
        version   = %{V_api_pl}
d81 5
d95 1
d107 2
a108 1
    %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl} configure build
d123 2
a124 1
    %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl} install
@


1.4
log
@upgrading package: json 20060221 -> 20060302
@
text
@d28 1
a28 1
%define       V_api_js  20060207
d41 2
a42 2
Version:      20060302
Release:      20060302
@


1.3
log
@upgrading package: json 20060217 -> 20060221
@
text
@d26 1
a26 1
%define       V_api_c   0.5
d41 2
a42 2
Version:      20060221
Release:      20060221
@


1.2
log
@upgrading package: json 20060207 -> 20060217
@
text
@d27 1
a27 1
%define       V_api_pl  1.04
d41 2
a42 2
Version:      20060217
Release:      20060217
@


1.1
log
@new package: json 20060207 (JavaScript Object Notation)
@
text
@d27 1
a27 1
%define       V_api_pl  1.03
d41 2
a42 2
Version:      20060207
Release:      20060207
@

