commit 80f9938f1089840288d5f1ac2451eadf9ca0c670 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Jan 9 07:32:06 2011 +0100 initial import .gitignore | 1 + perl-Getopt-Usaginator.spec | 50 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ae57d8e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Getopt-Usaginator-0.0012.tar.gz diff --git a/perl-Getopt-Usaginator.spec b/perl-Getopt-Usaginator.spec new file mode 100644 index 0000000..1cdda05 --- /dev/null +++ b/perl-Getopt-Usaginator.spec @@ -0,0 +1,50 @@ +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@xxxxxxxxx> 0.0012-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..8f773e8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +769bff94ca2889afe7f262fe5b52432b Getopt-Usaginator-0.0012.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel