Blame SPECS/rubygem-tzinfo.spec

732e4a
%{!?scl:%global pkg_name %{name}}
732e4a
%{?scl:%scl_package rubygem-%{gem_name}}
732e4a
732e4a
# Generated from tzinfo-0.3.26.gem by gem2rpm -*- rpm-spec -*-
732e4a
%global gem_name tzinfo
732e4a
732e4a
%global download_path http://rubygems.org/downloads/
732e4a
732e4a
Summary: Daylight-savings aware timezone library
732e4a
Name: %{?scl_prefix}rubygem-%{gem_name}
732e4a
Version: 1.2.2
732e4a
Release: 1%{?dist}
732e4a
Group: Development/Languages
732e4a
License: MIT
732e4a
URL: http://tzinfo.github.io/
732e4a
Source0: %{download_path}%{gem_name}-%{version}.gem
732e4a
Requires: %{?scl_prefix_ruby}ruby(release)
732e4a
Requires: %{?scl_prefix_ruby}ruby(rubygems)
732e4a
Requires: %{?scl_prefix_ruby}ruby
732e4a
Requires: %{?scl_prefix}rubygem(thread_safe)
732e4a
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
732e4a
BuildRequires: %{?scl_prefix_ruby}ruby(release)
732e4a
BuildRequires: %{?scl_prefix_ruby}ruby
732e4a
BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
732e4a
BuildRequires: %{?scl_prefix}rubygem(thread_safe)
732e4a
BuildArch: noarch
732e4a
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
732e4a
732e4a
%description
732e4a
TZInfo is a Ruby library that uses the standard tz (Olson) database to provide
732e4a
daylight savings aware transformations between times in different time zones.
732e4a
732e4a
%package doc
732e4a
Summary: Documentation for %{pkg_name}
732e4a
Group: Documentation
732e4a
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
732e4a
BuildArch: noarch
732e4a
732e4a
%description doc
732e4a
This package contains documentation for %{pkg_name}.
732e4a
732e4a
%prep
732e4a
%setup -q -c -T
732e4a
%{?scl:scl enable %{scl} - << \EOF}
732e4a
%gem_install -n %{SOURCE0}
732e4a
%{?scl:EOF}
732e4a
732e4a
%build
732e4a
732e4a
%install
732e4a
mkdir -p %{buildroot}%{gem_dir}
732e4a
cp -a .%{gem_dir}/* \
732e4a
        %{buildroot}%{gem_dir}/
732e4a
732e4a
%check
732e4a
pushd .%{gem_instdir}
732e4a
%{?scl:scl enable %{scl} - << \EOF}
732e4a
ruby -Ilib:test -rminitest/autorun -e 'Dir.glob "./test/ts_all.rb", &method(:require)'
732e4a
%{?scl:EOF}
732e4a
popd
732e4a
732e4a
%files
732e4a
%dir %{gem_instdir}
732e4a
%doc %{gem_instdir}/LICENSE
732e4a
%{gem_libdir}
732e4a
%exclude %{gem_cache}
732e4a
%exclude %{gem_instdir}/.yardopts
732e4a
%{gem_spec}
732e4a
732e4a
%files doc
732e4a
%doc %{gem_instdir}/CHANGES.md
732e4a
%doc %{gem_instdir}/README.md
732e4a
%{gem_instdir}/Rakefile
732e4a
%{gem_instdir}/test
732e4a
%{gem_instdir}/%{gem_name}.gemspec
732e4a
%{gem_docdir}
732e4a
732e4a
%changelog
732e4a
* Fri Jan 16 2015 Josef Stribny <jstribny@redhat.com> - 1.2.2-1
732e4a
- Update to 1.2.2
732e4a
732e4a
* Fri Mar 21 2014 Vít Ondruch <vondruch@redhat.com> - 0.3.37-2
732e4a
- Rebuid against new scl-utils to depend on -runtime package.
732e4a
  Resolves: rhbz#1069109
732e4a
732e4a
* Wed Jun 12 2013 Josef Stribny <jstribny@redhat.com> - 0.3.37-1
732e4a
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
732e4a
- Update to 0.3.37
732e4a
732e4a
* Tue Jul 31 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.3.33-2
732e4a
- Exclude the cached gem.
732e4a
732e4a
* Wed Jul 25 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.3.33-1
732e4a
- Update to Tzinfo 0.3.33.
732e4a
- Specfile cleanup
732e4a
732e4a
* Mon Apr 02 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.3.32-1
732e4a
- Rebuilt for scl.
732e4a
- Updated to 0.3.32
732e4a
732e4a
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.3.30-3
732e4a
- Rebuilt for Ruby 1.9.3.
732e4a
732e4a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.30-2
732e4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
732e4a
732e4a
* Thu Oct 06 2011 Vít Ondruch <vondruch@redhat.com> - 0.3.30-1
732e4a
- Update to tzinfo 0.3.30.
732e4a
732e4a
* Sun Apr 10 2011  <Minnikhanov@gmail.com> - 0.3.26-1
732e4a
- Updated mail to latest upstream release (v.0.3.26 2011-04-01)
732e4a
732e4a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.24-3
732e4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
732e4a
732e4a
* Tue Jan 25 2011  <Minnikhanov@gmail.com> - 0.3.24-2
732e4a
- Fix Comment 3 #668098. https://bugzilla.redhat.com/show_bug.cgi?id=668098#c3 
732e4a
732e4a
* Tue Jan 18 2011  <Minnikhanov@gmail.com> - 0.3.24-1
732e4a
- Updated mail to latest upstream release
732e4a
732e4a
* Sat Jan 08 2011  <Minnikhanov@gmail.com> - 0.3.23-1
732e4a
- Initial package
732e4a