foreman-packaging/rubygem-fog-google/rubygem-fog-google.spec @ ff17fabf
79990107 | Dominic Cleal | %{?scl:%scl_package rubygem-%{gem_name}}
|
|
%{!?scl:%global pkg_name %{name}}
|
|||
%global gem_name fog-google
|
|||
Summary: Module for the 'fog' gem to support Google
|
|||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|||
d5d74680 | Dominic Cleal | Version: 0.0.7
|
|
ff17fabf | Dominic Cleal | Release: 2%{?dist}
|
|
79990107 | Dominic Cleal | Group: Development/Ruby
|
|
License: MIT
|
|||
URL: http://github.com/fog/fog-google
|
|||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|||
b319e683 | Dominic Cleal | Requires: %{?scl_prefix_ruby}rubygems
|
|
79990107 | Dominic Cleal | Requires: %{?scl_prefix}rubygem(fog-core)
|
|
Requires: %{?scl_prefix}rubygem(fog-json)
|
|||
Requires: %{?scl_prefix}rubygem(fog-xml)
|
|||
%if 0%{?fedora} > 18
|
|||
b319e683 | Dominic Cleal | Requires: %{?scl_prefix_ruby}ruby(release)
|
|
79990107 | Dominic Cleal | %else
|
|
b319e683 | Dominic Cleal | Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
|
|
79990107 | Dominic Cleal | %endif
|
|
b319e683 | Dominic Cleal | BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
BuildRequires: %{?scl_prefix_ruby}rubygems
|
|||
79990107 | Dominic Cleal | BuildArch: noarch
|
|
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|||
b319e683 | Dominic Cleal | %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
|
|
79990107 | Dominic Cleal | ||
%define gembuilddir %{buildroot}%{gem_dir}
|
|||
%description
|
|||
This library can be used as a module for `fog` or as standalone provider to
|
|||
use the Google in applications.
|
|||
%package doc
|
|||
BuildArch: noarch
|
|||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|||
b319e683 | Dominic Cleal | %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
|
|
79990107 | Dominic Cleal | Summary: Documentation for rubygem-%{gem_name}
|
|
%description doc
|
|||
This package contains documentation for rubygem-%{gem_name}.
|
|||
%prep
|
|||
%setup -n %{pkg_name}-%{version} -T -c
|
|||
%build
|
|||
%install
|
|||
mkdir -p %{gembuilddir}
|
|||
%{?scl:scl enable %{scl} "}
|
|||
gem install --local --install-dir %{gembuilddir} --force %{SOURCE0} --no-rdoc --no-ri
|
|||
%{?scl:"}
|
|||
%files
|
|||
%dir %{gem_instdir}
|
|||
%{gem_instdir}/lib
|
|||
%exclude %{gem_cache}
|
|||
%{gem_spec}
|
|||
%{gem_instdir}/LICENSE.md
|
|||
%exclude %{gem_instdir}/.*
|
|||
%files doc
|
|||
%{gem_instdir}/CONTRIBUTING.md
|
|||
%{gem_instdir}/CONTRIBUTORS.md
|
|||
%{gem_instdir}/README.md
|
|||
%{gem_instdir}/examples
|
|||
d5d74680 | Dominic Cleal | %{gem_instdir}/test
|
|
79990107 | Dominic Cleal | %{gem_instdir}/tests
|
|
%{gem_instdir}/gemfiles
|
|||
%{gem_instdir}/Gemfile*
|
|||
%{gem_instdir}/Rakefile
|
|||
%exclude %{gem_instdir}/%{gem_name}.gemspec
|
|||
%changelog
|
|||
ff17fabf | Dominic Cleal | * Tue Aug 25 2015 Dominic Cleal <dcleal@redhat.com> 0.0.7-2
|
|
- Converted to tfm SCL (dcleal@redhat.com)
|
|||
d0fc3572 | Dominic Cleal | * Tue Jul 07 2015 Dominic Cleal <dcleal@redhat.com> 0.0.7-1
|
|
- Update fog-google to 0.0.7 (dcleal@redhat.com)
|
|||
e00f9fcd | Dominic Cleal | * Mon May 11 2015 Dominic Cleal <dcleal@redhat.com> 0.0.5-1
|
|
- new package built with tito
|