initial commit

epel9
Chris Weyl 17 years ago
parent 9b36f13c78
commit a1676a79cb

@ -0,0 +1 @@
Getopt-Long-Descriptive-0.074.tar.gz

@ -0,0 +1 @@
perl-Getopt-Long-Descriptive-0_074-1_fc8:HEAD:perl-Getopt-Long-Descriptive-0.074-1.fc8.src.rpm:1215624887

@ -0,0 +1,60 @@
Name: perl-Getopt-Long-Descriptive
Version: 0.074
Release: 1%{?dist}
Summary: Getopt::Long with usage text
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Getopt-Long-Descriptive/
Source0: http://www.cpan.org/authors/id/H/HD/HDP/Getopt-Long-Descriptive-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(Params::Validate) >= 0.74
# test
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
# not automagically picked up...
Requires: perl(IO::Scalar)
%description
Convenient wrapper for Getopt::Long and program usage output.
%prep
%setup -q -n Getopt-Long-Descriptive-%{version}
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{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
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jul 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.074-1
- Specfile autogenerated by cpanspec 1.74.

@ -0,0 +1 @@
bf4931dfd87314376ecb74dc8d205944 Getopt-Long-Descriptive-0.074.tar.gz
Loading…
Cancel
Save