perl-TimeDate/perl-TimeDate.spec

247 lines
8.5 KiB
RPMSpec
Raw Normal View History

Name: perl-TimeDate
2020-05-20 06:59:10 +00:00
Version: 2.33
Epoch: 1
2021-05-21 10:13:22 +00:00
Release: 5%{?dist}
Summary: A Perl module for time and date manipulation
2008-07-11 20:16:07 +00:00
License: GPL+ or Artistic
URL: https://metacpan.org/release/TimeDate
2020-01-17 09:18:41 +00:00
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/TimeDate-%{version}.tar.gz
BuildArch: noarch
2020-01-06 12:03:45 +00:00
BuildRequires: coreutils
# glibc-common for iconv tool
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-generators
2020-01-06 12:03:45 +00:00
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.4
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
2013-02-19 11:28:16 +00:00
BuildRequires: perl(base)
2012-08-16 10:40:26 +00:00
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Time::Local)
2013-02-19 11:28:16 +00:00
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
2020-01-06 12:03:45 +00:00
# Tests:
BuildRequires: perl(Test::More)
2012-08-16 10:40:26 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module includes a number of smaller modules suited for
manipulation of time and date strings with Perl. In particular, the
Date::Format and Date::Parse modules can display and read times and
dates in various formats, providing a more reliable interface to
textual representations of points in time.
%prep
2007-06-28 15:07:40 +00:00
%setup -q -n TimeDate-%{version}
# ChangeLog is ISO-8859-1 encoded
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
mv ChangeLog.utf8 ChangeLog
# Bogus exec permissions on some language modules
chmod -x lib/Date/Language/{Russian_cp1251,Russian_koi8r,Turkish}.pm
%build
2020-01-06 12:03:45 +00:00
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
2020-01-06 12:03:45 +00:00
%{make_install}
2007-06-28 15:07:40 +00:00
%{_fixperms} $RPM_BUILD_ROOT/*
2007-06-28 15:07:40 +00:00
%check
make test
%files
%doc README ChangeLog
%{perl_vendorlib}/Date/
%{perl_vendorlib}/Time/
2020-01-17 09:18:41 +00:00
%{perl_vendorlib}/TimeDate.pm
%{_mandir}/man3/*.3*
%changelog
2021-05-21 10:13:22 +00:00
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.33-5
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.33-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.33-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-22 15:49:50 +00:00
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.33-2
- Perl 5.32 rebuild
2020-05-20 06:59:10 +00:00
* Wed May 20 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.33-1
- 2.33 bump
2020-03-05 11:31:51 +00:00
* Thu Mar 05 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.32-1
- 2.32 bump
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-17 09:18:41 +00:00
* Fri Jan 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.31-1
- 2.31 bump
* Mon Jan 06 2020 Petr Pisar <ppisar@redhat.com> - 1:2.30-19
- Adjust tests to pass 4-digit years to Time::Local (CPAN RT#124509)
2020-01-06 12:03:45 +00:00
- Modernize a spec file
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-05-30 11:25:19 +00:00
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-17
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-27 19:58:05 +00:00
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-14
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-04 05:22:12 +00:00
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-11
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-05-15 00:37:50 +00:00
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-9
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-03 16:33:00 +00:00
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-6
- Perl 5.22 rebuild
2014-08-27 10:44:49 +00:00
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-5
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-17 20:59:34 +00:00
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:2.30-2
- Perl 5.18 rebuild
2013-02-19 11:28:16 +00:00
* Tue Feb 19 2013 Petr Šabata <contyk@redhat.com> - 1:2.30-1
- 2.30 bump
- Fix the buildtime dependencies
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.20-10
- Remove perl(base) from BR
- Package README and ChangeLog
- Replace PERL_INSTALL_ROOT with DESTDIR
- Remove deleting empty directories
2012-08-16 10:40:26 +00:00
* Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.20-9
- Specify all dependencies.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-11 10:08:23 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:1.20-7
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-20 09:53:45 +00:00
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 1:1.20-5
- Perl mass rebuild
- Buildroot and defattr cleanup
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.20-3
- 661697 rebuild for fixing problems with vendorach/lib
2010-05-07 05:26:35 +00:00
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.20-2
- Mass rebuild with perl-5.12.0
* Wed Dec 23 2009 Paul Howarth <paul@city-fan.org> - 1:1.20-1
- update to 1.20
- recode documentation as UTF-8
- fix bogus exec permissions to placate rpmlint
2009-12-04 02:34:16 +00:00
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.16-12
- rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.16-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.16-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-07-11 20:16:07 +00:00
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.16-9
- fix license tag
2008-02-28 13:05:27 +00:00
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.16-8
- Rebuild for perl 5.10 (again)
2008-01-20 16:27:56 +00:00
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:1.16-7
- rebuild for new perl
2007-06-28 18:38:57 +00:00
* Thu Jun 28 2007 Robin Norwood <rnorwood@redhat.com> 1:1.16-6
- Bump release to outpace RHEL5
- Add dist tag to release field
2007-06-28 15:07:40 +00:00
* Tue Mar 20 2007 Steven Pritchard <steve@kspei.com> 1:1.16-4
- Fix find option order.
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.
- Remove check macro cruft.
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.16-3.2.1
2006-07-12 07:47:34 +00:00
- rebuild
2006-02-03 21:17:57 +00:00
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1:1.16-3.2
- rebuild for new perl-5.8.8
2005-12-17 02:15:09 +00:00
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcc
2005-12-16 23:24:03 +00:00
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcj
* Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.16-3
- Bring up to date with current Fedora.Extras perl spec template. (#155914)
2005-03-31 09:28:45 +00:00
2004-09-22 14:21:35 +00:00
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1:1.16-2
- rebuild
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1:1.16-1
- update to 1.16, bump epoch since previous version was 1.1301
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
- update to 1.301
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Oct 24 2001 root <root@redhat.com>
- Spec file was autogenerated.