2010-06-22 08:32:20 +00:00
|
|
|
Summary: Parses almost all ISO8601 date and time formats
|
|
|
|
|
Name: perl-DateTime-Format-ISO8601
|
2010-06-22 08:32:45 +00:00
|
|
|
Version: 0.07
|
2010-06-22 08:32:20 +00:00
|
|
|
Release: 1.2
|
|
|
|
|
License: Artistic/GPL
|
|
|
|
|
Group: Applications/CPAN
|
|
|
|
|
URL: http://search.cpan.org/dist/DateTime-Format-ISO8601/
|
|
|
|
|
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
|
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl, perl(Module::Build)
|
2010-06-22 08:32:45 +00:00
|
|
|
Requires: perl-DateTime, perl-DateTime-Format-Builder, perl-Class-Factory-Util
|
2010-06-22 08:32:20 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module parses almost all ISO8601 date and time formats.
|
|
|
|
|
ISO8601 time-intervals will be supported in a later release.
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-06-22 08:32:45 +00:00
|
|
|
%setup -n DateTime-Format-ISO8601-%{version}
|
2010-06-22 08:32:20 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{__rm} -rf %{buildroot}
|
2010-06-22 08:32:45 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2010-06-22 08:32:20 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/*/.packlist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root, 0755)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
|
%{perl_vendorlib}/DateTime/Format/ISO8601.p*
|
2010-06-22 08:32:45 +00:00
|
|
|
%dir %{perl_vendorlib}/DateTime
|
|
|
|
|
%dir %{perl_vendorlib}/DateTime/Format
|
2010-06-22 08:32:20 +00:00
|
|
|
|
2010-06-22 08:34:09 +00:00
|
|
|
%changelog -n %{name}
|
2010-06-22 08:32:45 +00:00
|
|
|
|