6645a0
Name:           perl-Pod-Usage
6645a0
# Compete with perl.spec's epoch
6645a0
Epoch:          4
6645a0
Version:        1.69
6645a0
Release:        396%{?dist}
6645a0
Summary:        Print a usage message from embedded POD documentation
6645a0
# License clarification CPAN RT#102529
6645a0
License:        GPL+ or Artistic
6645a0
Group:          Development/Libraries
6645a0
URL:            http://search.cpan.org/dist/Pod-Usage/
6645a0
Source0:        http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz
6645a0
BuildArch:      noarch
6645a0
BuildRequires:  coreutils
6645a0
BuildRequires:  findutils
6645a0
BuildRequires:  make
6645a0
BuildRequires:  perl-interpreter
6645a0
BuildRequires:  perl-generators
6645a0
# scripts/pod2usage.PL uses Config
6645a0
BuildRequires:  perl(Config)
6645a0
# scripts/pod2usage.PL uses Cwd
6645a0
BuildRequires:  perl(Cwd)
6645a0
BuildRequires:  perl(ExtUtils::MakeMaker)
6645a0
# scripts/pod2usage.PL uses File::Basename
6645a0
BuildRequires:  perl(File::Basename)
6645a0
BuildRequires:  perl(File::Spec) >= 0.82
6645a0
BuildRequires:  perl(strict)
6645a0
BuildRequires:  sed
6645a0
# Run-time:
6645a0
BuildRequires:  perl(Carp)
6645a0
BuildRequires:  perl(Config)
6645a0
BuildRequires:  perl(Exporter)
6645a0
# Getopt::Long not used, scripts/pod2usage not called
6645a0
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
6645a0
BuildRequires:  perl-Pod-Perldoc
6645a0
BuildRequires:  perl(Pod::Text) >= 4
6645a0
BuildRequires:  perl(vars)
6645a0
# Tests:
6645a0
BuildRequires:  perl(blib)
6645a0
BuildRequires:  perl(FileHandle)
6645a0
BuildRequires:  perl(Pod::PlainText)
6645a0
BuildRequires:  perl(Test::More) >= 0.6
6645a0
# VMS::Filespec not used
6645a0
BuildRequires:  perl(warnings)
6645a0
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
6645a0
Requires:       perl(File::Spec) >= 0.82
6645a0
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
6645a0
Requires:       perl-Pod-Perldoc
6645a0
Requires:       perl(Pod::Text) >= 4
6645a0
6645a0
# Remove under-specified dependencies
6645a0
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(File::Spec\\)$
6645a0
6645a0
%description
6645a0
pod2usage will print a usage message for the invoking script (using its
6645a0
embedded POD documentation) and then exit the script with the desired exit
6645a0
status. The usage message printed may have any one of three levels of
6645a0
"verboseness": If the verbose level is 0, then only a synopsis is printed.
6645a0
If the verbose level is 1, then the synopsis is printed along with a
6645a0
description (if present) of the command line options and arguments. If the
6645a0
verbose level is 2, then the entire manual page is printed.
6645a0
6645a0
%prep
6645a0
%setup -q -n Pod-Usage-%{version}
6645a0
# Remove bundled modules
6645a0
rm -rf t/inc
6645a0
sed -i -e '/^t\/inc\//d' MANIFEST
6645a0
6645a0
%build
6645a0
perl Makefile.PL INSTALLDIRS=vendor
6645a0
make %{?_smp_mflags}
6645a0
6645a0
%install
6645a0
make pure_install DESTDIR=$RPM_BUILD_ROOT
6645a0
find $RPM_BUILD_ROOT -type f -name .packlist -delete
6645a0
%{_fixperms} $RPM_BUILD_ROOT/*
6645a0
6645a0
%check
6645a0
make test
6645a0
6645a0
%files
6645a0
%doc CHANGES README
6645a0
%{_bindir}/*
6645a0
%{perl_vendorlib}/*
6645a0
%{_mandir}/man1/*
6645a0
%{_mandir}/man3/*
6645a0
6645a0
%changelog
6645a0
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.69-396
6645a0
- Rebuild with enable hardening (bug #1636329)
6645a0
6645a0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-395
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6645a0
6645a0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-394
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6645a0
6645a0
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.69-393
6645a0
- Perl 5.26 rebuild
6645a0
6645a0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-2
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6645a0
6645a0
* Tue May 24 2016 Petr Pisar <ppisar@redhat.com> - 4:1.69-1
6645a0
- 1.69 bump
6645a0
6645a0
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.68-365
6645a0
- Increase release to favour standalone package
6645a0
6645a0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.68-2
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6645a0
6645a0
* Tue Jan 05 2016 Petr Pisar <ppisar@redhat.com> - 4:1.68-1
6645a0
- 1.68 bump
6645a0
6645a0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4:1.67-3
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6645a0
6645a0
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.67-2
6645a0
- Perl 5.22 rebuild
6645a0
6645a0
* Mon Mar 02 2015 Petr Pisar <ppisar@redhat.com> - 4:1.67-1
6645a0
- 1.67 bump
6645a0
6645a0
* Mon Feb 23 2015 Petr Pisar <ppisar@redhat.com> - 4:1.66-1
6645a0
- 1.66 bump
6645a0
6645a0
* Mon Feb 16 2015 Petr Pisar <ppisar@redhat.com> - 4:1.65-1
6645a0
- 1.65 bump
6645a0
6645a0
* Thu Nov 13 2014 Petr Pisar <ppisar@redhat.com> - 4:1.64-3
6645a0
- Compete with perl.spec's epoch (bug #1163490)
6645a0
6645a0
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-2
6645a0
- Perl 5.20 rebuild
6645a0
6645a0
* Tue Jul 01 2014 Petr Pisar <ppisar@redhat.com> - 1.64-1
6645a0
- 1.64 bump
6645a0
6645a0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-5
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6645a0
6645a0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-4
6645a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6645a0
6645a0
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.63-3
6645a0
- Link minimal build-root packages against libperl.so explicitly
6645a0
6645a0
* Tue Jun 25 2013 Petr Pisar <ppisar@redhat.com> - 1.63-2
6645a0
- Correct dependencies
6645a0
6645a0
* Tue Jun 04 2013 Petr Pisar <ppisar@redhat.com> - 1.63-1
6645a0
- 1.63 bump
6645a0
6645a0
* Tue May 21 2013 Petr Pisar <ppisar@redhat.com> - 1.62-1
6645a0
- 1.62 bump
6645a0
6645a0
* Wed Feb 06 2013 Petr Pisar <ppisar@redhat.com> - 1.61-1
6645a0
- 1.61 bump
6645a0
6645a0
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> 1.60-1
6645a0
- Specfile autogenerated by cpanspec 1.78.