From ff19ca2481caa686d76f1ff994246d2b51b95b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 15 Mar 2005 14:16:10 +0000 Subject: [PATCH] auto-import perl-Pod-POM-0.17-3 on branch devel from perl-Pod-POM-0.17-3.src.rpm https://bugzilla.fedora.us/show_bug.cgi?id=1954 --- .cvsignore | 1 + perl-Pod-POM.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 perl-Pod-POM.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1cc4afe 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Pod-POM-0.17.tar.gz diff --git a/perl-Pod-POM.spec b/perl-Pod-POM.spec new file mode 100644 index 0000000..e16d55a --- /dev/null +++ b/perl-Pod-POM.spec @@ -0,0 +1,76 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-Pod-POM +Version: 0.17 +Release: 3 +Summary: Object-oriented interface to Perl POD documents + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Pod-POM/ +Source0: http://www.cpan.org/authors/id/A/AB/ABW/Pod-POM-0.17.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module implements a parser to convert Pod documents into a simple +object model form known hereafter as the Pod Object Model. The object +model is generated as a hierarchical tree of nodes, each of which +represents a different element of the original document. The tree can +be walked manually and the nodes examined, printed or otherwise +manipulated. In addition, Pod::POM supports and provides view objects +which can automatically traverse the tree, or section thereof, and +generate an output representation in one form or another. + + +%prep +%setup -q -n Pod-POM-%{version} + + +%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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +# http://rt.cpan.org/NoAuth/Bug.html?id=3910 +PERL_HASH_SEED=0 make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README TODO +%{_bindir}/podlint +%{_bindir}/pom2 +%{perl_vendorlib}/Pod +%{_mandir}/man[13]/*.[13]* + + +%changelog +* Tue Mar 15 2005 Ville Skyttä - 0.17-3 +- Remove Epoch: 0. +- Improve summary. + +* Sun Jul 18 2004 Ville Skyttä - 0:0.17-0.fdr.3 +- Bring up to date with current fedora.us Perl spec template. + +* Fri Nov 21 2003 Ville Skyttä - 0:0.17-0.fdr.2 +- Add workaround for http://rt.cpan.org/NoAuth/Bug.html?id=3910. + +* Sun Oct 12 2003 Ville Skyttä - 0:0.17-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..d2dad3f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6ec8b345c9d43d45cc404c9416443d76 Pod-POM-0.17.tar.gz