perl-Text-Template/perl-Text-Template.spec
wk333 e8553165b0 Package upgrade
(cherry picked from commit da35850d1ffed96f7d7b90d42e6e8b88b0cc9472)
2022-10-24 10:53:55 +08:00

53 lines
1.5 KiB
RPMSpec

Name: perl-Text-Template
Version: 1.60
Release: 1
Summary: Expand template text with embedded Perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Template
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Text-Template-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl perl-generators perl(ExtUtils::MakeMaker) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) perl(Carp)
%description
This is a library for generating form letters, building HTML pages, or
filling in templates generally. A `template' is a piece of text that
has little Perl programs embedded in it here and there. When you
`fill in' a template, you evaluate the little programs and replace
them with their values.
%package_help
%prep
%autosetup -n Text-Template-%{version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
#need to install the Test::More::UTF8 module
%files
%defattr(-,root,root)
%license LICENSE
%{perl_vendorlib}/Text/
%files help
%doc README
%{_mandir}/man3/*
%changelog
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.60-1
- Upgrade to version 1.60
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 1.59-1
- upgrade version to 1.59
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.53-4
- Package init