|
|
852d920 |
Name: perl-podlinkcheck
|
|
|
4555211 |
Version: 9
|
|
|
319beab |
Release: 3%{?dist}
|
|
|
852d920 |
Summary: Check Perl POD L<> link references
|
|
|
852d920 |
License: GPLv3+
|
|
|
852d920 |
Group: Development/Libraries
|
|
|
852d920 |
URL: http://search.cpan.org/dist/podlinkcheck/
|
|
|
852d920 |
Source0: http://www.cpan.org/authors/id/K/KR/KRYDE/podlinkcheck-%{version}.tar.gz
|
|
|
852d920 |
BuildArch: noarch
|
|
|
852d920 |
# The inc/my_pod2html is not executed
|
|
|
852d920 |
BuildRequires: perl(lib)
|
|
|
852d920 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
852d920 |
# Run-time:
|
|
|
852d920 |
BuildRequires: perl(base)
|
|
|
852d920 |
BuildRequires: perl(Carp)
|
|
|
852d920 |
BuildRequires: perl(constant::defer)
|
|
|
852d920 |
BuildRequires: perl(File::Find::Iterator)
|
|
|
852d920 |
BuildRequires: perl(File::Spec) >= 0.8
|
|
|
4555211 |
BuildRequires: perl(File::Temp)
|
|
|
852d920 |
BuildRequires: perl(Getopt::Long)
|
|
|
852d920 |
BuildRequires: perl(IPC::Run)
|
|
|
852d920 |
BuildRequires: perl(List::Util)
|
|
|
852d920 |
BuildRequires: perl(Locale::TextDomain)
|
|
|
852d920 |
BuildRequires: perl(Pod::Find)
|
|
|
852d920 |
BuildRequires: perl(Pod::Simple)
|
|
|
852d920 |
BuildRequires: perl(Text::Tabs)
|
|
|
852d920 |
# Recommended run-time:
|
|
|
852d920 |
BuildRequires: perl(Sort::Key::Natural)
|
|
|
852d920 |
# Tests:
|
|
|
852d920 |
BuildRequires: perl(Exporter)
|
|
|
852d920 |
BuildRequires: perl(Scalar::Util)
|
|
|
852d920 |
BuildRequires: perl(Test::More)
|
|
|
852d920 |
# Optional tests:
|
|
|
852d920 |
BuildRequires: perl(Data::Dumper)
|
|
|
852d920 |
BuildRequires: perl(Devel::FindRef)
|
|
|
852d920 |
BuildRequires: perl(Devel::StackTrace)
|
|
|
852d920 |
BuildRequires: perl(File::HomeDir)
|
|
|
852d920 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
852d920 |
Requires: perl(File::Find::Iterator)
|
|
|
852d920 |
Requires: perl(File::Spec) >= 0.8
|
|
|
4555211 |
Requires: perl(File::Temp)
|
|
|
852d920 |
Requires: perl(Getopt::Long)
|
|
|
852d920 |
Requires: perl(IPC::Run)
|
|
|
852d920 |
Requires: perl(Pod::Find)
|
|
|
852d920 |
# Recommended:
|
|
|
852d920 |
Requires: perl(Sort::Key::Natural)
|
|
|
852d920 |
# We do not (build-)require CPAN on purpose
|
|
|
852d920 |
|
|
|
852d920 |
# Remove under-specified dependencies
|
|
|
852d920 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
|
|
|
852d920 |
|
|
|
852d920 |
%description
|
|
|
852d920 |
PodLinkCheck parses Perl POD from a script, module or documentation
|
|
|
852d920 |
and checks that L<> links within it refer to a known program, module,
|
|
|
852d920 |
or man page.
|
|
|
852d920 |
|
|
|
852d920 |
%prep
|
|
|
852d920 |
%setup -q -n podlinkcheck-%{version}
|
|
|
852d920 |
|
|
|
852d920 |
%build
|
|
|
852d920 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
852d920 |
make %{?_smp_mflags}
|
|
|
852d920 |
|
|
|
852d920 |
%install
|
|
|
852d920 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
852d920 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
852d920 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
852d920 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
852d920 |
|
|
|
852d920 |
%check
|
|
|
852d920 |
make test
|
|
|
852d920 |
|
|
|
852d920 |
%files
|
|
|
852d920 |
%doc Changes COPYING
|
|
|
852d920 |
%{_bindir}/*
|
|
|
852d920 |
%{perl_vendorlib}/*
|
|
|
852d920 |
%{_mandir}/man1/*
|
|
|
852d920 |
%{_mandir}/man3/*
|
|
|
852d920 |
|
|
|
852d920 |
%changelog
|
|
|
319beab |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9-3
|
|
|
319beab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
319beab |
|
|
|
12276a7 |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 9-2
|
|
|
12276a7 |
- Perl 5.16 rebuild
|
|
|
12276a7 |
|
|
|
4555211 |
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 9-1
|
|
|
4555211 |
- 9 bump
|
|
|
4555211 |
|
|
|
89e6e62 |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 8-2
|
|
|
89e6e62 |
- Perl 5.16 rebuild
|
|
|
89e6e62 |
|
|
|
852d920 |
* Wed Apr 25 2012 Petr Pisar <ppisar@redhat.com> 8-1
|
|
|
852d920 |
- Specfile autogenerated by cpanspec 1.78.
|