diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-16 16:51:45 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-16 16:51:45 +0000 |
commit | 73f52f584ec453045a7f6fe6879dfe95e763ea5b (patch) | |
tree | e4f48e86ca4d727794800aa4c5875e9dce421bee | |
parent | 8f5aeb3af5239b6ec20b5810366a751589f81f4a (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-voicearchive_client.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/voicearchive_client-0.0.2.gem diff --git a/rubygem-voicearchive_client.spec b/rubygem-voicearchive_client.spec new file mode 100644 index 0000000..a267e41 --- /dev/null +++ b/rubygem-voicearchive_client.spec @@ -0,0 +1,79 @@ +# Generated from voicearchive_client-0.0.2.gem by gem2rpm -*- rpm-spec -*- +%global gem_name voicearchive_client + +Name: rubygem-%{gem_name} +Version: 0.0.2 +Release: 1%{?dist} +Summary: Voicearchive api client +License: MIT +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(rspec) +# BuildRequires: rubygem(vcr) +# BuildRequires: rubygem(webmock) +# BuildRequires: rubygem(simplecov) +# BuildRequires: rubygem(yarjuf) +BuildArch: noarch + +%description +Voicearchive api client. + + +%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} +# rspec spec +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.exrc +%{gem_instdir}/.github +%exclude %{gem_instdir}/.gitignore +%exclude %{gem_instdir}/.travis.yml +%license %{gem_instdir}/LICENSE.txt +%{gem_libdir} +%{gem_instdir}/scripts +%{gem_instdir}/tags +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%exclude %{gem_instdir}/.rspec +%{gem_instdir}/Gemfile +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile +%{gem_instdir}/spec +%{gem_instdir}/voicearchive_client.gemspec + +%changelog +* Thu Sep 16 2021 mockbuilder - 0.0.2-1 +- Initial package @@ -0,0 +1 @@ +e1a99c4c9df69df840f031545b3c3fd4 voicearchive_client-0.0.2.gem |