package init
This commit is contained in:
parent
2b1cddcf66
commit
a7e35c3149
BIN
formatador-0.2.5.gem
Normal file
BIN
formatador-0.2.5.gem
Normal file
Binary file not shown.
63
rubygem-formatador.spec
Normal file
63
rubygem-formatador.spec
Normal file
@ -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 <tushenmei@huawei.com> - 0.2.5-1
|
||||
- package init
|
||||
5
rubygem-formatador.yaml
Normal file
5
rubygem-formatador.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
version_control: github
|
||||
src_repo: geemus/formatador
|
||||
tag_prefix: "formatador-"
|
||||
separator: "."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user