# # This SPEC file was automatically generated using the cpantorpm # script. # # Package: perl-Complete-Util # Version: 0.617 # cpantorpm version: 1.13 # Date: Thu Aug 03 2023 # Command: # /usr/local/bin/cpantorpm Complete\:\:Util # Name: perl-Complete-Util Version: 0.617 Release: 1%{?dist} Summary: General completion routine License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Complete-Util/ BugURL: http://search.cpan.org/dist/Complete-Util/ BuildArch: noarch Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Complete-Util-%{version}.tar.gz # # Unfortunately, the automatic provides and requires do NOT always work (it # was broken on the very first platform I worked on). We'll get the list # of provides and requires manually (using the RPM tools if they work, or # by parsing the files otherwise) and manually specify them in this SPEC file. # AutoReqProv: no AutoReq: no AutoProv: no Provides: perl(Complete::Util) = 0.617 Requires: perl >= 5.010001 Requires: perl(Complete::Common) >= 0.22 Requires: perl(Exporter) >= 5.57 Requires: perl(List::Util) >= 1.54 Requires: perl(Log::ger) >= 0.038 Requires: perl(strict) Requires: perl(warnings) BuildRequires: perl >= 5.010001 BuildRequires: perl(Complete::Common) >= 0.22 BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(List::Util) >= 1.54 BuildRequires: perl(Log::ger) >= 0.038 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This package provides some generic completion routines that follow the L convention. (If you are looking for bash/shell tab completion routines, take a look at the See Also section.) The main routine is complete_array_elem which tries to complete a word using choices from elements of supplied array. For example: %prep rm -rf %{_builddir}/Complete-Util-%{version} %setup -D -n Complete-Util-0.617 chmod -R u+w %{_builddir}/Complete-Util-%{version} if [ -f pm_to_blib ]; then rm -f pm_to_blib; fi %build %{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS" INSTALLDIRS=vendor INSTALLSITEBIN=%{_bindir} INSTALLSITESCRIPT=%{_bindir} INSTALLSITEMAN1DIR=%{_mandir}/man1 INSTALLSITEMAN3DIR=%{_mandir}/man3 INSTALLSCRIPT=%{_bindir} make %{?_smp_mflags} # # This is included here instead of in the 'check' section because # older versions of rpmbuild (such as the one distributed with RHEL5) # do not do 'check' by default. # if [ -z "$RPMBUILD_NOTESTS" ]; then make test fi %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 -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Aug 03 2023 Matyáš Kroupa 0.617-1 - Generated using cpantorpm