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