|
|
|
# Generated from tzinfo-0.3.26.gem by gem2rpm -*- rpm-spec -*-
|
|
|
|
%global gem_name tzinfo
|
|
|
|
|
|
|
|
%global download_path http://rubygems.org/downloads/
|
|
|
|
%global rubyabi 1.9.1
|
|
|
|
|
|
|
|
Summary: Daylight-savings aware timezone library
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.3.30
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT
|
|
|
|
URL: http://tzinfo.rubyforge.org/
|
|
|
|
Source0: %{download_path}%{gem_name}-%{version}.gem
|
|
|
|
Requires: ruby(abi) = %{rubyabi}
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
Requires: ruby
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby(abi) = %{rubyabi}
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: rubygem(minitest)
|
|
|
|
BuildArch: noarch
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
TZInfo is a Ruby library that uses the standard tz (Olson) database to provide
|
|
|
|
daylight savings aware transformations between times in different time zones.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -T
|
|
|
|
mkdir -p .%{gem_dir}
|
|
|
|
gem install --local --install-dir .%{gem_dir} \
|
|
|
|
--force %{SOURCE0}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
testrb test/ts_all.rb
|
|
|
|
popd
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%doc %{gem_instdir}/LICENSE
|
|
|
|
%{gem_libdir}
|
|
|
|
%{gem_cache}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc %{gem_instdir}/CHANGES
|
|
|
|
%doc %{gem_instdir}/README
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%{gem_docdir}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.30-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.3.30-3
|
|
|
|
- Rebuilt for Ruby 1.9.3.
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.30-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Oct 06 2011 Vít Ondruch <vondruch@redhat.com> - 0.3.30-1
|
|
|
|
- Update to tzinfo 0.3.30.
|
|
|
|
|
|
|
|
* Sun Apr 10 2011 <Minnikhanov@gmail.com> - 0.3.26-1
|
|
|
|
- Updated mail to latest upstream release (v.0.3.26 2011-04-01)
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.24-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 25 2011 <Minnikhanov@gmail.com> - 0.3.24-2
|
|
|
|
- Fix Comment 3 #668098. https://bugzilla.redhat.com/show_bug.cgi?id=668098#c3
|
|
|
|
|
|
|
|
* Tue Jan 18 2011 <Minnikhanov@gmail.com> - 0.3.24-1
|
|
|
|
- Updated mail to latest upstream release
|
|
|
|
|
|
|
|
* Sat Jan 08 2011 <Minnikhanov@gmail.com> - 0.3.23-1
|
|
|
|
- Initial package
|
|
|
|
|