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