commit
dd2bfb6263
BIN
hashery-2.1.2.gem
Normal file
BIN
hashery-2.1.2.gem
Normal file
Binary file not shown.
60
rubygem-hashery.spec
Normal file
60
rubygem-hashery.spec
Normal file
@ -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 <wutao61@huawei.com> - 2.1.2-1
|
||||
- package init
|
||||
4
rubygem-hashery.yaml
Normal file
4
rubygem-hashery.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: rubyworks/hashery
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user