2 # - beutify pl description
3 %define _class Services
4 %define _subclass Amazon_S3
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}
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
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
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
40 - get signed URLs to allow a trusted third party to access private
42 - access buckets and objects using PHP filesystem functions through a
45 In PEAR status of this package is: %{_status}.
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
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
61 - pobieranie podpisanych URL aby umożliwić podmiotom trzecim dostęp do
63 - dostęp do koszyków i obiektów za pomocą funkcji systemowych PHP
64 dzięki użyciu wrappera na strumienie.
66 Ta klasa ma w PEAR status: %{_status}.
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{php_pear_dir}
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
82 %{php_pear_dir}/.registry/*.reg
83 %{php_pear_dir}/Services/Amazon/S3
84 %{php_pear_dir}/Services/Amazon/S3.php