Name: perl-Getopt-Long Version: 2.38 Release: 1%{?dist} Summary: Extended processing of command line options License: GPLv2 or Artistic 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) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Getopt::Long module implements an extended getopt function called GetOptions(). This function adheres to the POSIX syntax for command line options, with GNU extensions. In general, this means that options have long names instead of single letters, and are introduced with a double dash "--". Support for bundling of command line options, as was the case with the more traditional single-letter approach, is provided but not enabled by default. %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 Announce CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Mar 15 2010 Jan Klepek 2.38-1 - Specfile autogenerated by cpanspec 1.78.