diff --git a/formatador-0.2.5.gem b/formatador-0.2.5.gem new file mode 100644 index 0000000..0e1cfaa Binary files /dev/null and b/formatador-0.2.5.gem differ diff --git a/rubygem-formatador.spec b/rubygem-formatador.spec new file mode 100644 index 0000000..e9dc0b3 --- /dev/null +++ b/rubygem-formatador.spec @@ -0,0 +1,63 @@ +%global gem_name formatador +%{!?_with_bootstrap: %global bootstrap 0} +Name: rubygem-%{gem_name} +Version: 0.2.5 +Release: 1 +Summary: Ruby STDOUT text formatting +License: MIT +URL: http://github.com/geemus/formatador +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) rubygems-devel +%if ! 0%{?bootstrap} +BuildRequires: rubygem(shindo) +%endif +BuildArch: noarch +%description +STDOUT text formatting. + +%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 +%if ! 0%{?bootstrap} +pushd .%{gem_instdir} +RUBYOPT=-Ilib shindo +popd +%endif + +%files +%dir %{gem_instdir} +%license %{gem_instdir}/LICENSE.md +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/CONTRIBUTING.md +%doc %{gem_instdir}/CONTRIBUTORS.md +%{gem_instdir}/Gemfile +%doc %{gem_instdir}/README.rdoc +%{gem_instdir}/Rakefile +%doc %{gem_instdir}/changelog.txt +%{gem_instdir}/formatador.gemspec +%{gem_instdir}/tests + +%changelog +* Mon Aug 24 2020 tushenmei - 0.2.5-1 +- package init diff --git a/rubygem-formatador.yaml b/rubygem-formatador.yaml new file mode 100644 index 0000000..73eaccb --- /dev/null +++ b/rubygem-formatador.yaml @@ -0,0 +1,5 @@ +version_control: github +src_repo: geemus/formatador +tag_prefix: "formatador-" +separator: "." +