Browse code

rubygem-fluentd: Add fluent rubygem packages

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

Change-Id: I0c1d24df65285a9f38e4d89d00c308985df38aac
Signed-off-by: srinidhira0 <srinidhir@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5410
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Sharath George
(cherry picked from commit c44b3968a44ede123c612f799ff608a60097d6d1)
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5556
Tested-by: Sharath George

srinidhira0 authored on 2018/07/27 00:40:41
Showing 11 changed files
1 1
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 cool.io
3
+
4
+Name: rubygem-cool-io
5
+Version:        1.5.3
6
+Release:        1%{?dist}
7
+Summary:        a high performance event framework for Ruby which uses the libev C library
8
+Group:          Development/Languages
9
+License:        N/A
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/cool.io-%{version}.gem
12
+%define sha1    cool.io=a29fa2b9aafdbb017481906c658d425e47c38264
13
+BuildRequires:  ruby
14
+Provides: rubygem-cool-io = %{version}
15
+
16
+%description
17
+a high performance event framework for Ruby which uses the libev C library
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.5.3-1
33
+-   Initial build
0 34
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 dig_rb
3
+
4
+Name: rubygem-dig_rb
5
+Version:        1.0.1
6
+Release:        1%{?dist}
7
+Summary:        Array/Hash/Struct#dig backfill for ruby
8
+Group:          Development/Languages
9
+License:        MIT
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/dig_rb-%{version}.gem
12
+%define sha1    dig_rb=5ce0a66b0073c7c736cac61beafa4533d359df99
13
+BuildRequires:  ruby
14
+Provides: rubygem-dig_rb = %{version}
15
+
16
+%description
17
+Array/Hash/Struct#dig backfill for ruby
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.0.1-1
33
+-   Initial build
0 34
new file mode 100755
... ...
@@ -0,0 +1,36 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name fluent-plugin-systemd
3
+
4
+Name: rubygem-fluent-plugin-systemd
5
+Version:        1.0.1
6
+Release:        1%{?dist}
7
+Summary:        This is a fluentd input plugin. It reads logs from the systemd journal.
8
+Group:          Development/Languages
9
+License:        Apache 2
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/fluent-plugin-systemd-%{version}.gem
12
+%define sha1    fluent-plugin-systemd=dd9c1e6ae7fa451822b5f244b0b92438a925670a
13
+BuildRequires:  ruby
14
+
15
+Requires: rubygem-fluentd >= 0.14.11
16
+Requires: rubygem-fluentd < 2.0.0
17
+Requires: systemd
18
+%description
19
+This is a fluentd input plugin. It reads logs from the systemd journal.
20
+
21
+%prep
22
+%setup -q -c -T
23
+
24
+%build
25
+
26
+%install
27
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
28
+
29
+%files
30
+%defattr(-,root,root,-)
31
+%{gemdir}
32
+
33
+%changelog
34
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.0.1-1
35
+-   Initial build
0 36
new file mode 100755
... ...
@@ -0,0 +1,56 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name fluentd
3
+
4
+Name: rubygem-fluentd
5
+Version:        1.2.3
6
+Release:        1%{?dist}
7
+Summary:        An open source data collector designed to scale and simplify log management
8
+Group:          Development/Languages
9
+License:        Apache 2
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/fluentd-%{version}.gem
12
+%define sha1    fluentd=715fc88e66d0e2686b18a5c3c4787924c9281f40
13
+BuildRequires:  ruby >= 2.1
14
+
15
+Requires(post): systemd
16
+Requires(preun): systemd
17
+Requires(postun): systemd
18
+Requires: rubygem-thread_safe >= 0.1.0
19
+Requires: rubygem-cool-io >= 1.4.5
20
+Requires: rubygem-cool-io < 2.0.0
21
+Requires: rubygem-dig_rb > 1.0.0
22
+Requires: rubygem-http_parser.rb >= 0.5.1
23
+Requires: rubygem-http_parser.rb < 0.7.0
24
+Requires: rubygem-msgpack >= 0.5.11
25
+Requires: rubygem-msgpack < 2
26
+Requires: rubygem-sigdump >= 0.2.2
27
+Requires: rubygem-strptime > 0.2.2
28
+Requires: rubygem-strptime < 1.0.0
29
+Requires: rubygem-serverengine >= 2.0.4
30
+Requires: rubygem-serverengine < 3.0.0
31
+Requires: rubygem-tzinfo >= 1.0.0
32
+Requires: rubygem-tzinfo-data > 1.0.0
33
+Requires: rubygem-yajl-ruby >= 1.0
34
+BuildArch: noarch
35
+Provides: rubygem(%{gem_name}) = %{version}
36
+
37
+%description
38
+Fluentd is an open source data collector designed to scale and simplify log management.
39
+It can collect, process and ship many kinds of data in near real-time.
40
+
41
+%prep
42
+%setup -q -c -T
43
+
44
+%build
45
+
46
+%install
47
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
48
+
49
+%files
50
+%defattr(-,root,root,-)
51
+%{gemdir}
52
+
53
+%changelog
54
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.2.3-1
55
+-   Initial build
0 56
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 http_parser.rb
3
+
4
+Name: rubygem-http_parser.rb
5
+Version:        0.6.0
6
+Release:        1%{?dist}
7
+Summary:        Provides ruby bindings to http parser
8
+Group:          Development/Languages
9
+License:        MIT
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/http_parser.rb-%{version}.gem
12
+%define sha1    http_parser.rb=0d69273a2e74b82358b19f01632e06601732a64e
13
+BuildRequires:  ruby
14
+Provides: rubygem-http_parser.rb = %{version}
15
+
16
+%description
17
+Provides ruby bindings to http parser.
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 0.6.0-1
33
+-   Initial build
0 34
new file mode 100755
... ...
@@ -0,0 +1,36 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name msgpack
3
+
4
+Name: rubygem-msgpack
5
+Version:        1.2.4
6
+Release:        1%{?dist}
7
+Summary:        A binary-based efficient object serialization 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/msgpack-%{version}.gem
12
+%define sha1    msgpack=d5a0a24034e704de7bc9a56c1497ad5e83cf123e
13
+BuildRequires:  ruby
14
+Provides: rubygem-msgpack = %{version}
15
+
16
+%description
17
+MessagePack is a binary-based efficient object serialization library.
18
+It enables to exchange structured objects between many languages like JSON.
19
+But unlike JSON, it is very fast and small.
20
+
21
+%prep
22
+%setup -q -c -T
23
+
24
+%build
25
+
26
+%install
27
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
28
+
29
+%files
30
+%defattr(-,root,root,-)
31
+%{gemdir}
32
+
33
+%changelog
34
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.2.4-1
35
+-   Initial build
0 36
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 serverengine
3
+
4
+Name: rubygem-serverengine
5
+Version:        2.0.7
6
+Release:        1%{?dist}
7
+Summary:        A framework to implement robust multiprocess servers like Unicorn
8
+Group:          Development/Languages
9
+License:        Apache 2
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/serverengine-%{version}.gem
12
+%define sha1    serverengine=e3901a234a7e4ae66428536621af71e273c8af8a
13
+BuildRequires:  ruby > 2.1.0
14
+Provides: rubygem-serverengine = %{version}
15
+
16
+%description
17
+A framework to implement robust multiprocess servers like Unicorn.
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 2.0.7-1
33
+-   Initial build
0 34
new file mode 100755
... ...
@@ -0,0 +1,36 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name sigdump
3
+
4
+Name: rubygem-sigdump
5
+Version:        0.2.4
6
+Release:        1%{?dist}
7
+Summary:        signal handler which dumps backtrace of running threads
8
+Group:          Development/Languages
9
+License:        MIT
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/sigdump-%{version}.gem
12
+%define sha1    sigdump=12056f5de99a6117dbbd9a34135f41ebc8d71f66
13
+BuildRequires:  ruby
14
+Provides: rubygem-sigdump = %{version}
15
+
16
+%description
17
+Setup signal handler which dumps backtrace of running threads and number
18
+of allocated objects per class. Require 'sigdump/setup', send SIGCONT,
19
+and see /tmp/sigdump-<pid>.log.
20
+
21
+%prep
22
+%setup -q -c -T
23
+
24
+%build
25
+
26
+%install
27
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
28
+
29
+%files
30
+%defattr(-,root,root,-)
31
+%{gemdir}
32
+
33
+%changelog
34
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 0.2.4-1
35
+-   Initial build
0 36
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 strptime
3
+
4
+Name: rubygem-strptime
5
+Version:        0.2.3
6
+Release:        1%{?dist}
7
+Summary:        a fast strptime/strftime engine which uses VM
8
+Group:          Development/Languages
9
+License:        BSD 2
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/strptime-%{version}.gem
12
+%define sha1    strptime=b4749bb078a1e89ebf2eb010ebfa54ac65112114
13
+BuildRequires:  ruby
14
+Provides: rubygem-strptime = %{version}
15
+
16
+%description
17
+a fast strptime/strftime engine which uses VM
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 0.2.3-1
33
+-   Initial build
0 34
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 tzinfo-data
3
+
4
+Name: rubygem-tzinfo-data
5
+Version:        1.2018.5
6
+Release:        1%{?dist}
7
+Summary:        data from the IANA Time Zone database packaged as Ruby modules
8
+Group:          Development/Languages
9
+License:        MIT
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/tzinfo-data-%{version}.gem
12
+%define sha1    tzinfo-data=2ba2850326a7d62d147caf8dc35ae6314cf75b91
13
+BuildRequires:  ruby
14
+Provides: rubygem-tzinfo-data = %{version}
15
+
16
+%description
17
+TZInfo::Data contains data from the IANA Time Zone database packaged as
18
+Ruby modules for use with TZInfo.
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.2018.5-1
34
+-   Initial build
0 35
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 yajl-ruby
3
+
4
+Name: rubygem-yajl-ruby
5
+Version:        1.4.0
6
+Release:        1%{?dist}
7
+Summary:        Ruby C bindings to the excellent Yajl JSON stream-based parser library.
8
+Group:          Development/Languages
9
+License:        MIT
10
+URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
11
+Source0:        https://rubygems.org/downloads/yajl-ruby-%{version}.gem
12
+%define sha1    yajl-ruby=c58802fb3f351963e7f89b8f0d55f871a70a2b97
13
+BuildRequires:  ruby
14
+Provides: rubygem-yajl-ruby = %{version}
15
+
16
+%description
17
+Ruby C bindings to the excellent Yajl JSON stream-based parser library.
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
+*   Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.4.0-1
33
+-   Initial build