diff --git a/.gitignore b/.gitignore index e69de29..5ed7f7d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Pod-Tidy-0.10.tar.gz diff --git a/perl-Pod-Tidy.spec b/perl-Pod-Tidy.spec new file mode 100644 index 0000000..99db0c4 --- /dev/null +++ b/perl-Pod-Tidy.spec @@ -0,0 +1,75 @@ +Name: perl-Pod-Tidy +Version: 0.10 +Release: 2%{?dist} +Summary: Reformatting Pod Processor +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Pod-Tidy/ +Source0: http://www.cpan.org/authors/id/J/JH/JHOBLITT/Pod-Tidy-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +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 +* Tue Dec 08 2015 Jitka Plesnikova - 0.10-2 +- Updated the list of BRs + +* Fri Nov 27 2015 Jitka Plesnikova - 0.10-1 +- Initial release diff --git a/sources b/sources index e69de29..250e206 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +439e06af1137b2a514f251d691c027e0 Pod-Tidy-0.10.tar.gz