From 6b8e775afe14a283b1d3eaa499142db3a73513c5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 18:12:18 +0300 Subject: [PATCH] import perl-Text-Glob-0.11-25.el10 --- .gitignore | 1 + .perl-Text-Glob.metadata | 1 + SPECS/perl-Text-Glob.spec | 258 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 260 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Text-Glob.metadata create mode 100644 SPECS/perl-Text-Glob.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c0311d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Text-Glob-0.11.tar.gz diff --git a/.perl-Text-Glob.metadata b/.perl-Text-Glob.metadata new file mode 100644 index 0000000..2096714 --- /dev/null +++ b/.perl-Text-Glob.metadata @@ -0,0 +1 @@ +1af2218ee602f25541473918fbfa2c78389c3803 SOURCES/Text-Glob-0.11.tar.gz diff --git a/SPECS/perl-Text-Glob.spec b/SPECS/perl-Text-Glob.spec new file mode 100644 index 0000000..c69fe42 --- /dev/null +++ b/SPECS/perl-Text-Glob.spec @@ -0,0 +1,258 @@ +Name: perl-Text-Glob +Version: 0.11 +Release: 25%{?dist} +Summary: Perl module to match globbing patterns against text +License: GPL-1.0-or-later OR Artistic-1.0-Perl +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: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter + +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Exporter) +BuildRequires: perl(Test::More) +BuildRequires: perl(constant) +BuildRequires: perl(strict) +BuildRequires: perl(vars) + +%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. + +%package tests +Summary: Tests for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: perl-Test-Harness + +%description tests +Tests from %{name}. Execute them +with "%{_libexecdir}/%{name}/test". + +%prep +%setup -q -n Text-Glob-%{version} +# Help generators to recognize Perl scripts +for F in t/*.t; do + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" + chmod +x "$F" +done + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +chmod -R u+w $RPM_BUILD_ROOT/* +# Install tests +mkdir -p %{buildroot}%{_libexecdir}/%{name} +cp -a t %{buildroot}%{_libexecdir}/%{name} +cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' +#!/bin/sh +cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" +EOF +chmod +x %{buildroot}%{_libexecdir}/%{name}/test + +%check +%{__make} test + +%files +%doc Changes +%{perl_vendorlib}/Text +%{_mandir}/man3/* + +%files tests +%{_libexecdir}/%{name} + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 0.11-25 +- Rebuilt for MSVSphere 10 + +* Fri Jul 12 2024 Michal Josef Špaček - 0.11-25 +- Package tests + +* Mon Jun 24 2024 Troy Dawson - 0.11-24 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 0.11-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.11-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.11-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 0.11-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 30 2022 Ralf Corsépius - 0.11-19 +- Modernize spec. +- Convert license to SPDX. + +* Fri Jul 22 2022 Fedora Release Engineering - 0.11-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 30 2022 Jitka Plesnikova - 0.11-17 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.11-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.11-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 0.11-14 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.11-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.11-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 0.11-11 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.11-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.11-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.11-8 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.11-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jitka Plesnikova - 0.11-5 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.11-2 +- Perl 5.26 rebuild + +* Mon Mar 13 2017 Ralf Corsépius - 0.11-1 +- Upstream update. +- Spec files cosmetics. + +* Sat Feb 11 2017 Fedora Release Engineering - 0.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Sep 22 2016 Ralf Corsépius - 0.10-1 +- Upstream update. + +* Sat May 14 2016 Jitka Plesnikova - 0.09-16 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.09-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Jan 30 2016 Ralf Corsépius - 0.09-14 +- Modernize spec. + +* Thu Jun 18 2015 Fedora Release Engineering - 0.09-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 0.09-12 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 0.09-11 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.09-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.09-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 0.09-8 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.09-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Aug 10 2012 Jitka Plesnikova - 0.09-6 +- Update BRs and remove %%defattr. + +* Fri Jul 20 2012 Fedora Release Engineering - 0.09-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 0.09-4 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.09-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 0.09-2 +- Perl mass rebuild + +* Wed Mar 02 2011 Ralf Corsépius - 0.09-1 +- Upstream update. +- Spec cleanup. + +* Wed Feb 09 2011 Fedora Release Engineering - 0.08-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 0.08-10 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 0.08-9 +- Mass rebuild with perl-5.12.0 + +* Thu Feb 25 2010 Marcela Mašláňová - 0.08-8 +- add readme + +* Fri Dec 4 2009 Stepan Kasal - 0.08-7 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.08-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.08-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.08-4 +- Rebuild for perl 5.10 (again) + +* Fri Jan 11 2008 Tom "spot" Callaway - 0.08-3 +- rebuild for new perl + +* Sat Aug 18 2007 Ralf Corsépius - 0.08-2 +- Update license tag. + +* Tue May 08 2007 Ralf Corsépius - 0.08-1 +- Upstream update. + +* Tue Sep 05 2006 Ralf Corsépius - 0.07-2 +- Mass rebuild. + +* Thu Jul 20 2006 Ralf Corsépius - 0.07-1 +- Upstream update. + +* Tue Feb 28 2006 Ralf Corsépius - 0.06-4 +- Rebuild for perl-5.8.8. + +* Wed Aug 10 2005 Ralf Corsepius - 0.06-3 +- Spec cleanup. + +* Wed Aug 10 2005 Ralf Corsepius - 0.06-2 +- FE resubmission. + +* Fri Jul 01 2005 Ralf Corsepius - 0.06-1 +- FE submission.