Browse code

Added: rubygem-trollop, rubygem-terminal-table

Change-Id: Ife939e909329676a70a4cee42a28e20f2dc66028
Reviewed-on: http://photon-jenkins.eng.vmware.com/121
Reviewed-by: Sharath George
Tested-by: jenkins-photon <wangnan2015@hotmail.com>

Alexey Makhalov authored on 2015/11/12 10:31:03
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,28 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%define gem_name terminal-table
3
+Name: rubygem-terminal-table
4
+Version: 1.5.2
5
+Release: 1%{?dist}
6
+Summary: Simple, feature rich ascii table generation library
7
+Group: Applications/Programming
8
+License: BSD
9
+URL: https://rubygems.org/gems/%{gem_name}
10
+Source0: https://rubygems.org/downloads/terminal-table-%{version}.gem
11
+%define sha1 terminal=325ac67be9088df6386a951b72e45c0d95d52068
12
+BuildRequires: ruby
13
+Requires: ruby
14
+%description
15
+Simple, feature rich ascii table generation library
16
+%prep
17
+%setup -q -c -T
18
+%build
19
+%install
20
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
21
+%files
22
+%defattr(-,root,root,-)
23
+%{gemdir}
24
+%changelog
25
+* Wed Nov 11 2015 Alexey Makhalov <amakhalov@vmware.com> 1.5.2-1
26
+- Initial build
27
+
0 28
new file mode 100644
... ...
@@ -0,0 +1,28 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%define gem_name trollop
3
+Name: rubygem-trollop
4
+Version: 2.1.2
5
+Release: 1%{?dist}
6
+Summary: Commandline option parser for Ruby
7
+Group: Applications/Programming
8
+License: BSD
9
+URL: https://rubygems.org/gems/%{gem_name}
10
+Source0: https://rubygems.org/downloads/trollop-%{version}.gem
11
+%define sha1 trollop=87a11bff3e9d08702487108cb18e01299112df44
12
+BuildRequires: ruby
13
+Requires: ruby
14
+%description
15
+Commandline option parser for Ruby
16
+%prep
17
+%setup -q -c -T
18
+%build
19
+%install
20
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
21
+%files
22
+%defattr(-,root,root,-)
23
+%{gemdir}
24
+%changelog
25
+* Wed Nov 11 2015 Alexey Makhalov <amakhalov@vmware.com> 2.1.2-1
26
+- Initial build
27
+