Browse code

Add RPM spec for rubygem-fluent-plugin-kubernetes_metadata_filter 2.2.0

The Kubernetes metadata plugin filter enriches container log records with
pod and namespace metadata.

Change-Id: I490e31ae712969e05069f08742e3ed98b4837e7d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/7876
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

shadjiiski authored on 2019/08/23 18:47:04
Showing 17 changed files
1 1
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 addressable
3
+
4
+Name: rubygem-addressable
5
+Version:        2.6.0
6
+Release:        1%{?dist}
7
+Summary:        An easy-to-use client library for making requests from Ruby.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        Apache-2.0
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    addressable=326d420d057a734f171fcfee4a037d9791cb4d77
15
+BuildRequires:  ruby >= 2.0.0
16
+
17
+Requires: rubygem-public_suffix >= 2.0.2, rubygem-public_suffix < 4.0.0
18
+BuildArch: noarch
19
+
20
+%description
21
+Addressable is a replacement for the URI implementation that is part of Ruby's standard library.
22
+It more closely conforms to the relevant RFCs and adds support for IRIs and URI templates.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 2.6.0-1
38
+-   Initial build
0 39
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 domain_name
3
+
4
+Name: rubygem-domain_name
5
+Version:        0.5.20190701
6
+Release:        1%{?dist}
7
+Summary:        This is a Domain Name manipulation library for Ruby.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        BSD-2-Clause and BSD-3-Clause and MPLv2.0
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    domain_name=c88205284700ac54a5b520f1358d341d76ecf77b
15
+BuildRequires:  ruby
16
+
17
+Requires: rubygem-unf >= 0.0.5, rubygem-unf < 1.0.0
18
+BuildArch: noarch
19
+
20
+%description
21
+This is a Domain Name manipulation library for Ruby. It can also be used for
22
+cookie domain validation based on the Public Suffix List.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.5.20190701-1
38
+-   Initial build
0 39
new file mode 100755
... ...
@@ -0,0 +1,49 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name fluent-plugin-kubernetes_metadata_filter
3
+
4
+Name: rubygem-fluent-plugin-kubernetes_metadata_filter
5
+Version:        2.2.0
6
+Release:        1%{?dist}
7
+Summary:        Fluentd Filter plugin to add Kubernetes metadata.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        Apache-2.0
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    fluent-plugin-kubernetes_metadata_filter=8048f933d5a5cf80be039ff6970dc7b6507085b0
15
+BuildRequires:  ruby >= 2.1
16
+
17
+Requires: rubygem-fluentd >= 0.14.0, rubygem-fluentd < 2.0.0
18
+Requires: rubygem-kubeclient >= 1.1.4, rubygem-kubeclient < 1.2.0
19
+Requires: rubygem-lru_redux
20
+BuildArch: noarch
21
+
22
+%description
23
+The Kubernetes metadata plugin filter enriches container log records with pod and namespace metadata.
24
+
25
+This plugin derives basic metadata about the container that emitted a given log record using the source
26
+of the log record. Records from journald provide metadata about the container environment as named fields.
27
+Records from JSON files encode metadata about the container in the file name. The initial metadata derived
28
+from the source is used to lookup additional metadata about the container's associated pod and namespace
29
+(e.g. UUIDs, labels, annotations) when the kubernetes_url is configured. If the plugin cannot authoritatively
30
+determine the namespace of the container emitting a log record, it will use an 'orphan' namespace ID in the
31
+metadata. This behaviors supports multi-tenant systems that rely on the authenticity of the namespace for
32
+proper log isolation.
33
+
34
+%prep
35
+%setup -q -c -T
36
+
37
+%build
38
+
39
+%install
40
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
41
+
42
+%files
43
+%defattr(-,root,root,-)
44
+%{gemdir}
45
+
46
+%changelog
47
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 2.2.0-1
48
+-   Initial build
0 49
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 http-accept
3
+
4
+Name: rubygem-http-accept
5
+Version:        1.7.0
6
+Release:        1%{?dist}
7
+Summary:        Parse Accept and Accept-Language HTTP headers.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    http-accept=0f8c31dacdd69d0398844101af792103dc600e1f
15
+BuildRequires:  ruby
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+Parse Accept and Accept-Language HTTP headers.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 1.7.0-1
36
+-   Initial build
0 37
new file mode 100755
... ...
@@ -0,0 +1,42 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name http-cookie
3
+
4
+Name: rubygem-http-cookie
5
+Version:        1.0.3
6
+Release:        1%{?dist}
7
+Summary:        HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    http-cookie=34c03e5f450d33591f47d9934dd9315577a3da57
15
+BuildRequires:  ruby
16
+
17
+Requires: rubygem-domain_name >= 0.5.0, rubygem-domain_name < 1.0.0
18
+BuildArch: noarch
19
+
20
+%description
21
+HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It has with
22
+security, standards compliance and compatibility in mind, to behave just the same as
23
+today's major web browsers. It has builtin support for the legacy cookies.txt and the
24
+latest cookies.sqlite formats of Mozilla Firefox, and its modular API makes it easy
25
+to add support for a new backend store.
26
+
27
+%prep
28
+%setup -q -c -T
29
+
30
+%build
31
+
32
+%install
33
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
34
+
35
+%files
36
+%defattr(-,root,root,-)
37
+%{gemdir}
38
+
39
+%changelog
40
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 1.0.3-1
41
+-   Initial build
0 42
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 http-form_data
3
+
4
+Name: rubygem-http-form_data
5
+Version:        1.0.3
6
+Release:        1%{?dist}
7
+Summary:        Utility-belt to build form data request bodies. Provides support for application/x-www-form-urlencoded and multipart/form-data types.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    http-form_data=cc98987ba7d41c88ee26f90aacabdd1c0d53b336
15
+BuildRequires:  ruby >= 1.9
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+Utility-belt to build form data request bodies. Provides support for application/x-www-form-urlencoded and multipart/form-data types.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 1.0.3-1
36
+-   Initial build
0 37
new file mode 100755
... ...
@@ -0,0 +1,42 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name http
3
+
4
+Name: rubygem-http
5
+Version:        0.9.8
6
+Release:        1%{?dist}
7
+Summary:        An easy-to-use client library for making requests from Ruby.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    http=a0de8b20e9801926dc25f40dffe5108be322c3e8
15
+BuildRequires:  ruby
16
+
17
+Requires: rubygem-addressable >= 2.3.0, rubygem-addressable < 3.0.0
18
+Requires: rubygem-http-cookie >= 1.0.0, rubygem-http-cookie < 2.0.0
19
+Requires: rubygem-http-form_data >= 1.0.1, rubygem-http-form_data < 1.2.0
20
+Requires: rubygem-http_parser.rb >= 0.6.0, rubygem-http_parser.rb < 0.7.0
21
+BuildArch: noarch
22
+
23
+%description
24
+An easy-to-use client library for making requests from Ruby. It uses a simple
25
+method chaining system for building requests, similar to Python's Requests.
26
+
27
+%prep
28
+%setup -q -c -T
29
+
30
+%build
31
+
32
+%install
33
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
34
+
35
+%files
36
+%defattr(-,root,root,-)
37
+%{gemdir}
38
+
39
+%changelog
40
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.9.8-1
41
+-   Initial build
0 42
new file mode 100755
... ...
@@ -0,0 +1,41 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name kubeclient
3
+
4
+Name: rubygem-kubeclient
5
+Version:        1.1.4
6
+Release:        1%{?dist}
7
+Summary:        A client for Kubernetes REST api.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    kubeclient=d0129e28ff280cf97316da6e3d9ce51e1e88bedd
15
+BuildRequires:  ruby >= 2.0.0
16
+
17
+Requires: rubygem-activesupport
18
+Requires: rubygem-http = 0.9.8
19
+Requires: rubygem-recursive-open-struct = 1.0.0
20
+Requires: rubygem-rest-client
21
+BuildArch: noarch
22
+
23
+%description
24
+A client for Kubernetes REST api.
25
+
26
+%prep
27
+%setup -q -c -T
28
+
29
+%build
30
+
31
+%install
32
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
33
+
34
+%files
35
+%defattr(-,root,root,-)
36
+%{gemdir}
37
+
38
+%changelog
39
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 1.1.4-1
40
+-   Initial build
0 41
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 lru_redux
3
+
4
+Name: rubygem-lru_redux
5
+Version:        1.1.0
6
+Release:        1%{?dist}
7
+Summary:        An efficient, thread safe implementation of an LRU cache.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    lru_redux=7767aae39ca4e93beed18979845c490685655790
15
+BuildRequires:  ruby >= 1.9.3
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+An efficient, thread safe implementation of an LRU cache.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 1.1.0-1
36
+-   Initial build
0 37
new file mode 100755
... ...
@@ -0,0 +1,40 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name mime-types-data
3
+
4
+Name: rubygem-mime-types-data
5
+Version:        3.2015.1120
6
+Release:        1%{?dist}
7
+Summary:        Provides a registry for information about MIME media type definitions.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    mime-types-data=7e0ba3069053eb0aa536fa9bf08f9de59d7bc5df
15
+BuildRequires:  ruby >= 2.0
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+mime-types-data provides a registry for information about MIME media type definitions.
21
+It can be used with the Ruby mime-types library or other software to determine defined
22
+filename extensions for MIME types, or to use filename extensions to look up the likely
23
+MIME type definitions.
24
+
25
+%prep
26
+%setup -q -c -T
27
+
28
+%build
29
+
30
+%install
31
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
32
+
33
+%files
34
+%defattr(-,root,root,-)
35
+%{gemdir}
36
+
37
+%changelog
38
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 3.2015.1120-1
39
+-   Initial build
0 40
new file mode 100755
... ...
@@ -0,0 +1,46 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name mime-types
3
+
4
+Name: rubygem-mime-types
5
+Version:        3.2.2
6
+Release:        1%{?dist}
7
+Summary:        The mime-types library provides a library and registry for information about MIME content type definitions.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    mime-types=c1403f642bf029c7e7cc206816e2538d73b7b9bf
15
+BuildRequires:  ruby >= 2.0
16
+
17
+Requires: rubygem-mime-types-data >= 3.2015.0, rubygem-mime-types-data < 4.0.0
18
+BuildArch: noarch
19
+
20
+%description
21
+The mime-types library provides a library and registry for information about MIME content
22
+type definitions. It can be used to determine defined filename extensions for MIME types,
23
+or to use filename extensions to look up the likely MIME type definitions. Version 3.0 is
24
+a major release that requires Ruby 2.0 compatibility and removes deprecated functions. The
25
+columnar registry format introduced in 2.6 has been made the primary format; the registry
26
+data has been extracted from this library and put into
27
+{mime-types-data}[https://github.com/mime-types/mime-types-data]. Additionally, mime-types
28
+is now licensed exclusively under the MIT licence and there is a code of conduct in effect.
29
+There are a number of other smaller changes described in the History file.
30
+
31
+%prep
32
+%setup -q -c -T
33
+
34
+%build
35
+
36
+%install
37
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
38
+
39
+%files
40
+%defattr(-,root,root,-)
41
+%{gemdir}
42
+
43
+%changelog
44
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 3.2.2-1
45
+-   Initial build
0 46
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 netrc
3
+
4
+Name: rubygem-netrc
5
+Version:        0.11.0
6
+Release:        1%{?dist}
7
+Summary:        This library can read and update netrc files, preserving formatting including comments and whitespace.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    netrc=bc59d9f86c0bd26862d6b169405c61e75bfc25f3
15
+BuildRequires:  ruby
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+This library can read and update netrc files, preserving formatting including comments and whitespace.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.11.0-1
36
+-   Initial build
0 37
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 public_suffix
3
+
4
+Name: rubygem-public_suffix
5
+Version:        3.1.1
6
+Release:        1%{?dist}
7
+Summary:        PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    public_suffix=f1a667be0b7754c41ef535166f5a4921bdc1afd8
15
+BuildRequires:  ruby >= 2.1.0
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 3.1.1-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 recursive-open-struct
3
+
4
+Name: rubygem-recursive-open-struct
5
+Version:        1.0.0
6
+Release:        1%{?dist}
7
+Summary:        A subclass of OpenStruct that allows nested hashes to be treated in a recursive fashion
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    recursive-open-struct=eec2cb6ea49881828b0941f72ad12e3047f5e5be
15
+BuildRequires:  ruby
16
+
17
+BuildArch: noarch
18
+
19
+%description
20
+RecursiveOpenStruct is a subclass of OpenStruct. It differs from OpenStruct
21
+in that it allows nested hashes to be treated in a recursive fashion.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 1.0.0-1
37
+-   Initial build
0 38
new file mode 100755
... ...
@@ -0,0 +1,41 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name rest-client
3
+
4
+Name: rubygem-rest-client
5
+Version:        2.1.0
6
+Release:        1%{?dist}
7
+Summary:        A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions: get, put, post, delete.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    rest-client=169e6f1d6a55ae58e066ec37ec899eef14fde9a4
15
+BuildRequires:  ruby >= 2.0.0
16
+
17
+Requires: rubygem-http-accept >= 1.7.0, rubygem-http-accept < 2.0.0
18
+Requires: rubygem-http-cookie >= 1.0.2, rubygem-http-cookie < 2.0.0
19
+Requires: rubygem-mime-types >= 1.16.0, rubygem-mime-types < 4.0.0
20
+Requires: rubygem-netrc >= 0.8.0, rubygem-netrc < 1.0.0
21
+BuildArch: noarch
22
+
23
+%description
24
+A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions: get, put, post, delete.
25
+
26
+%prep
27
+%setup -q -c -T
28
+
29
+%build
30
+
31
+%install
32
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
33
+
34
+%files
35
+%defattr(-,root,root,-)
36
+%{gemdir}
37
+
38
+%changelog
39
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 2.1.0-1
40
+-   Initial build
0 41
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 unf
3
+
4
+Name: rubygem-unf
5
+Version:        0.1.4
6
+Release:        1%{?dist}
7
+Summary:        This is a wrapper library to bring Unicode Normalization Form support to Ruby/JRuby.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        BSD-2-Clause
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    unf=847ecaefb95c6639920a70e21812fad48c40fe08
15
+BuildRequires:  ruby
16
+
17
+Requires: rubygem-unf_ext
18
+BuildArch: noarch
19
+
20
+%description
21
+This is a wrapper library to bring Unicode Normalization Form support to Ruby/JRuby.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.1.4-1
37
+-   Initial build
0 38
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 unf_ext
3
+
4
+Name: rubygem-unf_ext
5
+Version:        0.0.7.6
6
+Release:        1%{?dist}
7
+Summary:        Unicode Normalization Form support library for CRuby.
8
+Group:          Development/Libraries
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+License:        MIT
12
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
13
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
14
+%define sha1    unf_ext=e1d4eb2d5832e6c6f58c0384c3c33521042cc498
15
+BuildRequires:  ruby
16
+BuildRequires:  gmp-devel
17
+
18
+BuildArch: x86_64
19
+
20
+%description
21
+Unicode Normalization Form support library for CRuby.
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
+*   Thu Aug 22 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.0.7.6-1
37
+-   Initial build