a53b77
Name:           perl-TimeDate
a53b77
Version:        2.30
a53b77
Epoch:          1
a53b77
Release:        2%{?dist}
a53b77
Summary:        A Perl module for time and date manipulation
a53b77
Group:          Development/Libraries
a53b77
License:        GPL+ or Artistic
a53b77
URL:            http://search.cpan.org/dist/TimeDate/
a53b77
Source0:        http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
a53b77
BuildArch:      noarch
a53b77
BuildRequires:  perl(base)
a53b77
BuildRequires:  perl(Carp)
a53b77
BuildRequires:  perl(Exporter)
a53b77
BuildRequires:  perl(ExtUtils::MakeMaker)
a53b77
BuildRequires:  perl(strict)
a53b77
BuildRequires:  perl(Test::More)
a53b77
BuildRequires:  perl(Time::Local)
a53b77
BuildRequires:  perl(utf8)
a53b77
BuildRequires:  perl(vars)
a53b77
BuildRequires:  perl(warnings)
a53b77
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a53b77
a53b77
%description
a53b77
This module includes a number of smaller modules suited for
a53b77
manipulation of time and date strings with Perl. In particular, the
a53b77
Date::Format and Date::Parse modules can display and read times and
a53b77
dates in various formats, providing a more reliable interface to
a53b77
textual representations of points in time.
a53b77
a53b77
%prep
a53b77
%setup -q -n TimeDate-%{version}
a53b77
# ChangeLog is ISO-8859-1 encoded
a53b77
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
a53b77
mv ChangeLog.utf8 ChangeLog
a53b77
# Bogus exec permissions on some language modules
a53b77
chmod -x lib/Date/Language/{Russian_cp1251,Russian_koi8r,Turkish}.pm
a53b77
a53b77
%build
a53b77
perl Makefile.PL INSTALLDIRS=vendor
a53b77
make %{?_smp_mflags}
a53b77
a53b77
%install
a53b77
make pure_install DESTDIR=$RPM_BUILD_ROOT
a53b77
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
a53b77
%{_fixperms} $RPM_BUILD_ROOT/*
a53b77
a53b77
%check
a53b77
make test
a53b77
a53b77
%files 
a53b77
%doc README ChangeLog
a53b77
%{perl_vendorlib}/Date/
a53b77
%{perl_vendorlib}/Time/
a53b77
%{_mandir}/man3/*.3*
a53b77
a53b77
%changelog
a53b77
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:2.30-2
a53b77
- Mass rebuild 2013-12-27
a53b77
a53b77
* Tue Feb 19 2013 Petr Ĺ abata <contyk@redhat.com> - 1:2.30-1
a53b77
- 2.30 bump
a53b77
- Fix the buildtime dependencies
a53b77
a53b77
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-11
a53b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a53b77
a53b77
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.20-10
a53b77
- Remove perl(base) from BR
a53b77
- Package README and ChangeLog
a53b77
- Replace PERL_INSTALL_ROOT with DESTDIR
a53b77
- Remove deleting empty directories
a53b77
a53b77
* Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.20-9
a53b77
- Specify all dependencies.
a53b77
a53b77
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-8
a53b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a53b77
a53b77
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:1.20-7
a53b77
- Perl 5.16 rebuild
a53b77
a53b77
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-6
a53b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a53b77
a53b77
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 1:1.20-5
a53b77
- Perl mass rebuild
a53b77
- Buildroot and defattr cleanup
a53b77
a53b77
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-4
a53b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a53b77
a53b77
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.20-3
a53b77
- 661697 rebuild for fixing problems with vendorach/lib
a53b77
a53b77
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.20-2
a53b77
- Mass rebuild with perl-5.12.0
a53b77
a53b77
* Wed Dec 23 2009 Paul Howarth <paul@city-fan.org> - 1:1.20-1
a53b77
- update to 1.20
a53b77
- recode documentation as UTF-8
a53b77
- fix bogus exec permissions to placate rpmlint
a53b77
a53b77
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.16-12
a53b77
- rebuild against perl 5.10.1
a53b77
a53b77
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.16-11
a53b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a53b77
a53b77
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.16-10
a53b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a53b77
a53b77
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.16-9
a53b77
- fix license tag
a53b77
a53b77
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.16-8
a53b77
- Rebuild for perl 5.10 (again)
a53b77
a53b77
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:1.16-7
a53b77
- rebuild for new perl
a53b77
a53b77
* Thu Jun 28 2007 Robin Norwood <rnorwood@redhat.com> 1:1.16-6
a53b77
- Bump release to outpace RHEL5
a53b77
- Add dist tag to release field
a53b77
a53b77
* Tue Mar 20 2007 Steven Pritchard <steve@kspei.com> 1:1.16-4
a53b77
- Fix find option order.
a53b77
- Use fixperms macro instead of our own chmod incantation.
a53b77
- BR ExtUtils::MakeMaker.
a53b77
- Remove check macro cruft.
a53b77
a53b77
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.16-3.2.1
a53b77
- rebuild
a53b77
a53b77
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1:1.16-3.2
a53b77
- rebuild for new perl-5.8.8
a53b77
a53b77
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
a53b77
- rebuilt for new gcc
a53b77
a53b77
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
a53b77
- rebuilt for new gcj
a53b77
a53b77
* Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.16-3
a53b77
- Bring up to date with current Fedora.Extras perl spec template. (#155914)
a53b77
a53b77
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1:1.16-2
a53b77
- rebuild
a53b77
a53b77
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1:1.16-1
a53b77
- update to 1.16, bump epoch since previous version was 1.1301
a53b77
a53b77
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
a53b77
- automated release bump and build
a53b77
a53b77
* Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
a53b77
- update to 1.301
a53b77
a53b77
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
a53b77
- automated rebuild
a53b77
a53b77
* Wed Oct 24 2001 root <root@redhat.com>
a53b77
- Spec file was autogenerated.