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