diff --git a/.cvsignore b/.cvsignore index e69de29..890e93f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Pod-Simple-3.02.tar.gz diff --git a/perl-Pod-Simple.spec b/perl-Pod-Simple.spec new file mode 100644 index 0000000..8822385 --- /dev/null +++ b/perl-Pod-Simple.spec @@ -0,0 +1,79 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-Pod-Simple +Version: 3.02 +Release: 0.fdr.1.rh90 +Epoch: 0 +Summary: Framework for parsing POD documentation + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Pod-Simple/ +Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/Pod-Simple-3.02.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 2:5.8.0 +BuildRequires: perl(Pod::Escapes) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Pod::Simple is a Perl library for parsing text in the Pod ("plain old +documentation") markup language that is typically used for writing +documentation for Perl and for Perl modules. + + +%prep +%setup -q -n Pod-Simple-%{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 || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{perl_vendorlib}/Pod +%{_mandir}/man3/*.3* +%exclude %{perl_vendorlib}/perlpod*.pod +%exclude %{_mandir}/man3/perlpod*.3* + + +%changelog +* Tue May 25 2004 Jose Pedro Oliveira - 0:3.02-0.fdr.1 +- Update to 3.02. + +* Sun May 9 2004 Jose Pedro Oliveira - 0:2.06-0.fdr.1 +- Update to 2.06. +- Avoid creation of the perllocal.pod file (make pure_install). + +* Sun May 2 2004 Ville Skyttä - 0:2.05-0.fdr.3 +- Use canonical source URL (bug 1541). +- Exclude duplicate POD manpages too (bug 1541). +- Requires perl 5.8 or newer (bug 1541). + +* Fri Apr 30 2004 Ville Skyttä - 0:2.05-0.fdr.2 +- Require perl(:MODULE_COMPAT_*). +- Reduce directory ownership bloat. +- Exclude POD docs that are part of perl itself. + +* Wed Nov 5 2003 Ville Skyttä - 0:2.05-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..8dfabc3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4ca91ca6ff80b597608a7d1c3d1bda74 Pod-Simple-3.02.tar.gz