Name: perl-Pod-Abstract
Version: 0.17
Release: 2%{?dist}
Summary: Abstract document tree for Perl POD documents
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Pod-Abstract/
Source0: http://www.cpan.org/authors/id/B/BL/BLILBURNE/Pod-Abstract-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::String)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
POD::Abstract provides a means to load a POD (or POD compatible) document
without direct reference to it's syntax, and perform manipulations on the
abstract syntax tree.
%prep
%setup -q -n Pod-Abstract-%{version}
chmod 644 lib/Pod/Abstract/Filter/*.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{_bindir}/paf
%{_mandir}/man1/paf.1.gz
%changelog
* Mon Jun 08 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.17-2
- fix rpmlint warnings
* Thu Jun 04 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.17-1
- Specfile autogenerated by cpanspec 1.78.