From a86400d01e50f87c39a5ae56a03e0f4aef2c77a5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 15 2023 11:16:33 +0000 Subject: import perl-DateTime-Format-ISO8601-0.08-17.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6fd2dc5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/DateTime-Format-ISO8601-0.08.tar.gz diff --git a/.perl-DateTime-Format-ISO8601.metadata b/.perl-DateTime-Format-ISO8601.metadata new file mode 100644 index 0000000..f6fed4b --- /dev/null +++ b/.perl-DateTime-Format-ISO8601.metadata @@ -0,0 +1 @@ +8ce5223900989394197b5dbae615d1545bb5a4d3 SOURCES/DateTime-Format-ISO8601-0.08.tar.gz diff --git a/SPECS/perl-DateTime-Format-ISO8601.spec b/SPECS/perl-DateTime-Format-ISO8601.spec new file mode 100644 index 0000000..5a934ee --- /dev/null +++ b/SPECS/perl-DateTime-Format-ISO8601.spec @@ -0,0 +1,158 @@ +# Run optional test +%if ! (0%{?rhel}) +%bcond_without perl_DateTime_Format_ISO8601_enables_optional_test +%else +%bcond_with perl_DateTime_Format_ISO8601_enables_optional_test +%endif + +Name: perl-DateTime-Format-ISO8601 +Version: 0.08 +Release: 17%{?dist} +# LICENSE, lib/DateTime/Format/ISO8601.pod -> GPL+ or Artistic +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Parses ISO8601 formats +Url: http://search.cpan.org/dist/DateTime-Format-ISO8601 +Source: http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(Module::Build::Compat) >= 0.02 +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(DateTime) >= 0.18 +BuildRequires: perl(DateTime::Format::Builder) >= 0.77 +BuildRequires: perl(Params::Validate) +# Tests +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +# Optional tests +%if %{with perl_DateTime_Format_ISO8601_enables_optional_test} +BuildRequires: perl(File::Find::Rule) +BuildRequires: perl(Test::Distribution) +BuildRequires: perl(Test::Pod) >= 0.95 +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(DateTime) >= 0.18 +Requires: perl(DateTime::Format::Builder) >= 0.77 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DateTime(::Format::Builder)?\\)$ + +%description +Parses almost all ISO8601 date and time formats. ISO8601 time-intervals +will be supported in a later release. + +%prep +%setup -q -n DateTime-Format-ISO8601-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc README Changes LICENSE Todo +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Thu Jul 19 2018 Jitka Plesnikova - 0.08-17 +- Do not run optional test on RHEL + +* Thu Feb 08 2018 Fedora Release Engineering - 0.08-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.08-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 06 2017 Jitka Plesnikova - 0.08-14 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.08-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon May 16 2016 Jitka Plesnikova - 0.08-12 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.08-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.08-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 0.08-9 +- Perl 5.22 rebuild + +* Mon Sep 01 2014 Jitka Plesnikova - 0.08-8 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.08-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.08-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 31 2013 Petr Pisar - 0.08-5 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.08-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.08-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 21 2012 Petr Pisar - 0.08-2 +- Perl 5.16 rebuild + +* Mon Feb 13 2012 Petr Pisar - 0.08-1 +- 0.08 bump + +* Fri Jan 13 2012 Fedora Release Engineering - 0.07-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 21 2011 Petr Sabata - 0.07-7 +- Perl mass rebuild + +* Thu Jul 21 2011 Petr Sabata - 0.07-6 +- Perl mass rebuild + +* Tue Jul 19 2011 Petr Sabata - 0.07-5 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.07-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 0.07-3 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri Apr 30 2010 Marcela Maslanova - 0.07-2 +- Mass rebuild with perl-5.12.0 + +* Sat Feb 13 2010 Chris Weyl 0.07-1 +- update to 0.07 + +* Sat Feb 13 2010 Chris Weyl 0.06-4 +- PERL_INSTALL_ROOT => DESTDIR +- add perl_default_filter, _subpackage_tests + +* Mon Dec 7 2009 Stepan Kasal - 0.06-3 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.06-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 05 2009 Chris Weyl 0.06-1 +- update for submission + +* Thu Feb 05 2009 Chris Weyl 0.06-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) +