Name: perl-Autoload-AUTOCAN Version: 0.005 Release: 1%{?dist} Summary: Easily set up autoloading License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Autoload-AUTOCAN/ Source0: http://www.cpan.org/authors/id/D/DB/DBOOK/Autoload-AUTOCAN-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sub::Util) >= 1.40 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Warnings) BuildRequires: perl(overload) Requires: perl(Carp) Requires: perl(Scalar::Util) Requires: perl(Sub::Util) >= 1.40 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Autoloading is a very powerful mechanism for dynamically handling function calls that are not defined. However, its implementation is very complicated. For the simple case where you wish to allow method calls to methods that don't yet exist, this module allows you to define an AUTOCAN method which will return either a code reference or undef. %prep %setup -q -n Autoload-AUTOCAN-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CONTRIBUTING.md Changes LICENSE META.json README cpanfile dist.ini %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Apr 28 2024 rpm 0.005-1 - Specfile autogenerated by cpanspec 1.78.