Name: perl-DateTime-Format-Oracle Version: 0.05 Release: 1%{?dist} Summary: Parse and format Oracle dates and timestamps License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-Oracle/ Source0: http://www.cpan.org/authors/id/K/KO/KOLIBRIE/DateTime-Format-Oracle-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Convert::NLS_DATE_FORMAT) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Format::Builder) Requires: perl(Convert::NLS_DATE_FORMAT) Requires: perl(DateTime) Requires: perl(DateTime::Format::Builder) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module may be used to convert Oracle date and timestamp values into DateTime objects. It also can take a DateTime object and produce a date string matching the NLS_DATE_FORMAT. %prep %setup -q -n DateTime-Format-Oracle-%{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 {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Aug 19 2008 Dave Cross 0.05-1 - Specfile autogenerated by cpanspec 1.77.