Name: perl-Getopt-Long Version: 2.50 Release: 1%{?dist} Summary: Extended processing of command line options License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/Getopt-Long/ Source0: http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Pod::Usage) >= 1.14 Requires: perl(Pod::Usage) >= 1.14 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Getopt::Long module implements an extended getopt function called GetOptions(). It parses the command line from @ARGV, recognizing and removing specified options and their possible values. %prep %setup -q -n Getopt-Long-%{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 CHANGES META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Mar 20 2018 Dave Cross 2.50-1 - Specfile autogenerated by cpanspec 1.78.