blob: 63e4257d477c4c4464cba2bb73e856ea633fd6d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name sdk
%global channelname pear.amazonwebservices.com
Name: php-aws-sdk
Version: 2.6.1
Release: 1%{?dist}
Summary: Amazon Web Services framework for PHP
Group: Development/Libraries
License: ASL 2.0
URL: http://aws.amazon.com/sdkforphp/
Source0: http://pear.amazonwebservices.com/get/sdk-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: php-pear(PEAR)
BuildRequires: php-channel(%{channelname})
Requires(post): %{__pear}
Requires(postun): %{__pear}
Requires: php(language) >= 5.2
Requires: php-pear(PEAR)
Requires: php-channel(%{channelname})
Requires: php-pdo
Requires: php-reflection
Requires: php-spl
Requires: php-simplexml
Requires: php-ctype
Requires: php-curl
Requires: php-date
Requires: php-dom
Requires: php-hash
Requires: php-json
Requires: php-libxml
Requires: php-mbstring
Requires: php-openssl
Requires: php-pcre
Requires: php-session
Requires: php-sqlite3
Requires: php-Monolog
Requires: php-Monolog-dynamo
Requires: php-symfony-yaml
Requires: php-guzzle-Guzzle >= 3.7.0
Requires: php-guzzle-Guzzle < 3.9.0
Provides: php-pear(%{pear_name}) = %{version}
Provides: php-pear(%{channelname}/%{pear_name}) = %{version}
%description
Amazon Web Services SDK for PHP enables developers to build solutions for
Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud
(Amazon EC2), Amazon SimpleDB, and more.
%prep
%setup -q -c
# fix doc roles
sed -e '/aws.phar/d' \
package.xml >%{pear_name}-%{version}/%{name}.xml
%build
# Empty build section, most likely nothing required.
%install
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
%{__pear} uninstall --nodeps --ignore-errors --register-only \
%{pear_name} >/dev/null || :
fi
%files
%defattr(-,root,root,-)
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/AWSSDKforPHP/
%changelog
* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 2.6.1-1
- Update to 2.6.1
* Wed Apr 23 2014 Remi Collet <remi@fedoraproject.org> - 2.6.0-1
- Update to 2.6.0
* Fri Mar 21 2014 Remi Collet <remi@fedoraproject.org> - 2.5.4-1
- Update to 2.5.4
* Fri Feb 28 2014 Remi Collet <remi@fedoraproject.org> - 2.5.3-1
- Update to 2.5.3
* Thu Jan 30 2014 Remi Collet <remi@fedoraproject.org> - 2.5.2-1
- Update to 2.5.2
* Fri Jan 10 2014 Remi Collet <remi@fedoraproject.org> - 2.5.1-1
- Update to 2.5.1
* Thu Jan 2 2014 Remi Collet <remi@fedoraproject.org> - 2.5.0-2
- backport rawhide change for remi rep
* Mon Dec 30 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 2.5.0-2
- add php-Monolog-dynamo dependency
- update naming on dependency php-symfony-yaml
- fix max version require on guzzle dependency
* Mon Dec 30 2013 Remi Collet <remi@fedoraproject.org> - 2.5.0-1
- backport 2.5.0 for remi repo
* Sun Dec 29 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 2.5.0-1
- update to latest upstrean version
* Mon Nov 18 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 2.4.10-1
- update to latest upstream version
- add php-symfony2-Yaml(version2) and php-Monolog
- remove dependency php-symfony2-YAML(version1)
- set version contraint for php-guzzle-Guzzle dependency
* Mon Sep 09 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 2.4.5-2
- add guzzle dependency.
- remove aws.phar file
* Thu Sep 05 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 2.4.5-1
- Update to 2.4.5
* Sat May 04 2013 Remi Collet <remi@fedoraproject.org> - 1.6.2-4
- backport 1.6.2 for remi repo
* Wed May 01 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 1.6.2-4
- Add dependencies
- Add license clarification
* Tue Apr 30 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 1.6.2-3
- Fix Source, remove empty folder _doc
* Mon Apr 29 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 1.6.2-2
- Fix License, Fix Description, move doc files
* Mon Apr 29 2013 Joseph Marrero <jmarrero@fedoraproject.org> - 1.6.2-1
- initial package
|