-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/plugins/rubygem-fog-opennebula/fog-opennebula-0.0.5.gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../.git/annex/objects/jv/vz/SHA256E-s20480--6bc27627b24cb074d4197d374e635c2645b349a46bd5e08d0bbb0b50f520532e.5.gem/SHA256E-s20480--6bc27627b24cb074d4197d374e635c2645b349a46bd5e08d0bbb0b50f520532e.5.gem |
69 changes: 69 additions & 0 deletions
69
packages/plugins/rubygem-fog-opennebula/rubygem-fog-opennebula.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# template: default | ||
%global gem_name fog-opennebula | ||
|
||
Name: rubygem-%{gem_name} | ||
Version: 0.0.5 | ||
Release: 1%{?dist} | ||
Summary: Module for the fog gem to support OpenNebula | ||
License: MIT | ||
URL: https://github.com/fog/fog-opennebula | ||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem | ||
|
||
# start specfile generated dependencies | ||
Requires: ruby >= 2.7.0 | ||
BuildRequires: ruby >= 2.7.0 | ||
BuildRequires: rubygems-devel | ||
BuildArch: noarch | ||
# end specfile generated dependencies | ||
|
||
%description | ||
This library can be used as a module for fog or as standalone provider. | ||
|
||
|
||
%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}/ | ||
|
||
%files | ||
%dir %{gem_instdir} | ||
%{gem_instdir}/.directory | ||
%exclude %{gem_instdir}/.github | ||
%exclude %{gem_instdir}/.gitignore | ||
%license %{gem_instdir}/LICENSE.md | ||
%{gem_libdir} | ||
%exclude %{gem_cache} | ||
%{gem_spec} | ||
|
||
%files doc | ||
%doc %{gem_docdir} | ||
%doc %{gem_instdir}/CONTRIBUTORS.md | ||
%{gem_instdir}/Gemfile | ||
%doc %{gem_instdir}/README.md | ||
%{gem_instdir}/Rakefile | ||
%exclude %{gem_instdir}/fog-opennebula.gemspec | ||
%{gem_instdir}/tests | ||
|
||
%changelog | ||
* Mon Aug 19 2024 root 0.0.5-1 | ||
- Add rubygem-fog-opennebula generated by gem2rpm using the default template | ||
|