]> git.pld-linux.org Git - packages/php-pear-Services_JSON.git/commitdiff
- supersedes php-pear-JSON auto/ac/php-pear-Services_JSON-1_0_0-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Jun 2009 13:55:13 +0000 (13:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Services_JSON.spec -> 1.7

php-pear-Services_JSON.spec

index 8ba0e7f5ecd62053d1ede515a3a0e40ce406b30b..ae3b17379468381b15b30312fd2e21c5eed8c83f 100644 (file)
@@ -1,17 +1,17 @@
 %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
@@ -19,54 +19,36 @@ BuildArch:  noarch
 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
This page took 0.075714 seconds and 4 git commands to generate.