Name: perl-Getopt-Simple Version: 1.49 Release: 1%{?dist} Summary: Provide a simple wrapper around Getopt::Long License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Getopt-Simple/ Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/Getopt-Simple-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Getopt::Long) %description Getopt::Simple is a pure Perl module used as wrapper around Getopt::Long. %prep %setup -q -n Getopt-Simple-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT tr -d '\r' < README > tmp mv tmp README ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes.txt README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Mar 15 2010 Jan Klepek 1.49-1 - Specfile autogenerated by cpanspec 1.78.