|
%{?scl:%scl_package rubygem-%{gem_name}}
|
|
%{!?scl:%global pkg_name %{name}}
|
|
|
|
%global gem_name fog-rackspace
|
|
|
|
Summary: Module for the 'fog' gem to support Rackspace
|
|
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|
|
|
Version: 0.1.4
|
|
Release: 4%{?dist}
|
|
Group: Development/Ruby
|
|
License: MIT
|
|
URL: https://github.com/fog/fog-rackspace
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
Requires: %{?scl_prefix_ruby}rubygems
|
|
Requires: %{?scl_prefix}rubygem(fog-core) >= 1.35
|
|
Requires: %{?scl_prefix}rubygem(fog-json) >= 1.0
|
|
Requires: %{?scl_prefix}rubygem(fog-xml) >= 0.1
|
|
Requires: %{?scl_prefix}rubygem(ipaddress) >= 0.8
|
|
Requires: %{?scl_prefix_ruby}ruby(release)
|
|
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
BuildRequires: %{?scl_prefix_ruby}rubygems
|
|
BuildArch: noarch
|
|
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|
|
|
%define gembuilddir %{buildroot}%{gem_dir}
|
|
|
|
%description
|
|
Rackspace provider gem for Fog.
|
|
|
|
%package doc
|
|
BuildArch: noarch
|
|
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|
Summary: Documentation for rubygem-%{gem_name}
|
|
|
|
%description doc
|
|
This package contains documentation for rubygem-%{gem_name}.
|
|
|
|
%prep
|
|
%setup -n %{pkg_name}-%{version} -T -c
|
|
%{?scl:scl enable %{scl} - <<EOF}
|
|
%gem_install -n %{SOURCE0}
|
|
%{?scl:EOF}
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
cp -a .%{gem_dir}/* \
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
%files
|
|
%dir %{gem_instdir}
|
|
%{gem_instdir}/lib
|
|
%exclude %{gem_cache}
|
|
%{gem_spec}
|
|
%doc %{gem_instdir}/LICENSE.md
|
|
|
|
%files doc
|
|
%doc %{gem_docdir}
|
|
%doc %{gem_instdir}/CODE_OF_CONDUCT.md
|
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
%doc %{gem_instdir}/CONTRIBUTORS.md
|
|
%doc %{gem_instdir}/README.md
|
|
%{gem_instdir}/tests
|
|
%{gem_instdir}/Gemfile*
|
|
%{gem_instdir}/Rakefile
|
|
%exclude %{gem_instdir}/.*
|
|
%exclude %{gem_instdir}/circle.yml
|
|
%exclude %{gem_instdir}/bin
|
|
%exclude %{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
%changelog
|
|
* Wed Apr 08 2020 Zach Huntington-Meath <zhunting@redhat.com> - 0.1.4-4
|
|
- Bump to release for EL8
|
|
|
|
* Wed Sep 05 2018 Eric D. Helms <ericdhelms@gmail.com> - 0.1.4-3
|
|
- Rebuild for Rails 5.2 and Ruby 2.5
|
|
|
|
* Fri Jan 05 2018 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> 0.1.4-2
|
|
- More rebuilds for Rails 5.1 (ericdhelms@gmail.com)
|
|
- Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl)
|
|
|
|
* Tue Jan 17 2017 Dominic Cleal <dominic@cleal.org> 0.1.4-1
|
|
- Update fog-rackspace to 0.1.4 (dominic@cleal.org)
|
|
|
|
* Thu Mar 31 2016 Dominic Cleal <dominic@cleal.org> 0.1.1-1
|
|
- new package built with tito
|
|
|