# # This SPEC file was automatically generated using the cpantorpm # script. # # Package: perl-Getopt-Long-Util # Version: 0.899 # cpantorpm version: 1.13 # Date: Thu Aug 03 2023 # Command: # /usr/local/bin/cpantorpm Getopt\:\:Long\:\:Util # Name: perl-Getopt-Long-Util Version: 0.899 Release: 1%{?dist} Summary: Utilities for Getopt::Long License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Getopt-Long-Util/ BugURL: http://search.cpan.org/dist/Getopt-Long-Util/ BuildArch: noarch Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Getopt-Long-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(Getopt::Long::Util) = 0.899 Requires: perl >= 5.010001 Requires: perl(Exporter) >= 5.57 Requires: perl(strict) Requires: perl(warnings) BuildRequires: perl >= 5.010001 BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description A perl module %prep rm -rf %{_builddir}/Getopt-Long-Util-%{version} %setup -D -n Getopt-Long-Util-0.899 chmod -R u+w %{_builddir}/Getopt-Long-Util-%{version} if [ -f pm_to_blib ]; then rm -f pm_to_blib; fi %build %{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS" INSTALLDIRS=site INSTALLSITEBIN=%{_bindir} INSTALLSITESCRIPT=%{_bindir} INSTALLSITEMAN1DIR=%{_mandir}/man1 INSTALLSITEMAN3DIR=%{_mandir}/man3 INSTALLSCRIPT=%{_bindir} 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 -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_sitelib}/* %{_mandir}/man3/* %changelog * Thu Aug 03 2023 Matyáš Kroupa 0.899-1 - Generated using cpantorpm