|
|
|
Name: perl-Time-Duration-Parse
|
|
|
|
Version: 0.15
|
|
|
|
Release: 3%{?dist}
|
|
|
|
# see lib/Time/Duration/Parse.pm
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Summary: Parse string that represents time duration
|
|
|
|
Source: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-Parse-%{version}.tar.gz
|
|
|
|
Url: https://metacpan.org/release/Time-Duration-Parse
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter::Lite)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# optional tests
|
|
|
|
BuildRequires: perl(Time::Duration)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Time::Duration::Parse is a module to parse human readable duration strings
|
|
|
|
like "2 minutes and 3 seconds" to seconds. It does the opposite of
|
|
|
|
duration_exact() in Time::Duration and is roundtrip safe.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Time-Duration-Parse-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-2
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
* Wed May 22 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.15-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 11 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.14-1
|
|
|
|
- Upstream update.
|
|
|
|
- Spec cleanup.
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-9
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-6
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-4
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.13-2
|
|
|
|
- Add %%license.
|
|
|
|
- Modernize spec.
|
|
|
|
|
|
|
|
* Mon Nov 02 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.13-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Thu Jul 09 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.12-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-5
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-4
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Thu Jul 10 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.11-3
|
|
|
|
- Correct %%description from cpan2dist
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Mar 31 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.11-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Tue Mar 25 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.10-1
|
|
|
|
- Upstream update.
|
|
|
|
- Modernize spec.
|
|
|
|
- Reflect upstream Source0: having changed.
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.06-9
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-7
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-6
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.06-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jan 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
|
|
|
|
- brush-up for review
|
|
|
|
|
|
|
|
* Sat Oct 11 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.06-0.1
|
|
|
|
- initial RPM packaging
|
|
|
|
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.1)
|
|
|
|
|