diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-08-23 19:16:36 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-08-23 19:16:36 +0000 |
commit | cf842a7f394db6fc006e16182d31a605c4fb7e71 (patch) | |
tree | ae9c6ff67419eee38faf8c95829905885e660b26 | |
parent | 014d53b8f4bd29df9dc13947089e002763d83153 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-funbit.spec | 67 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 69 insertions, 0 deletions
@@ -0,0 +1 @@ +/funbit-0.1.0.gem diff --git a/rubygem-funbit.spec b/rubygem-funbit.spec new file mode 100644 index 0000000..5bd503d --- /dev/null +++ b/rubygem-funbit.spec @@ -0,0 +1,67 @@ +# Generated from funbit-0.1.0.gem by gem2rpm -*- rpm-spec -*- +%global gem_name funbit + +Name: rubygem-%{gem_name} +Version: 0.1.0 +Release: 1%{?dist} +Summary: Barebone start for theme FUNBIT +License: MIT +URL: https://github.com/AlexFUNBIT/funbit +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +BuildArch: noarch + +%description +Barebone start for theme FUNBIT. + + +%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} +%license %{gem_instdir}/LICENSE.txt +%{gem_instdir}/_includes +%{gem_instdir}/_layouts +%{gem_instdir}/_sass +%{gem_instdir}/assets +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.md + +%changelog +* Mon Aug 23 2021 mockbuilder - 0.1.0-1 +- Initial package @@ -0,0 +1 @@ +1989446613ec7d0dcd031c01ecf1f8a0 funbit-0.1.0.gem |