From 2871859b87a93fd8f807d8d39097be8d459598ab Mon Sep 17 00:00:00 2001 From: ron Date: Nov 18 2007 20:10:23 +0000 Subject: Auto import of perl-Getopt-Euclid. --- diff --git a/.cvsignore b/.cvsignore index e69de29..91692ae 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Getopt-Euclid-v0.1.0.tar.gz diff --git a/perl-Getopt-Euclid.spec b/perl-Getopt-Euclid.spec new file mode 100644 index 0000000..c7915de --- /dev/null +++ b/perl-Getopt-Euclid.spec @@ -0,0 +1,54 @@ +Name: perl-Getopt-Euclid +Version: 0.1.0 +Release: 1%{?dist} +Summary: Executable Uniform Command-Line Interface Descriptions +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Getopt-Euclid/ +Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Getopt-Euclid-v%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(version) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Pod) +Requires: perl(version) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Getopt::Euclid uses your program's own documentation to create a command- +line argument parser. This ensures that your program's documented interface +and its actual interface always agree. + +%prep +%setup -q -n Getopt-Euclid-v%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Nov 14 2007 Rasmus Ory Nielsen - 0.1.0-1 +- Specfile autogenerated by cpanspec 1.73. +- Adapted for Fedora diff --git a/sources b/sources index e69de29..3553d53 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b649254d8ffefb9efb57b794d0071a5f Getopt-Euclid-v0.1.0.tar.gz