Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 8ac53c00540166062dfe2adb4208f285 > files > 2

perl-Getopt-Usaginator-0.0012-1.fc13.src.rpm

Name:           perl-Getopt-Usaginator
Version:        0.0012
Release:        1%{?dist}
Summary:        Conjure up a usage function for your applications
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Getopt-Usaginator/
Source0:        http://www.cpan.org/authors/id/R/RO/ROKR/Getopt-Usaginator-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Spec)
BuildRequires:  perl(IPC::Open3)
BuildRequires:  perl(Package::Pkg) >= 0.0014
BuildRequires:  perl(Test::Most)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
Getopt::Usaginator is a tool for creating a handy usage subroutine for
commandline applications. It does not do any option parsing, but is best paired
with Getopt::Long or any of the other myriad of option parsers.

%prep
%setup -q -n Getopt-Usaginator-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
make pure_install DESTDIR=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jan 03 2011 Iain Arnell <iarnell@gmail.com> 0.0012-1
- Specfile autogenerated by cpanspec 1.78.