Group :: Development/Other
RPM: perl-DateTime-Format-Oracle
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(DateTime/Locale.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-DateTime-Format-Oracle
Version: 0.06
Release: alt3_21
Summary: Parse and format Oracle dates and timestamps
License: GPL+ or Artistic
URL: https://metacpan.org/release/DateTime-Format-Oracle
Source0: https://cpan.metacpan.org/authors/id/K/KO/KOLIBRIE/DateTime-Format-Oracle-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Convert/NLS_DATE_FORMAT.pm)
BuildRequires: perl(DateTime.pm)
BuildRequires: perl(DateTime/Format/Builder.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
%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_build
%install
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
%files
%doc Changes README t/
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(DateTime/Locale.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-DateTime-Format-Oracle
Version: 0.06
Release: alt3_21
Summary: Parse and format Oracle dates and timestamps
License: GPL+ or Artistic
URL: https://metacpan.org/release/DateTime-Format-Oracle
Source0: https://cpan.metacpan.org/authors/id/K/KO/KOLIBRIE/DateTime-Format-Oracle-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Convert/NLS_DATE_FORMAT.pm)
BuildRequires: perl(DateTime.pm)
BuildRequires: perl(DateTime/Format/Builder.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
%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_build
%install
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
%files
%doc Changes README t/
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here