diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-18 00:27:52 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-18 00:27:52 +0000 |
commit | 3806d9337c5b244fc462768f75e84a93503266eb (patch) | |
tree | a7904be8f3f54a7c4d2dbb954469f7c5228be06e | |
parent | 15ce4fc300b910c1fdd4037d2e772620a2e55576 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-abstract_google_client.spec | 73 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 75 insertions, 0 deletions
@@ -0,0 +1 @@ +/abstract_google_client-0.0.5.gem diff --git a/rubygem-abstract_google_client.spec b/rubygem-abstract_google_client.spec new file mode 100644 index 0000000..4b606d3 --- /dev/null +++ b/rubygem-abstract_google_client.spec @@ -0,0 +1,73 @@ +# Generated from abstract_google_client-0.0.5.gem by gem2rpm -*- rpm-spec -*- +%global gem_name abstract_google_client + +Name: rubygem-%{gem_name} +Version: 0.0.5 +Release: 1%{?dist} +Summary: Handles a persistent Google::ApiClient in rails +License: MIT +URL: http://github.com/abradner/google_client +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(rubocop) +BuildArch: noarch + +%description +This is totally a work in progress. Ask me if you want to use it so I can +explain the traps. + + +%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 +%exclude %{gem_instdir}/.rubocop.yml +%{gem_instdir}/.ruby-gemset +%{gem_instdir}/.ruby-version +%license %{gem_instdir}/LICENSE.txt +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%{gem_instdir}/Gemfile +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile +%{gem_instdir}/google_client.gemspec + +%changelog +* Mon Apr 18 2022 mockbuilder - 0.0.5-1 +- Initial package @@ -0,0 +1 @@ +76263cc1ef13be73edcc4229a05446c6 abstract_google_client-0.0.5.gem |