2006-07-07 17:40:19 +00:00
|
|
|
Name: perl-DateTime-Format-Strptime
|
2010-05-07 13:43:31 +00:00
|
|
|
Version: 1.2000
|
2010-06-15 13:05:44 +00:00
|
|
|
Release: 2%{?dist}
|
2006-07-07 17:40:19 +00:00
|
|
|
Summary: Parse and format strp and strf time patterns
|
2008-01-03 17:28:37 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-07-07 17:40:19 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/DateTime-Format-Strptime/
|
2010-05-07 13:43:31 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/R/RI/RICKM/DateTime-Format-Strptime-%{version}.tar.gz
|
2006-07-07 17:40:19 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2010-05-07 13:57:36 +00:00
|
|
|
BuildRequires: perl(Class::ISA)
|
2010-02-16 08:13:56 +00:00
|
|
|
BuildRequires: perl(DateTime) >= 0.44
|
2010-06-15 13:05:44 +00:00
|
|
|
BuildRequires: perl(DateTime::Locale) >= 0.45
|
2008-09-22 18:23:05 +00:00
|
|
|
BuildRequires: perl(DateTime::TimeZone) >= 0.79
|
2007-04-17 23:19:59 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2006-07-07 17:40:19 +00:00
|
|
|
BuildRequires: perl(Params::Validate) >= 0.64
|
2008-01-03 17:28:37 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2006-07-07 17:40:19 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module implements most of strptime(3), the POSIX function that is the
|
|
|
|
reverse of strftime(3), for DateTime. While strftime takes a DateTime and a
|
|
|
|
pattern and returns a string, strptime takes a string and a pattern and
|
|
|
|
returns the DateTime object associated.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-Format-Strptime-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
2006-09-17 19:05:46 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
2006-07-07 17:40:19 +00:00
|
|
|
|
2007-04-17 23:19:59 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2006-07-07 17:40:19 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2010-06-15 13:05:44 +00:00
|
|
|
* Tue Jun 15 2010 Petr Sabata <psabata@redhat.com> - 1.2000-1
|
|
|
|
- Update to the latest upstream release
|
|
|
|
|
2010-04-30 14:01:25 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1000-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-02-16 08:13:56 +00:00
|
|
|
* Tue Feb 16 2010 Paul Howarth <paul@city-fan.org> 1.1000-1
|
|
|
|
- Fix FTBFS (#564718) by bumping buildreq version of perl(DateTime) from 0.4304
|
|
|
|
to 0.44 (RPM considers 0.4304 > 0.44, unlike perl) and bumping version to
|
|
|
|
1.1000 for compatibility with DateTime::Locale 0.43 (upstream ticket 19)
|
|
|
|
- Update buildreq version requirement for perl(DateTime::Locale) to 0.43
|
|
|
|
- Drop test patch, no longer needed
|
|
|
|
- Run additional tests for full locale coverage
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> 1.0800-4
|
|
|
|
- Rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.0800-3
|
2009-07-26 05:38:56 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2010-02-16 08:13:56 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.0800-2
|
2009-02-26 15:00:36 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-22 18:23:05 +00:00
|
|
|
* Fri Aug 29 2008 Steven Pritchard <steve@kspei.com> 1.0800-1
|
|
|
|
- Update to 1.0800.
|
|
|
|
- Update versions on build dependencies.
|
|
|
|
|
2008-07-08 16:54:21 +00:00
|
|
|
* Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1.0702-3
|
|
|
|
- Patch t/004_locale_defaults.t to work around change in DateTime::Locale.
|
|
|
|
|
2008-03-04 19:28:12 +00:00
|
|
|
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0702-2
|
2010-02-16 08:13:56 +00:00
|
|
|
- Rebuild for new perl
|
2008-03-04 19:28:12 +00:00
|
|
|
|
2008-01-03 17:28:37 +00:00
|
|
|
* Thu Jan 03 2008 Steven Pritchard <steve@kspei.com> 1.0702-1
|
|
|
|
- Update to 1.0702.
|
|
|
|
- Drop charset patch.
|
|
|
|
- Update License tag.
|
|
|
|
- BR Test::More.
|
|
|
|
|
2007-04-17 23:19:59 +00:00
|
|
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.0700-3
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
2006-09-17 19:05:46 +00:00
|
|
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.0700-2
|
|
|
|
- Fix find option order.
|
|
|
|
|
2006-07-07 17:40:19 +00:00
|
|
|
* Mon Jul 03 2006 Steven Pritchard <steve@kspei.com> 1.0700-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.66.
|
|
|
|
- Fix License.
|
|
|
|
- Remove versioned DateTime deps (0.1402 > 0.30 according to rpm).
|
|
|
|
- Remove versioned explicit dependencies that rpmbuild picks up.
|
|
|
|
- Substitute literal "©" for E<169> in pod documentation. (The result
|
|
|
|
should be the same, but apparently the man page conversion is generating
|
|
|
|
something that rpmlint doesn't like.)
|