packages: php-pear-Services_JSON/php-pear-Services_JSON.spec - supersedes p...

glen glen at pld-linux.org
Wed Jun 3 15:55:19 CEST 2009


Author: glen                         Date: Wed Jun  3 13:55:18 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- supersedes php-pear-JSON

---- Files affected:
packages/php-pear-Services_JSON:
   php-pear-Services_JSON.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/php-pear-Services_JSON/php-pear-Services_JSON.spec
diff -u packages/php-pear-Services_JSON/php-pear-Services_JSON.spec:1.6 packages/php-pear-Services_JSON/php-pear-Services_JSON.spec:1.7
--- packages/php-pear-Services_JSON/php-pear-Services_JSON.spec:1.6	Thu Jan 31 13:16:08 2008
+++ packages/php-pear-Services_JSON/php-pear-Services_JSON.spec	Wed Jun  3 15:55:13 2009
@@ -1,18 +1,18 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		JSON
+%define		_class		Services_JSON
 %define		_status		stable
 %define		_pearname	%{_class}
-Summary:	%{_pearname} - Simple encoder and decoder for JSON notation
+Summary:	%{_pearname} - PHP implementaion of json_encode/decode
 Summary(pl.UTF-8):	%{_pearname} - prosty koder i dekoder dla notacji JSON
 Name:		php-pear-%{_pearname}
-Version:	0.1
-Release:	2
+Version:	1.0.0
+Release:	1
 License:	BSD
 Group:		Development/Languages/PHP
-Source0:	http://mike.teczno.com/JSON.tar.gz
-# Source0-md5:	fc2cec5a87fe3d70ecbe0857f30eac94
-URL:		http://pear.php.net/pepr/pepr-proposal-show.php?id=198
+Source0:	http://download.pear.php.net/package/Services_JSON-%{version}.tgz
+# Source0-md5:	573ff2468330f7570c738957bc297ff4
+URL:		http://pear.php.net/package/Services_JSON
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
@@ -20,57 +20,39 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+JSON (JavaScript Object Notation, <http://json.org>) 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 -
+December 1999. This feature can also be found in Python. JSON is a
+text format that is completely language independent but uses
+conventions that are familiar to programmers of the C-family of
+languages, including C, C++, C#, Java, JavaScript, Perl, TCL, and many
+others. These properties make JSON an ideal data-interchange language.
+
 This package provides a simple encoder and decoder for JSON notation.
 It is intended for use with client-side Javascript applications that
 make use of HTTPRequest to perform server communication functions -
 data can be encoded into JSON notation for use in a client-side
-Javascript, or decoded from incoming Javascript requests. JSON format
-is native to Javascript, and can be directly eval()'ed with no further
+JavaScript, or decoded from incoming Javascript requests. JSON format
+is native to JavaScript, and can be directly eval()'ed with no further
 parsing overhead.
 
-%description -l pl.UTF-8
-Ten pakiet udostępnia prosty koder i dekoder dla notacji JSON. Jest
-przeznaczony do używania z aplikacjami w Javascripcie po stronie
-klienta korzystającymi z HTTPRequest do komunikacji z serwerem - dane
-mogą być kodowane w notacji JSON do używania z poziomu Javascriptu po
-stronie klienta lub dekodowane z przychodzących żądań Javascriptu.
-Format JSON jest natywny dla Javascriptu i może być bezpośrednio
-wykonany przez eval() bez dalszego przetwarzania.
-
-%package tests
-Summary:	Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
-Group:		Development/Languages/PHP
-Requires:	%{name} = %{version}-%{release}
-AutoReq:	no
-AutoProv:	no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
-%setup -qc
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/tests
-install JSON.php $RPM_BUILD_ROOT%{php_pear_dir}
-install Test-JSON.php $RPM_BUILD_ROOT%{php_pear_dir}/tests
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc/*
-%{php_pear_dir}/JSON.php
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Services/JSON.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -78,20 +60,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.6  2008/01/31 12:16:08  glen
-- rel 2
-
-Revision 1.5  2008-01-31 10:49:05  glen
-- integer release
-
-Revision 1.4  2007-02-13 08:06:39  glen
-- tabs in preamble
-
-Revision 1.3  2007/02/12 01:06:23  baggins
-- converted to UTF-8
-
-Revision 1.2  2006/08/20 12:57:25  qboosh
-- pl
+Revision 1.7  2009/06/03 13:55:13  glen
+- supersedes php-pear-JSON
 
-Revision 1.1  2006/07/31 14:26:49  glen
-- new
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Services_JSON/php-pear-Services_JSON.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list