OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 24-Mar-2007 10:25:54
Branch: HEAD Handle: 2007032409255400
Modified files:
openpkg-src/json json.spec
Log:
modifying package: json-20070306 20070312 -> 20070324
Summary:
Revision Changes Path
1.18 +10 -7 openpkg-src/json/json.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/json/json.spec
============================================================================
$ cvs diff -u -r1.17 -r1.18 json.spec
--- openpkg-src/json/json.spec 12 Mar 2007 13:53:07 -0000 1.17
+++ openpkg-src/json/json.spec 24 Mar 2007 09:25:54 -0000 1.18
@@ -27,8 +27,8 @@
%define V_api_pl1 1.07
%define V_api_pl2 0.01
%define V_api_pl3 0.01
+%define V_api_pl4 0.31
%define V_api_js 20070306
-%define V_draft 01
# package information
Name: json
@@ -40,16 +40,17 @@
Class: PLUS
Group: Language
License: Open Source
-Version: 20070306
-Release: 20070312
+Version: %{V_api_js}
+Release: 20070324
# 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:
http://www.cpan.org/authors/id/D/DO/DOWENS/JSON-DWIW-%{V_api_pl3}.tar.gz
-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
+Source4:
http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{V_api_pl4}.tar.gz
+Source5:
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js
+Source6: http://www.ietf.org/rfc/rfc4627.txt
# build information
Prefix: %{l_prefix}
@@ -96,6 +97,7 @@
%setup -q -T -D -a 1
%setup -q -T -D -a 2
%setup -q -T -D -a 3
+ %setup -q -T -D -a 4
cp %{SOURCE json-%{V_api_js}.js} json.js
%build
@@ -111,6 +113,7 @@
%{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
%install
rm -rf $RPM_BUILD_ROOT
@@ -122,11 +125,11 @@
%{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
+ %{SOURCE rfc4627.txt} $RPM_BUILD_ROOT%{l_prefix}/share/json/
%{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 -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} `cat perl-openpkg-files`
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]