Change-Id: I9b46a37dc86c17ed7f2f500b7a321ebbcc71a2e8
Reviewed-on: http://photon-jenkins.eng.vmware.com/127
Reviewed-by: Sharath George
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
| 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 zip |
|
| 3 |
+Name: rubygem-zip |
|
| 4 |
+Version: 2.0.2 |
|
| 5 |
+Release: 1%{?dist}
|
|
| 6 |
+Summary: Ruby library for reading and writing Zip files |
|
| 7 |
+Group: Applications/Programming |
|
| 8 |
+License: BSD |
|
| 9 |
+URL: https://rubygems.org/gems/%{gem_name}
|
|
| 10 |
+Source0: https://rubygems.org/downloads/zip-%{version}.gem
|
|
| 11 |
+%define sha1 zip=6fabc32da123f7013b2db804273df428a50bc6a4 |
|
| 12 |
+BuildRequires: ruby |
|
| 13 |
+Requires: ruby |
|
| 14 |
+%description |
|
| 15 |
+Ruby library for reading and writing Zip files |
|
| 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 Anish Swaminathan <anishs@vmware.com> 2.0.2-1 |
|
| 26 |
+- Initial build |
|
| 27 |
+ |