You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Pod-Tidy/perl-Pod-Tidy.spec

101 lines
3.1 KiB

9 years ago
Name: perl-Pod-Tidy
Version: 0.10
Release: 10%{?dist}
9 years ago
Summary: Reformatting Pod Processor
License: GPL+ or Artistic
URL: https://metacpan.org/release/Pod-Tidy
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHOBLITT/Pod-Tidy-%{version}.tar.gz
9 years ago
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: perl-generators
9 years ago
BuildRequires: perl(Module::Build)
# Run-time
BuildRequires: perl(base)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::String)
BuildRequires: perl(Pod::Find)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Pod::Simple)
BuildRequires: perl(Pod::Wrap)
BuildRequires: perl(strict)
BuildRequires: perl(Text::Glob)
BuildRequires: perl(Text::Wrap)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests
BuildRequires: perl(Encode)
BuildRequires: perl(Encode::Newlines) >= 0.03
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Temp)
BuildRequires: perl(lib)
BuildRequires: perl(Test::Cmd) >= 1.05
BuildRequires: perl(Test::Distribution) >= 1.22
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Text::Glob) >= 0.06
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Text::Glob\\)\s*$
%description
This module provides the heavy lifting needed by the podtidy utility
although the API should be general enough that it can be used directly.
podtidy processes a Pod document and attempts to tidy it's formatting.
%prep
%setup -q -n Pod-Tidy-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%license LICENSE
%doc Changes Todo
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-9
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-6
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-4
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9 years ago
* Tue Dec 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-2
- Updated the list of BRs
* Fri Nov 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-1
- Initial release