Name: perl-DateTime-Format-ISO8601 Version: 0.06 Release: 1%{?dist} # LICENSE, lib/DateTime/Format/ISO8601.pod -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Parses ISO8601 formats Source: http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-%{version}.tar.gz Url: http://search.cpan.org/dist/DateTime-Format-ISO8601 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(DateTime) >= 0.18 BuildRequires: perl(DateTime::Format::Builder) >= 0.77 BuildRequires: perl(Module::Build::Compat) BuildRequires: perl(Test::More) %description Parses almost all ISO8601 date and time formats. ISO8601 time-intervals will be supported in a later release. %prep %setup -q -n DateTime-Format-ISO8601-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README Changes LICENSE Todo %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Thu Feb 05 2009 Chris Weyl 0.06-1 - update for submission * Thu Feb 05 2009 Chris Weyl 0.06-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)