From 89c4b4955d19047362ed11703dadb0a7574e77de Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 15 Mar 2023 21:52:09 +0300 Subject: [PATCH] import perl-Class-Singleton-1.6-4.el9 --- .gitignore | 1 + .perl-Class-Singleton.metadata | 1 + SPECS/perl-Class-Singleton.spec | 226 ++++++++++++++++++++++++++++++++ 3 files changed, 228 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Class-Singleton.metadata create mode 100644 SPECS/perl-Class-Singleton.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b6fbce7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Class-Singleton-1.6.tar.gz diff --git a/.perl-Class-Singleton.metadata b/.perl-Class-Singleton.metadata new file mode 100644 index 0000000..de60b22 --- /dev/null +++ b/.perl-Class-Singleton.metadata @@ -0,0 +1 @@ +fe1a90d870542ac415b31b5923a24cb7e29c0c79 SOURCES/Class-Singleton-1.6.tar.gz diff --git a/SPECS/perl-Class-Singleton.spec b/SPECS/perl-Class-Singleton.spec new file mode 100644 index 0000000..c9314bb --- /dev/null +++ b/SPECS/perl-Class-Singleton.spec @@ -0,0 +1,226 @@ +Name: perl-Class-Singleton +Version: 1.6 +Release: 4%{?dist} +Summary: Implementation of a "Singleton" class +License: GPL+ or Artistic +URL: https://metacpan.org/release/Class-Singleton +Source0: https://cpan.metacpan.org/modules/by-module/Class/Class-Singleton-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 +# Module Runtime +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(base) +BuildRequires: perl(Test::More) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This is the Class::Singleton module. A Singleton describes an object class +that can have only one instance in any system. An example of a Singleton +might be a print spooler or system registry. This module implements a +Singleton class from which other classes can be derived. By itself, the +Class::Singleton module does very little other than manage the +instantiation of a single object. In deriving a class from +Class::Singleton, your module will inherit the Singleton instantiation +method and can implement whatever specific functionality is required. + +%prep +%setup -q -n Class-Singleton-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%license Artistic Copying LICENCE +%doc Changes README +%{perl_vendorlib}/Class/ +%{_mandir}/man3/Class::Singleton.3* + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 1.6-4 +- Rebuilt for MSVSphere 9.1. + +* Mon Aug 09 2021 Mohan Boddu - 1.6-4 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.6-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 3 2020 Paul Howarth - 1.6-1 +- Update to 1.6 + - Fixed confusing Changes entry about Perl's licensing terms (CPAN RT#132843) + - Added optional Changes testing (skipped unless AUTHOR_TESTING) + - Reformatted Changes file as per CPAN::Changes::Spec + - Added optional POD coverage testing (skipped unless AUTHOR_TESTING) + - Added optional Perl::Critic testing (skipped unless AUTHOR_TESTING) + - Made code Perl::Critic clean + - Added optional POD testing (skipped unless AUTHOR_TESTING) + - Included GitHub repository URLs in metadata now that source code has been + uploaded to GitHub (as of version 1.5) + - Included META.json file in addition to META.yml + - Set minimum required ExtUtils::MakeMaker version to 6.64 to ensure that all + parameters used are supported, to save jumping through hoops to support + earlier versions (this should not be a problem since ExtUtils::MakeMaker + 6.64 is easily installed into Perl 5.8.1 and above, that being the whole + point of the new choice of minimum supported Perl version) + - Set minimum required Perl version to 5.8.1; this is in line with the + minimum requirement of the "Perl Toolchain" + - Corrected typo in a comment (CPAN RT#86336) +- Use author-independent source URL +- Specify all build dependencies +- Drop redundant buildroot cleaning in %%install section +- Simplify find command using -delete +- Fix permissions verbosely +- Package Artistic, Copying and LICENCE licence files + +* Tue Jul 28 2020 Fedora Release Engineering - 1.5-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 1.5-16 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 1.5-13 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.5-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jitka Plesnikova - 1.5-10 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.5-7 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.5-5 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 1.5-2 +- Perl 5.22 rebuild + +* Mon Nov 10 2014 Paul Howarth - 1.5-1 +- Update to 1.5 + - Work around global destruction order issue (CPAN RT#23568/68526) +- This release by SHAY ⇒ update source URL +- Drop %%defattr, redundant since rpm 4.4 +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot +- Classify buildreqs by usage +- Make %%files list more explicit + +* Tue Aug 26 2014 Jitka Plesnikova - 1.4-18 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.4-15 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.4-12 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 1.4-10 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 15 2010 Marcela Maslanova - 1.4-8 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Fri Apr 30 2010 Marcela Maslanova - 1.4-7 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 1.4-6 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.4-3 +- Rebuild for perl 5.10 (again) + +* Thu Jan 24 2008 Tom "spot" Callaway 1.4-2 +- rebuild for new perl + +* Mon Oct 15 2007 Steven Pritchard 1.4-1 +- Update to 1.4. +- Update License tag. +- Drop our copy of the license text. +- Improve Summary. +- Make description match cpanspec output. +- BR Test::More. + +* Tue Apr 17 2007 Steven Pritchard 1.03-4 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + +* Sat Sep 16 2006 Steven Pritchard 1.03-3 +- Canonicalize Source0 URL. +- Fix find option order. + +* Thu Sep 08 2005 Steven Pritchard 1.03-2 +- Fix permissions on Singleton.pm. + +* Wed Aug 31 2005 Steven Pritchard 1.03-1 +- Specfile autogenerated.