Sha256: 479d10028040b553951b09b04617cb58bb21e7c4c8237f4f859b03d7c4d4331e

Contents?: true

Size: 839 Bytes

Versions: 2

Compression:

Stored size: 839 Bytes

Contents

%define gemdir /usr/lib/vagrant-cosmic/gems
Name:	 vagrant-cosmic
Version:	%{gemver}
Release:	3%{?dist}
Summary:	vagrant cosmic plugin

License:	MIT
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Source0:        vagrant-cosmic-%{version}.tar.gz
BuildRequires:  rubygems 
Requires:	vagrant >= 1.2.0 libxml2-devel libxslt-devel libffi-devel ruby-devel

%description
vagrant cosmic


%prep
%setup -q

%build
env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 bundle package
env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 gem build vagrant-cosmic.gemspec


%install
mkdir -p %{buildroot}/%{gemdir}
cp vagrant-cosmic-%{version}.gem %{buildroot}/%{gemdir}
cp vendor/cache/*.gem %{buildroot}/%{gemdir}


%clean
rm -rf %{buildroot}


%post
cd %{gemdir}
gem install --local fog --no-rdoc --no-ri

%files
%defattr(-,root,root,-)
%{gemdir}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-cosmic-0.2.0 vagrant-cosmic.spec
vagrant-cosmic-0.1.0 vagrant-cosmic.spec