diff --git a/hashery-2.1.2.gem b/hashery-2.1.2.gem new file mode 100644 index 0000000..a74a3dd Binary files /dev/null and b/hashery-2.1.2.gem differ diff --git a/rubygem-hashery.spec b/rubygem-hashery.spec new file mode 100644 index 0000000..59ccfe0 --- /dev/null +++ b/rubygem-hashery.spec @@ -0,0 +1,60 @@ +%global gem_name hashery +Name: rubygem-%{gem_name} +Version: 2.1.2 +Release: 1 +Summary: Facets-bread collection of Hash-like classes +License: BSD +URL: http://rubyworks.github.com/hashery +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) rubygems-devel ruby +BuildArch: noarch +%description +The Hashery is a tight collection of Hash-like classes. Included among its +many offerings are the auto-sorting Dictionary class, the efficient LRUHash, +the flexible OpenHash and the convenient KeyHash. Nearly every class is a +subclass of the CRUDHash which defines a CRUD model on top of Ruby's standard +Hash making it a snap to subclass and augment to fit any specific use case. + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch +%description doc +Documentation for %{name}. + +%prep +%setup -q -c -T +%gem_install -n %{SOURCE0} + +%build + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%check +pushd .%{gem_instdir} +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.* +%license %{gem_instdir}/LICENSE.txt +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/HISTORY.md +%doc %{gem_instdir}/README.md +%{gem_instdir}/Index.yml +%doc %{gem_instdir}/NOTICE.txt +%{gem_instdir}/alt +%{gem_instdir}/demo +%{gem_instdir}/test + +%changelog +* Sat Jul 25 2020 wutao - 2.1.2-1 +- package init diff --git a/rubygem-hashery.yaml b/rubygem-hashery.yaml new file mode 100644 index 0000000..9284da9 --- /dev/null +++ b/rubygem-hashery.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: rubyworks/hashery +tag_prefix: "^" +seperator: "."