diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-13 16:37:52 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-13 16:37:52 +0000 |
commit | a35167e03934c89fa32610cfeff40efabef2106e (patch) | |
tree | d4e8c4a485e47c623522208baccffb3ee47db36e | |
parent | 1d50faa526f4ac8d1f128fd3e05966df8eb5e8c2 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-hbci4jruby.spec | 76 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 78 insertions, 0 deletions
@@ -0,0 +1 @@ +/hbci4jruby-0.1.1.gem diff --git a/rubygem-hbci4jruby.spec b/rubygem-hbci4jruby.spec new file mode 100644 index 0000000..121fad4 --- /dev/null +++ b/rubygem-hbci4jruby.spec @@ -0,0 +1,76 @@ +# Generated from hbci4jruby-0.1.1.gem by gem2rpm -*- rpm-spec -*- +%global gem_name hbci4jruby + +Name: rubygem-%{gem_name} +Version: 0.1.1 +Release: 1%{?dist} +Summary: HBCI library based on HBCI4Java +License: MIT +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +BuildArch: noarch + +%description +HBCI library based on HBCI4Java. + + +%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}/ + + +mkdir -p %{buildroot}%{_bindir} +cp -a .%{_bindir}/* \ + %{buildroot}%{_bindir}/ + +find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x + +%check +pushd .%{gem_instdir} +# Run the test suite. +popd + +%files +%dir %{gem_instdir} +%{_bindir}/hbci4jruby +%exclude %{gem_instdir}/.gitignore +%{gem_instdir}/.ruby-version +%license %{gem_instdir}/LICENSE.txt +%{gem_instdir}/bin +%{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}/examples +%{gem_instdir}/hbci4jruby.gemspec + +%changelog +* Mon Sep 13 2021 mockbuilder - 0.1.1-1 +- Initial package @@ -0,0 +1 @@ +1b081aa2abb8b0a70dc17dd83522d9e5 hbci4jruby-0.1.1.gem |