diff --git a/Text-Glob-0.11.tar.gz b/Text-Glob-0.11.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..18722360ab171557f7838b88c0123ea5a8632f0f Binary files /dev/null and b/Text-Glob-0.11.tar.gz differ diff --git a/perl-Text-Glob.spec b/perl-Text-Glob.spec new file mode 100644 index 0000000000000000000000000000000000000000..416c5e0dea853c6c86dedb23180939db0c8fc3af --- /dev/null +++ b/perl-Text-Glob.spec @@ -0,0 +1,50 @@ +%define anolis_release 1 +Name: perl-Text-Glob +Version: 0.11 +Release: %{anolis_release}%{dist} +Summary: Perl module to match globbing patterns against text +License: GPL+ or Artistic +URL: https://metacpan.org/release/Text-Glob +Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Text-Glob-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: %{__perl} +BuildRequires: %{__make} + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Exporter) +BuildRequires: perl(Test::More) +BuildRequires: perl(constant) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Text::Glob implements glob(3) style matching that can be used to match +against text, rather than fetching names from a file-system. If you +want to do full file globbing use the File::Glob module instead. + +%prep +%setup -q -n Text-Glob-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +%{__make} %{?_smp_mflags} + +%install +%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +%{__make} test + +%files +%doc Changes +%{perl_vendorlib}/Text +%{_mandir}/man3/* + +%changelog +* Wed Apr 20 2022 Zhongling He - 0.11-1 +- Init package from upstream v0.11