%global pkgname DateTime-Format-Excel Summary: Convert between DateTime and Excel dates Name: perl-DateTime-Format-Excel Epoch: 1 Version: 0.31 Release: 40%{?dist} # lib/DateTime/Format/Excel.pm -> GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/%{pkgname} Source: https://cpan.metacpan.org/authors/id/A/AB/ABURS/%{pkgname}-%{version}.tar.gz Patch0: perl-DateTime-Format-Excel-0.31-versioning.patch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: sed # Run-time BuildRequires: perl(Carp) BuildRequires: perl(DateTime) >= 0.18 BuildRequires: perl(strict) BuildRequires: perl(vars) # Tests BuildRequires: perl(Test::More) >= 0.47 # Optional tests BuildRequires: perl(Test::Pod) >= 0.95 BuildArch: noarch %description Excel uses a different system for its dates than most Unix programs. This module allows to convert between a few of the Excel raw formats and DateTime objects, which can then be further converted via any of the other DateTime::Format::* modules, or with DateTime's methods. %prep %setup -q -n %{pkgname}-%{version} %patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* # Remove any non-unix line breaks sed -e 's/\r//g' Changes > Changes.new touch -c -r Changes Changes.new mv -f Changes.new Changes %check make test %files %license Artistic COPYING %doc Changes README %{perl_vendorlib}/DateTime/ %{_mandir}/man3/*.3pm* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 1:0.31-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1:0.31-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1:0.31-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1:0.31-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1:0.31-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1:0.31-35 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1:0.31-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1:0.31-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1:0.31-32 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1:0.31-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1:0.31-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1:0.31-29 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1:0.31-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1:0.31-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1:0.31-26 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1:0.31-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1:0.31-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1:0.31-23 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1:0.31-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1:0.31-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 1:0.31-20 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1:0.31-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1:0.31-18 - Perl 5.24 rebuild * Tue Feb 09 2016 Jitka Plesnikova - 1:0.31-17 - Fixed rpmlint warnings * Tue Feb 09 2016 Jitka Plesnikova - 1:0.31-16 - Package cleanup * Thu Feb 04 2016 Fedora Release Engineering - 1:0.31-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1:0.31-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1:0.31-13 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 1:0.31-12 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1:0.31-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1:0.31-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 31 2013 Petr Pisar - 1:0.31-9 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1:0.31-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1:0.31-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 20 2012 Petr Pisar - 1:0.31-6 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1:0.31-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 21 2011 Petr Sabata - 1:0.31-4 - Perl mass rebuild * Tue Jul 19 2011 Petr Sabata - 1:0.31-3 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1:0.31-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 02 2011 Robert Scheck 1:0.31-1 - Upgrade to 0.31 * Thu Dec 16 2010 Marcela Maslanova - 0.2901-6 - rebuild for fixing problems with vendorach/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova - 0.2901-5 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.2901-4 - rebuild against perl 5.10.1 * Fri Jul 24 2009 Robert Scheck 0.2901-3 - Fixed broken upstream build requirement for perl(DateTime), as per RPM versioning 0.1705 > 0.50, but 0.50 is newer than 0.1705 * Thu Feb 26 2009 Fedora Release Engineering - 0.2901-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 07 2009 Chris Weyl 0.2901-1 - prep for submission * Thu Feb 05 2009 Chris Weyl 0.2901-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)