diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-13 06:28:06 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-13 06:28:06 +0000 |
commit | 7ecdb16959e3b12418139535a5a14511b09638c3 (patch) | |
tree | a44ef0493ef9a3e398cbd041e5bbf9603b306bf8 | |
parent | f179552b1ed3ab4bb324454936403ea1b994cc1b (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-distribute_tree.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/distribute_tree-0.0.1.gem diff --git a/rubygem-distribute_tree.spec b/rubygem-distribute_tree.spec new file mode 100644 index 0000000..61122ba --- /dev/null +++ b/rubygem-distribute_tree.spec @@ -0,0 +1,77 @@ +# Generated from distribute_tree-0.0.1.gem by gem2rpm -*- rpm-spec -*- +%global gem_name distribute_tree + +Name: rubygem-%{gem_name} +Version: 0.0.1 +Release: 1%{?dist} +Summary: 用于实现单个Cloud和多个Local服务器之间数据共享的 Rails Engine 。 +License: MIT +URL: https://github.com/SunshineLibrary/distribute_tree +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(pry-debugger) +# BuildRequires: rubygem(guard-test) +# BuildRequires: rubygem(mongoid-rspec) +# BuildRequires: rubygem(capybara) +# BuildRequires: rubygem(factory_girl_rails) +# BuildRequires: rubygem(database_cleaner) +BuildArch: noarch + +%description +用于实现单个Cloud和多个Local服务器之间数据共享的 Rails Engine 。. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%setup -q -n %{gem_name}-%{version} + +%build +# Create the gem as gem install only works on a gem file +gem build ../%{gem_name}-%{version}.gemspec + +# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir +# by default, so that we can move it into the buildroot in %%install +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + + + +%check +pushd .%{gem_instdir} +# Run the test suite. +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.gitignore +%{gem_instdir}/Guardfile +%license %{gem_instdir}/LICENSE +%{gem_instdir}/app +%{gem_instdir}/config +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%{gem_instdir}/Gemfile +%doc %{gem_instdir}/README.markdown +%{gem_instdir}/distribute_tree.gemspec +%{gem_instdir}/spec + +%changelog +* Mon Sep 13 2021 mockbuilder - 0.0.1-1 +- Initial package @@ -0,0 +1 @@ +2c2a0bb53ed3634941194bac2ce723e9 distribute_tree-0.0.1.gem |