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