first commit
This commit is contained in:
parent
f0ff49ba0d
commit
38c6399045
BIN
rails-5.2.3.gem
Normal file
BIN
rails-5.2.3.gem
Normal file
Binary file not shown.
47
rubygem-rails.spec
Normal file
47
rubygem-rails.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
%global gem_name rails
|
||||||
|
Name: rubygem-%{gem_name}
|
||||||
|
Epoch: 1
|
||||||
|
Version: 5.2.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Full-stack web application framework
|
||||||
|
License: MIT
|
||||||
|
URL: http://rubyonrails.org
|
||||||
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
|
BuildRequires: ruby(release) rubygems-devel >= 1.8.11 ruby >= 2.2.2
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
Ruby on Rails is a full-stack web framework optimized for programmer happiness
|
||||||
|
and sustainable productivity. It encourages beautiful code by favoring
|
||||||
|
convention over configuration.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
License: MIT and (MIT or GPL+)
|
||||||
|
Requires: %{name} = %{epoch}:%{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}/
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{gem_instdir}
|
||||||
|
%exclude %{gem_cache}
|
||||||
|
%{gem_spec}
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc %{gem_docdir}
|
||||||
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 luoshengwei <luoshengwei@huawei.com> - 5.2.3-1
|
||||||
|
- package init
|
||||||
4
rubygem-rails.yaml
Normal file
4
rubygem-rails.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: rails/rails
|
||||||
|
tag_prefix: "rails-"
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user