Sha256: 1aa5259bd3d52eeac3d55745b3142eb18e8e34b9f14195ce4f1ddb680b20fbae

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

# Generated from vagrant-registration-0.0.11.gem by gem2rpm -*- rpm-spec -*-
%global gem_name vagrant-registration

Name: rubygem-%{gem_name}
Version: 0.0.11
Release: 1%{?dist}
Summary: Enables guests to have a registration capability
Group: Development/Languages
License: GPL-2.0
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel >= 1.3.6
BuildRequires: ruby 
# BuildRequires: rubygem(yard) 
BuildArch: noarch
###$$$$$$$$$$$$$$$$$
Requires: ruby(rubygems) >= 1.3.6

BuildRequires: ruby
BuildRequires: rubygems-devel >= 1.3.6
# BuildRequires: rubygem(yard)
###$$$$$$$$$$$$$$$$$

%description
Enables guests to have a registration capability, this is expecially useful on
RHEL or SLES.


%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}/




# Run the test suite
%check
pushd .%{gem_instdir}

popd

%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.gitignore
%license %{gem_instdir}/LICENSE.md
%{gem_instdir}/dummy.box
%{gem_libdir}
%{gem_instdir}/plugins
%exclude %{gem_cache}
%{gem_spec}

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%{gem_instdir}/Vagrantfile
%doc %{gem_instdir}/doc
%{gem_instdir}/tests
%{gem_instdir}/vagrant-registration.gemspec

%changelog
* Mon Apr 27 2015 Josef Stribny <jstribny@redhat.com> - 0.0.11-1
- Initial package

Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
vagrant-registration-0.0.18 vagrant-registration-0.0.17/vagrant-registration.spec
vagrant-registration-0.0.18 vagrant-registration.spec
vagrant-registration-0.0.17 vagrant-registration.spec
vagrant-registration-0.0.12 vagrant-registration.spec