Группа :: Разработка/Perl
Пакет: perl-Convert-NLS_DATE_FORMAT
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Convert-NLS_DATE_FORMAT
Version: 0.06
Release: alt1_21
Summary: Convert Oracle NLS_DATE_FORMAT <-> strftime Format Strings
License: GPL+ or Artistic
URL: https://metacpan.org/release/Convert-NLS_DATE_FORMAT
Source0: https://cpan.metacpan.org/authors/id/K/KO/KOLIBRIE/Convert-NLS_DATE_FORMAT-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(Module/Build/Tiny.pm)
BuildRequires: perl(strict.pm)
# Runtime
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(warnings.pm)
# Tests only
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
Convert Oracle's NLS_DATE_FORMAT string into a strptime format string, or
the reverse.
%prep
%setup -q -n Convert-NLS_DATE_FORMAT-%{version}
%build
perl Build.PL --installdirs=vendor
./Build
%install
./Build install --destdir=%{buildroot} --create_packlist=0
# %{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc --no-dereference LICENSE
%doc Changes README.md
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Convert-NLS_DATE_FORMAT
Version: 0.06
Release: alt1_21
Summary: Convert Oracle NLS_DATE_FORMAT <-> strftime Format Strings
License: GPL+ or Artistic
URL: https://metacpan.org/release/Convert-NLS_DATE_FORMAT
Source0: https://cpan.metacpan.org/authors/id/K/KO/KOLIBRIE/Convert-NLS_DATE_FORMAT-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(Module/Build/Tiny.pm)
BuildRequires: perl(strict.pm)
# Runtime
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(warnings.pm)
# Tests only
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
Convert Oracle's NLS_DATE_FORMAT string into a strptime format string, or
the reverse.
%prep
%setup -q -n Convert-NLS_DATE_FORMAT-%{version}
%build
perl Build.PL --installdirs=vendor
./Build
%install
./Build install --destdir=%{buildroot} --create_packlist=0
# %{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc --no-dereference LICENSE
%doc Changes README.md
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь