]> git.pld-linux.org Git - packages/php-pear-Services_JSON.git/blame - php-pear-Services_JSON.spec
- updated to: 1.0.3
[packages/php-pear-Services_JSON.git] / php-pear-Services_JSON.spec
CommitLineData
f63f64c4 1%include /usr/lib/rpm/macros.php
f63f64c4 2%define _status stable
921d9804 3%define _pearname Services_JSON
2ad60ab8 4Summary: %{_pearname} - PHP implementaion of json_encode/decode
014fd9c1 5Summary(pl.UTF-8): %{_pearname} - prosty koder i dekoder dla notacji JSON
f63f64c4 6Name: php-pear-%{_pearname}
921d9804 7Version: 1.0.3
2ad60ab8 8Release: 1
f63f64c4
ER
9License: BSD
10Group: Development/Languages/PHP
2ad60ab8 11Source0: http://download.pear.php.net/package/Services_JSON-%{version}.tgz
921d9804 12# Source0-md5: bac7546a08c45d952786ffb8aa0bdb0e
2ad60ab8 13URL: http://pear.php.net/package/Services_JSON
f63f64c4
ER
14BuildRequires: php-pear-PEAR
15BuildRequires: rpm-php-pearprov >= 4.4.2-11
c8bb9d76 16BuildRequires: rpmbuild(macros) >= 1.300
f63f64c4
ER
17Requires: php-pear
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
2ad60ab8
ER
22JSON (JavaScript Object Notation, <http://json.org>) is a lightweight
23data-interchange format. It is easy for humans to read and write. It
24is easy for machines to parse and generate. It is based on a subset of
25the JavaScript Programming Language, Standard ECMA-262 3rd Edition -
26December 1999. This feature can also be found in Python. JSON is a
27text format that is completely language independent but uses
28conventions that are familiar to programmers of the C-family of
29languages, including C, C++, C#, Java, JavaScript, Perl, TCL, and many
30others. These properties make JSON an ideal data-interchange language.
31
f63f64c4
ER
32This package provides a simple encoder and decoder for JSON notation.
33It is intended for use with client-side Javascript applications that
34make use of HTTPRequest to perform server communication functions -
35data can be encoded into JSON notation for use in a client-side
2ad60ab8
ER
36JavaScript, or decoded from incoming Javascript requests. JSON format
37is native to JavaScript, and can be directly eval()'ed with no further
f63f64c4
ER
38parsing overhead.
39
f63f64c4 40%prep
2ad60ab8 41%pear_package_setup
f63f64c4
ER
42
43%install
44rm -rf $RPM_BUILD_ROOT
2ad60ab8
ER
45install -d $RPM_BUILD_ROOT%{php_pear_dir}
46%pear_package_install
f63f64c4
ER
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
2ad60ab8
ER
53%{php_pear_dir}/.registry/*.reg
54%{php_pear_dir}/Services/JSON.php
This page took 0.104766 seconds and 4 git commands to generate.