Name: perl-gettext Version: 1.07 Release: 14 Summary: message handling functions License: GPL+ or Artistic URL: https://metacpan.org/release/gettext Source0: https://cpan.metacpan.org/authors/id/P/PV/PVANDRY/Locale-gettext-%{version}.tar.gz BuildRequires: perl-interpreter perl-generators perl-devel BulidRequires: perl(ExtUtils::MakeMaker) perl(Test::More) %description The gettext module permits access from perl to the gettext() family of functions for retrieving message strings from databases constructed to internationalize software. %package -n perl-Locale-gettext Summary: message handling functions Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -n perl-Locale-gettext The gettext module permits access from perl to the gettext() family of functions for retrieving message strings from databases constructed to internationalize software. %package_help %prep %autosetup -n Locale-gettext-%{version} -p1 %build perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files -n perl-Locale-gettext %defattr(-,root,root) %doc README %{perl_vendorarch}/auto/Locale %{perl_vendorarch}/Locale %files help %{_mandir}/man3/*3* %changelog * Wed May 13 2020 licunlong - 1.07-14 - add perl-devel buildrequire * Mon Dec 9 2019 openEuler Buildteam - 1.07-13 - Package init