Name: perl-Class-Singleton Version: 1.6 Release: 1 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 * Thu Jun 30 2022 misaka00251 - 1.6-1 - Init package (Thanks to fedora team)