diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-20 11:25:42 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-20 11:25:42 +0000 |
commit | d4e5c166e3db6af1e8d8c02d5c38702c93ab0938 (patch) | |
tree | 27f97b11ec385b5ed377676a79d382eb823a648f | |
parent | 31560ec3d801b3895f3f1f836e3253ca011d900a (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-ruby_bittorrent.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/ruby_bittorrent-1.0.2.gem diff --git a/rubygem-ruby_bittorrent.spec b/rubygem-ruby_bittorrent.spec new file mode 100644 index 0000000..7975207 --- /dev/null +++ b/rubygem-ruby_bittorrent.spec @@ -0,0 +1,79 @@ +# Generated from ruby_bittorrent-1.0.2.gem by gem2rpm -*- rpm-spec -*- +%global gem_name ruby_bittorrent + +Name: rubygem-%{gem_name} +Version: 1.0.2 +Release: 1%{?dist} +Summary: Ruby bittorrent download cli +License: MIT +URL: http://github.com/pr0d1r2/ruby_bittorrent +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(rspec) >= 2.8.0 +# BuildRequires: rubygem(rspec) < 2.9 +# BuildRequires: rubygem(jeweler) >= 1.8.7 +# BuildRequires: rubygem(jeweler) < 1.9 +# BuildRequires: rubygem(simplecov) +BuildArch: noarch + +%description +Ruby bittorrent download cli. + + +%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} +%{gem_instdir}/.ruby-gemset +%{gem_instdir}/.ruby-version +%license %{gem_instdir}/LICENSE.txt +%{gem_instdir}/VERSION +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/.document +%exclude %{gem_instdir}/.rspec +%{gem_instdir}/Gemfile +%doc %{gem_instdir}/README.rdoc +%{gem_instdir}/Rakefile +%{gem_instdir}/ruby_bittorrent.gemspec +%{gem_instdir}/spec +%{gem_instdir}/test + +%changelog +* Wed Apr 20 2022 mockbuilder - 1.0.2-1 +- Initial package @@ -0,0 +1 @@ +81af7788367a3db14ee160a2ee245cfc ruby_bittorrent-1.0.2.gem |