|
|
55ac1c |
Name: perl-Pod-Usage
|
|
|
55ac1c |
Version: 1.63
|
|
|
63926e |
Release: 3%{?dist}
|
|
|
55ac1c |
Summary: Print a usage message from embedded POD documentation
|
|
|
55ac1c |
License: GPL+ or Artistic
|
|
|
55ac1c |
Group: Development/Libraries
|
|
|
55ac1c |
URL: http://search.cpan.org/dist/Pod-Usage/
|
|
|
55ac1c |
Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz
|
|
|
55ac1c |
BuildArch: noarch
|
|
|
55ac1c |
BuildRequires: perl
|
|
|
55ac1c |
# scripts/pod2usage.PL uses Cwd
|
|
|
55ac1c |
BuildRequires: perl(Cwd)
|
|
|
55ac1c |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
55ac1c |
# scripts/pod2usage.PL uses File::Basename
|
|
|
55ac1c |
BuildRequires: perl(File::Basename)
|
|
|
55ac1c |
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
55ac1c |
BuildRequires: perl(strict)
|
|
|
55ac1c |
# Run-time:
|
|
|
55ac1c |
BuildRequires: perl(Carp)
|
|
|
55ac1c |
BuildRequires: perl(Config)
|
|
|
55ac1c |
BuildRequires: perl(Exporter)
|
|
|
55ac1c |
# Getopt::Long not used, scripts/pod2usage not called
|
|
|
55ac1c |
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
|
|
55ac1c |
BuildRequires: perl-Pod-Perldoc
|
|
|
55ac1c |
BuildRequires: perl(Pod::Text) >= 3.15
|
|
|
55ac1c |
BuildRequires: perl(vars)
|
|
|
55ac1c |
# Tests:
|
|
|
55ac1c |
BuildRequires: perl(FileHandle)
|
|
|
55ac1c |
BuildRequires: perl(Pod::PlainText)
|
|
|
55ac1c |
BuildRequires: perl(Test::More) >= 0.6
|
|
|
55ac1c |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
55ac1c |
Requires: perl(File::Spec) >= 0.82
|
|
|
55ac1c |
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
|
|
55ac1c |
Requires: perl-Pod-Perldoc
|
|
|
55ac1c |
Requires: perl(Pod::Text) >= 3.15
|
|
|
55ac1c |
|
|
|
55ac1c |
# Remove under-specified dependencies
|
|
|
55ac1c |
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(File::Spec\\)$
|
|
|
55ac1c |
|
|
|
55ac1c |
%description
|
|
|
55ac1c |
pod2usage will print a usage message for the invoking script (using its
|
|
|
55ac1c |
embedded POD documentation) and then exit the script with the desired exit
|
|
|
55ac1c |
status. The usage message printed may have any one of three levels of
|
|
|
55ac1c |
"verboseness": If the verbose level is 0, then only a synopsis is printed.
|
|
|
55ac1c |
If the verbose level is 1, then the synopsis is printed along with a
|
|
|
55ac1c |
description (if present) of the command line options and arguments. If the
|
|
|
55ac1c |
verbose level is 2, then the entire manual page is printed.
|
|
|
55ac1c |
|
|
|
55ac1c |
%prep
|
|
|
55ac1c |
%setup -q -n Pod-Usage-%{version}
|
|
|
55ac1c |
find -type f -exec chmod a-x {} +
|
|
|
55ac1c |
for F in CHANGES README; do
|
|
|
55ac1c |
sed -i -e 's/\r//' "$F"
|
|
|
55ac1c |
done
|
|
|
55ac1c |
|
|
|
55ac1c |
%build
|
|
|
55ac1c |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
55ac1c |
make %{?_smp_mflags}
|
|
|
55ac1c |
|
|
|
55ac1c |
%install
|
|
|
55ac1c |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
55ac1c |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
55ac1c |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
55ac1c |
|
|
|
55ac1c |
%check
|
|
|
55ac1c |
make test
|
|
|
55ac1c |
|
|
|
55ac1c |
%files
|
|
|
55ac1c |
%doc CHANGES README
|
|
|
55ac1c |
%{_bindir}/*
|
|
|
55ac1c |
%{perl_vendorlib}/*
|
|
|
55ac1c |
%{_mandir}/man1/*
|
|
|
55ac1c |
%{_mandir}/man3/*
|
|
|
55ac1c |
|
|
|
55ac1c |
%changelog
|
|
|
63926e |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.63-3
|
|
|
63926e |
- Mass rebuild 2013-12-27
|
|
|
63926e |
|
|
|
55ac1c |
* Tue Jun 25 2013 Petr Pisar <ppisar@redhat.com> - 1.63-2
|
|
|
55ac1c |
- Correct dependencies
|
|
|
55ac1c |
|
|
|
55ac1c |
* Tue Jun 04 2013 Petr Pisar <ppisar@redhat.com> - 1.63-1
|
|
|
55ac1c |
- 1.63 bump
|
|
|
55ac1c |
|
|
|
55ac1c |
* Tue May 21 2013 Petr Pisar <ppisar@redhat.com> - 1.62-1
|
|
|
55ac1c |
- 1.62 bump
|
|
|
55ac1c |
|
|
|
55ac1c |
* Wed Feb 06 2013 Petr Pisar <ppisar@redhat.com> - 1.61-1
|
|
|
55ac1c |
- 1.61 bump
|
|
|
55ac1c |
|
|
|
55ac1c |
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> 1.60-1
|
|
|
55ac1c |
- Specfile autogenerated by cpanspec 1.78.
|