]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Services_Amazon_S3.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / php-pear-Services_Amazon_S3.spec
1 # ToDo:
2 # - beutify pl description
3 %define         _class          Services
4 %define         _subclass       Amazon_S3
5 %define         _status         alpha
6 %define         _pearname       Services_Amazon_S3
7 Summary:        %{_pearname} - PHP interface to Amazon S3's API
8 Summary(pl.UTF-8):      %{_pearname} - interfejs PHP do API Amazon S3
9 Name:           php-pear-%{_pearname}
10 Version:        0.4.0
11 Release:        1
12 License:        New BSD License
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  dd748d0d2466d1ce5b78a5d50a47c80c
16 URL:            http://pear.php.net/package/Services_Amazon_S3/
17 BuildRequires:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 Requires:       php-pear
20 Requires:       php-pear-Crypt_HMAC
21 Requires:       php-pear-HTTP_Request >= 1.4.0
22 Requires:       php-pear-PEAR-core >= 1:1.4.0
23 Obsoletes:      php-pear-Services_Amazon_S3-tests
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Services_Amazon_S3 is a PHP library for accessing Amazon Simple
29 Storage Service (S3). The library is based on the 2006-03-01 REST API.
30
31 Features:
32 - list, create and delete buckets, including buckets with location
33   constraints (European buckets)
34 - create, read and delete objects including metadata
35 - list keys in a bucket using an SPL Iterator with support for paging,
36   key prefixes and delimiters
37 - manipulate access control lists for buckets and objects
38 - specify the request style (virtualhost, cname, path style) and
39   endpoint
40 - get signed URLs to allow a trusted third party to access private
41   files
42 - access buckets and objects using PHP filesystem functions through a
43   stream wrapper
44
45 In PEAR status of this package is: %{_status}.
46
47 %description -l pl.UTF-8
48 Services_Amazon_S3 to biblioteka PHP do obsługi usługi Amazon Simple
49 Sotrage Service (S3). Biblioteka oparta jest na API REST z dnia
50 2006-03-01.
51
52 Cechy:
53 - wyświetlanie, tworzenie i usuwanie koszyków, włączając w to koszyki
54   z ograniczeniami co do lokalizacji (np. europejskie koszyki),
55 - tworzenie, odczyt i usuwanie obiektów zawierających metadane,
56 - wyświetlanie kluczy w koszyku za pomocą iteratora SPL ze wsparciem
57   dla podziału na stronie, prefiksów i wyróżników,
58 - modyfikacja list kontroli dostępu dla koszyków i obiektów,
59 - określanie stylu zapytania (virtualhost, cname, ścieżka) i elementu
60   docelowego,
61 - pobieranie podpisanych URL aby umożliwić podmiotom trzecim dostęp do
62   prywatnych plików,
63 - dostęp do koszyków i obiektów za pomocą funkcji systemowych PHP
64   dzięki użyciu wrappera na strumienie.
65
66 Ta klasa ma w PEAR status: %{_status}.
67
68 %prep
69 %pear_package_setup
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{php_pear_dir}
74 %pear_package_install
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc install.log
82 %{php_pear_dir}/.registry/*.reg
83 %{php_pear_dir}/Services/Amazon/S3
84 %{php_pear_dir}/Services/Amazon/S3.php
This page took 0.92135 seconds and 3 git commands to generate.