diff options
author | Copr dist git <copr-devel@lists.fedorahosted.org> | 2016-02-03 16:38:47 +0000 |
---|---|---|
committer | Copr dist git <copr-devel@lists.fedorahosted.org> | 2016-02-03 16:38:47 +0000 |
commit | 71796308e1c98aa581dece572aed0caf07153f56 (patch) | |
tree | f9c23b5ee4c7d04f1d421d1d85eb08a230379e41 | |
parent | e14867d2184c0f9c8a528fc7d5098545d3f3593e (diff) |
import_srpmf23
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-hiera-eyaml.spec | 90 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 92 insertions, 0 deletions
@@ -0,0 +1 @@ +/hiera-eyaml-2.0.8.gem diff --git a/rubygem-hiera-eyaml.spec b/rubygem-hiera-eyaml.spec new file mode 100644 index 0000000..b68c173 --- /dev/null +++ b/rubygem-hiera-eyaml.spec @@ -0,0 +1,90 @@ +# Generated from hiera-eyaml-2.0.6.gem by gem2rpm -*- rpm-spec -*- +%global gem_name hiera-eyaml + +Name: rubygem-%{gem_name} +Version: 2.0.8 +Release: 1%{?dist} +Summary: OpenSSL Encryption backend for Hiera +Group: Development/Languages +License: MIT +URL: http://github.com/TomPoulton/hiera-eyaml +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: rubygems-devel + +Requires: ruby(rubygems) +Requires: rubygem(highline) +Requires: rubygem(trollop) + +%if (0%{?fedora} > 15 || 0%{?rhel} >= 7) +BuildRequires: ruby(release) >= 1.8 +Requires: ruby(release) >= 1.8 +%else +BuildRequires: ruby(abi) >= 1.8 +Requires: ruby(abi) >= 1.8 +%endif + +%description +Hiera backend for decrypting encrypted yaml properties. + +%package doc +Summary: Documentation for %{name} +Group: Documentation +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +gem unpack %{SOURCE0} + +%setup -q -D -T -n %{gem_name}-%{version} + +gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec + +%build +# Create the gem as gem install only works on a gem file +gem build %{gem_name}.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}/ + +# If there were programs installed: +mkdir -p %{buildroot}%{_bindir} +cp -a ./%{_bindir}/* %{buildroot}%{_bindir} + +%files +%dir %{gem_instdir} +%{_bindir}/eyaml +%{gem_instdir}/lib +%{gem_instdir}/bin +%{gem_spec} +%{gem_instdir}/sublime_text/eyaml.syntax_definition.json +%{gem_instdir}/sublime_text/eyaml.sublime-package +%{gem_instdir}/tools/regem.sh +%exclude %{gem_cache} + +%files doc +%defattr(-, root, root, -) +%{gem_instdir}/Rakefile +%{gem_instdir}/CHANGES.md +%{gem_instdir}/LICENSE.txt +%{gem_instdir}/PLUGINS.md +%{gem_instdir}/README.md +%{gem_instdir}/sublime_text/README.md +%{gem_instdir}/Gemfile* +%{gem_spec} +%{gem_instdir}/ +%{gem_docdir}/* + +%changelog +* Wed Jun 03 2015 Clint Savage <herlo@linuxfoundation.org> - 2.0.8-1 +- Initial package @@ -0,0 +1 @@ +6f718a1d9845b4c0e5a887b951b22f5e hiera-eyaml-2.0.8.gem |