|
|
ff19ca2 |
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
Name: perl-Pod-POM
|
|
|
ff19ca2 |
Version: 0.17
|
|
|
d492835 |
Release: 7%{?dist}
|
|
|
9c63aa1 |
|
|
|
ff19ca2 |
Summary: Object-oriented interface to Perl POD documents
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
Group: Development/Libraries
|
|
|
d492835 |
License: GPL+ or Artistic
|
|
|
ff19ca2 |
URL: http://search.cpan.org/dist/Pod-POM/
|
|
|
ff19ca2 |
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Pod-POM-0.17.tar.gz
|
|
|
ff19ca2 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
BuildArch: noarch
|
|
|
d492835 |
BuildRequires: perl(Test::More)
|
|
|
ff19ca2 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%description
|
|
|
ff19ca2 |
This module implements a parser to convert Pod documents into a simple
|
|
|
ff19ca2 |
object model form known hereafter as the Pod Object Model. The object
|
|
|
ff19ca2 |
model is generated as a hierarchical tree of nodes, each of which
|
|
|
ff19ca2 |
represents a different element of the original document. The tree can
|
|
|
ff19ca2 |
be walked manually and the nodes examined, printed or otherwise
|
|
|
ff19ca2 |
manipulated. In addition, Pod::POM supports and provides view objects
|
|
|
ff19ca2 |
which can automatically traverse the tree, or section thereof, and
|
|
|
ff19ca2 |
generate an output representation in one form or another.
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%prep
|
|
|
ff19ca2 |
%setup -q -n Pod-POM-%{version}
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%build
|
|
|
ff19ca2 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
ff19ca2 |
make %{?_smp_mflags}
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%install
|
|
|
ff19ca2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ff19ca2 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
ff19ca2 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
ff19ca2 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
ff19ca2 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%check || :
|
|
|
ff19ca2 |
# http://rt.cpan.org/NoAuth/Bug.html?id=3910
|
|
|
ff19ca2 |
PERL_HASH_SEED=0 make test
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%clean
|
|
|
ff19ca2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%files
|
|
|
ff19ca2 |
%defattr(-,root,root,-)
|
|
|
ff19ca2 |
%doc Changes README TODO
|
|
|
ff19ca2 |
%{_bindir}/podlint
|
|
|
ff19ca2 |
%{_bindir}/pom2
|
|
|
ff19ca2 |
%{perl_vendorlib}/Pod
|
|
|
ff19ca2 |
%{_mandir}/man[13]/*.[13]*
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
%changelog
|
|
|
d492835 |
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.17-7
|
|
|
d492835 |
- license tag fix
|
|
|
d492835 |
|
|
|
9831d5d |
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.17-6
|
|
|
9831d5d |
- build for fc6
|
|
|
9831d5d |
|
|
|
2d2df6d |
* Fri Jul 7 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.17-5
|
|
|
2d2df6d |
- add dist tag
|
|
|
2d2df6d |
|
|
|
9c63aa1 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
9c63aa1 |
- rebuilt
|
|
|
9c63aa1 |
|
|
|
ff19ca2 |
* Tue Mar 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.17-3
|
|
|
ff19ca2 |
- Remove Epoch: 0.
|
|
|
ff19ca2 |
- Improve summary.
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
* Sun Jul 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.17-0.fdr.3
|
|
|
ff19ca2 |
- Bring up to date with current fedora.us Perl spec template.
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
* Fri Nov 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.17-0.fdr.2
|
|
|
ff19ca2 |
- Add workaround for http://rt.cpan.org/NoAuth/Bug.html?id=3910.
|
|
|
ff19ca2 |
|
|
|
ff19ca2 |
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.17-0.fdr.1
|
|
|
ff19ca2 |
- First build.
|