You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.2 KiB
89 lines
2.2 KiB
# Generated from chronic-0.2.3.gem by gem2rpm -*- rpm-spec -*-
|
|
|
|
%global gem_name chronic
|
|
|
|
Summary: A natural language date parser
|
|
Name: rubygem-%{gem_name}
|
|
Version: 0.6.6
|
|
Release: 2%{?dist}
|
|
Group: Development/Languages
|
|
License: MIT
|
|
URL: http://chronic.rubyforge.org/
|
|
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Requires: ruby(abi) = 1.9.1
|
|
Requires: ruby(rubygems)
|
|
BuildRequires: ruby
|
|
BuildRequires: rubygems-devel
|
|
BuildRequires: rubygem(minitest)
|
|
BuildArch: noarch
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
%package doc
|
|
Summary: Documentation for %{name}
|
|
Group: Documentation
|
|
Requires:%{name} = %{version}-%{release}
|
|
|
|
%description doc
|
|
Documentation for %{name}
|
|
|
|
%description
|
|
Chronic is a natural language date/time parser written in pure Ruby.
|
|
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
gem install --local --install-dir %{buildroot}%{gem_dir} \
|
|
--force --rdoc %{SOURCE0}
|
|
|
|
%check
|
|
pushd %{buildroot}%{gem_instdir}
|
|
testrb -Ilib test
|
|
popd
|
|
|
|
|
|
%files
|
|
%exclude %{gem_instdir}/.gemtest
|
|
%exclude %{gem_instdir}/.gitignore
|
|
%exclude %{gem_instdir}/.yardopts
|
|
%exclude %{gem_instdir}/%{gem_name}.gemspec
|
|
%dir %{gem_instdir}
|
|
%{gem_libdir}
|
|
%doc %{gem_instdir}/LICENSE
|
|
%{gem_cache}
|
|
%{gem_spec}
|
|
|
|
%files doc
|
|
%{gem_docdir}
|
|
%{gem_instdir}/HISTORY.md
|
|
%{gem_instdir}/README.md
|
|
%{gem_instdir}/Rakefile
|
|
%{gem_instdir}/test
|
|
|
|
%changelog
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Tue Jan 31 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.6-1
|
|
- Rebuilt for Ruby 1.9.3.
|
|
- Update to Chronic 0.6.6.
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Jun 29 2010 Shreyank Gupta <sgupta@redhat.com> - 0.2.3-2
|
|
- Added BR: rubygem(rake) and rubygem(hoe)
|
|
- Removed R: rubygem(hoe)
|
|
- Removed hoe depedency from specfile
|
|
|
|
* Fri Jun 18 2010 Shreyank Gupta <sgupta@redhat.com> - 0.2.3-1
|
|
- Initial package
|