2005-04-25 22:41:55 +00:00
|
|
|
Name: perl-TimeDate
|
2009-12-23 12:18:15 +00:00
|
|
|
Version: 1.20
|
2005-04-25 22:41:55 +00:00
|
|
|
Epoch: 1
|
2010-05-07 05:26:35 +00:00
|
|
|
Release: 2%{?dist}
|
2005-04-25 22:41:55 +00:00
|
|
|
Summary: A Perl module for time and date manipulation
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2008-07-11 20:16:07 +00:00
|
|
|
License: GPL+ or Artistic
|
2005-04-25 22:41:55 +00:00
|
|
|
URL: http://search.cpan.org/dist/TimeDate/
|
2009-12-23 12:18:15 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
|
2005-04-25 22:41:55 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2007-06-28 15:07:40 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2009-12-23 12:18:15 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2004-09-09 10:19:26 +00:00
|
|
|
|
|
|
|
%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}
|
2004-09-09 10:19:26 +00:00
|
|
|
|
2009-12-23 12:18:15 +00:00
|
|
|
# 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
|
|
|
|
|
2004-09-09 10:19:26 +00:00
|
|
|
%build
|
2005-04-25 22:41:55 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2004-09-09 10:19:26 +00:00
|
|
|
|
2005-04-25 22:41:55 +00:00
|
|
|
%install
|
2004-09-09 10:19:26 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-04-25 22:41:55 +00:00
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
2009-12-23 12:18:15 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
2007-06-28 15:07:40 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2004-09-09 10:19:26 +00:00
|
|
|
|
2007-06-28 15:07:40 +00:00
|
|
|
%check
|
2005-04-25 22:41:55 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
2004-09-09 10:19:26 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-04-25 22:41:55 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{perl_vendorlib}/Date/
|
|
|
|
%{perl_vendorlib}/Time/
|
|
|
|
%{_mandir}/man3/*.3*
|
2004-09-09 10:19:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|
2009-12-23 12:18:15 +00:00
|
|
|
* 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
|
|
|
|
|
2009-07-26 17:18:56 +00:00
|
|
|
* 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
|
|
|
|
|
2009-02-27 03:51:56 +00:00
|
|
|
* 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
|
|
|
|
|
2005-04-25 22:41:55 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 10:21:21 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 10:19:26 +00:00
|
|
|
* 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.
|