|
|
@ -4,20 +4,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: A natural language date parser
|
|
|
|
Summary: A natural language date parser
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.9.1
|
|
|
|
Version: 0.10.2
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://chronic.rubyforge.org/
|
|
|
|
URL: http://github.com/mojombo/chronic
|
|
|
|
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
|
|
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygem(minitest)
|
|
|
|
BuildRequires: rubygem(minitest) > 5
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
Chronic is a natural language date/time parser written in pure Ruby.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Summary: Documentation for %{name}
|
|
|
@ -25,22 +26,22 @@ Group: Documentation
|
|
|
|
Requires:%{name} = %{version}-%{release}
|
|
|
|
Requires:%{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
Chronic is a natural language date/time parser written in pure Ruby.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q -c -T
|
|
|
|
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%gem_install -n %{SOURCE0} -d %{buildroot}%{gem_dir}
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd %{buildroot}%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
testrb -Ilib test
|
|
|
|
ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -54,13 +55,16 @@ popd
|
|
|
|
%{gem_spec}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%{gem_docdir}
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%{gem_instdir}/HISTORY.md
|
|
|
|
%doc %{gem_instdir}/HISTORY.md
|
|
|
|
%{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%{gem_instdir}/test
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jul 15 2014 Vít Ondruch <vondruch@redhat.com> - 0.10.2-1
|
|
|
|
|
|
|
|
- Update to Chronic 0.10.2.
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|