Browse code

rubygem-fluentd: Add fluent-plugin-s3 rubygem packages

As part of New Package request for 'fluentd' related ruby gem
packages, This changelist will add fluentd-plugin-s3 event
collector for fluentd on AWS, along with the dependent rubygem
packages which are required by plugin-s3 during run time.

Change-Id: I7af3d63f33c7e4aff1b310c24718fe0243e350df
Signed-off-by: srinidhira0 <srinidhir@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5435
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Sharath George

srinidhira0 authored on 2018/08/01 00:35:19
Showing 9 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,35 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-eventstream
3
+
4
+Name: rubygem-aws-eventstream
5
+Version:        1.0.1
6
+Release:        1%{?dist}
7
+Summary:        Amazon Web Services event stream library.
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/aws-eventstream-%{version}.gem
12
+%define sha1    aws-eventstream=bffa80739c9f404cd67cdcf35aa9f17ffdca7ebc
13
+BuildRequires:  ruby
14
+
15
+%description
16
+Amazon Web Services event stream library.
17
+Decodes and encodes binary stream under
18
+`vnd.amazon.event-stream` content-type
19
+
20
+%prep
21
+%setup -q -c -T
22
+
23
+%build
24
+
25
+%install
26
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
27
+
28
+%files
29
+%defattr(-,root,root,-)
30
+%{gemdir}
31
+
32
+%changelog
33
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.0.1-1
34
+-   Initial build
0 35
new file mode 100755
... ...
@@ -0,0 +1,33 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-partitions
3
+
4
+Name: rubygem-aws-partitions
5
+Version:        1.96.0
6
+Release:        1%{?dist}
7
+Summary:        Provides interfaces to enumerate AWS partitions, regions & services.
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/aws-partitions-%{version}.gem
12
+%define sha1    aws-partitions=162ffb14477764fd65153ba8c91c141b322ea87b
13
+BuildRequires:  ruby
14
+
15
+%description
16
+Provides interfaces to enumerate AWS partitions, regions, and services.
17
+
18
+%prep
19
+%setup -q -c -T
20
+
21
+%build
22
+
23
+%install
24
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
25
+
26
+%files
27
+%defattr(-,root,root,-)
28
+%{gemdir}
29
+
30
+%changelog
31
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.96.0-1
32
+-   Initial build
0 33
new file mode 100755
... ...
@@ -0,0 +1,38 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-sdk-core
3
+
4
+Name: rubygem-aws-sdk-core
5
+Version:        3.22.1
6
+Release:        1%{?dist}
7
+Summary:        Provides API clients for AWS.
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/aws-sdk-core-%{version}.gem
12
+%define sha1    aws-sdk-core=df2a4868ff82002b13ae1dd1b2210971dfa48f37
13
+BuildRequires:  ruby
14
+
15
+Requires: rubygem-aws-eventstream >= 1.0
16
+Requires: rubygem-aws-partitions >= 1.0
17
+Requires: rubygem-aws-sigv4 >= 1.0
18
+Requires: rubygem-jmespath >= 1.0
19
+
20
+%description
21
+Provides API clients for AWS. This gem is part of the official AWS SDK for Ruby..
22
+
23
+%prep
24
+%setup -q -c -T
25
+
26
+%build
27
+
28
+%install
29
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
30
+
31
+%files
32
+%defattr(-,root,root,-)
33
+%{gemdir}
34
+
35
+%changelog
36
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 3.22.1-1
37
+-   Initial build
0 38
new file mode 100755
... ...
@@ -0,0 +1,37 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-sdk-kms
3
+
4
+Name: rubygem-aws-sdk-kms
5
+Version:        1.6.0
6
+Release:        1%{?dist}
7
+Summary:        Official AWS Ruby gem for AWS Key Management Service (KMS).
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/aws-sdk-kms-%{version}.gem
12
+%define sha1    aws-sdk-kms=f8ba9d348c5e53ddf7b18eb3533d2172f2520878
13
+BuildRequires:  ruby
14
+
15
+Requires: rubygem-aws-sdk-core >= 3
16
+Requires: rubygem-aws-sigv4 >= 1.0
17
+
18
+%description
19
+Official AWS Ruby gem for AWS Key Management Service (KMS).
20
+This gem is part of the AWS SDK for Ruby.
21
+
22
+%prep
23
+%setup -q -c -T
24
+
25
+%build
26
+
27
+%install
28
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
29
+
30
+%files
31
+%defattr(-,root,root,-)
32
+%{gemdir}
33
+
34
+%changelog
35
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.6.0-1
36
+-   Initial build
0 37
new file mode 100755
... ...
@@ -0,0 +1,38 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-sdk-s3
3
+
4
+Name: rubygem-aws-sdk-s3
5
+Version:        1.17.0
6
+Release:        1%{?dist}
7
+Summary:        Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-s3-%{version}.gem
12
+%define sha1    aws-sdk-s3=808eb017a721397aa3973e7bdc9b92c0a1c49706
13
+BuildRequires:  ruby
14
+
15
+Requires: rubygem-aws-sdk-core >= 3.21.2
16
+Requires: rubygem-aws-sdk-kms >= 1
17
+Requires: rubygem-aws-sigv4 >= 1.0
18
+
19
+%description
20
+Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
21
+This gem is part of the AWS SDK for Ruby.
22
+
23
+%prep
24
+%setup -q -c -T
25
+
26
+%build
27
+
28
+%install
29
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
30
+
31
+%files
32
+%defattr(-,root,root,-)
33
+%{gemdir}
34
+
35
+%changelog
36
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.17.0-1
37
+-   Initial build
0 38
new file mode 100755
... ...
@@ -0,0 +1,37 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-sdk-sqs
3
+
4
+Name: rubygem-aws-sdk-sqs
5
+Version:        1.4.0
6
+Release:        1%{?dist}
7
+Summary:        Official AWS Ruby gem for Amazon Simple Queue Service (Amazon SQS).
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/aws-sdk-sqs-%{version}.gem
12
+%define sha1    aws-sdk-sqs=7d8283aacd983e7f47518164181e4cda8b519eba
13
+BuildRequires:  ruby
14
+
15
+Requires: rubygem-aws-sdk-core >= 3
16
+Requires: rubygem-aws-sigv4 >= 1.0
17
+
18
+%description
19
+Official AWS Ruby gem for Amazon Simple Queue Service (Amazon SQS).
20
+This gem is part of the AWS SDK for Ruby.
21
+
22
+%prep
23
+%setup -q -c -T
24
+
25
+%build
26
+
27
+%install
28
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
29
+
30
+%files
31
+%defattr(-,root,root,-)
32
+%{gemdir}
33
+
34
+%changelog
35
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.4.0-1
36
+-   Initial build
0 37
new file mode 100755
... ...
@@ -0,0 +1,34 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name aws-sigv4
3
+
4
+Name: rubygem-aws-sigv4
5
+Version:        1.0.3
6
+Release:        1%{?dist}
7
+Summary:        Amazon Web Services Signature Version 4 signing library.
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/aws-sigv4-%{version}.gem
12
+%define sha1    aws-sigv4=73be50b9a8b4084c246a14ef3689a8c9a3b17b5c
13
+BuildRequires:  ruby
14
+
15
+%description
16
+Amazon Web Services Signature Version 4 signing library.
17
+Generates sigv4 signature for HTTP requests.
18
+
19
+%prep
20
+%setup -q -c -T
21
+
22
+%build
23
+
24
+%install
25
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
26
+
27
+%files
28
+%defattr(-,root,root,-)
29
+%{gemdir}
30
+
31
+%changelog
32
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.0.3-1
33
+-   Initial build
0 34
new file mode 100755
... ...
@@ -0,0 +1,39 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name fluent-plugin-s3
3
+
4
+Name: rubygem-fluent-plugin-s3
5
+Version:        1.1.4
6
+Release:        1%{?dist}
7
+Summary:        Amazon S3 output plugin for Fluentd event collector.
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/fluent-plugin-s3-%{version}.gem
12
+%define sha1    fluent-plugin-s3=e37bf96cf4dc54a07f373a4fa662699490995c7c
13
+BuildRequires:  ruby
14
+
15
+Requires: rubygem-aws-sdk-s3 >= 1.0
16
+Requires: rubygem-aws-sdk-s3 >= 1.0
17
+Requires: rubygem-fluentd >= 0.14.2
18
+Requires: rubygem-fluentd < 2.0.0
19
+Requires: rubygem-aws-sdk-sqs >= 1.0
20
+
21
+%description
22
+Amazon S3 output plugin for Fluentd event collector.
23
+
24
+%prep
25
+%setup -q -c -T
26
+
27
+%build
28
+
29
+%install
30
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
31
+
32
+%files
33
+%defattr(-,root,root,-)
34
+%{gemdir}
35
+
36
+%changelog
37
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.1.4-1
38
+-   Initial build
0 39
new file mode 100755
... ...
@@ -0,0 +1,33 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name jmespath
3
+
4
+Name: rubygem-jmespath
5
+Version:        1.4.0
6
+Release:        1%{?dist}
7
+Summary:        Implements JMESPath for Ruby.
8
+Group:          Development/Languages
9
+License:        Apache 2.0
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/jmespath-%{version}.gem
12
+%define sha1    jmespath=016b3f6a1ca8040f66cf4fe3dc0eaacbca4ff8bf
13
+BuildRequires:  ruby
14
+
15
+%description
16
+Implements JMESPath for Ruby.
17
+
18
+%prep
19
+%setup -q -c -T
20
+
21
+%build
22
+
23
+%install
24
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
25
+
26
+%files
27
+%defattr(-,root,root,-)
28
+%{gemdir}
29
+
30
+%changelog
31
+*   Mon Jul 30 2018 Srinidhi Rao <srinidhir@vmware.com> 1.4.0-1
32
+-   Initial build