|
|
|
Name: perl-Getopt-Long-Descriptive
|
|
|
|
Version: 0.077
|
|
|
|
Release: 2%{?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://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/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
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
# test
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
|
|
|
Requires: perl(IO::Scalar)
|
|
|
|
Requires: perl(List::Util)
|
|
|
|
Requires: perl(Params::Validate) >= 0.74
|
|
|
|
Requires: perl(Sub::Exporter)
|
|
|
|
|
|
|
|
%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
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.077-2
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sun Aug 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.077-1
|
|
|
|
- auto-update to 0.077 (by cpan-spec-update 0.01)
|
|
|
|
- added a new br on perl(List::Util) (version 0)
|
|
|
|
- added a new br on perl(Sub::Exporter) (version 0)
|
|
|
|
- added a new req on perl(List::Util) (version 0)
|
|
|
|
- added a new req on perl(Params::Validate) (version 0.74)
|
|
|
|
- added a new req on perl(Sub::Exporter) (version 0)
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.074-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.074-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.074-2
|
|
|
|
- bump
|
|
|
|
|
|
|
|
* Tue Jul 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.074-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.74.
|