Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 1b6dedae2208e62034f2553102311014 > files > 3

podtohtml-0.05-2mdv2007.0.src.rpm

%define name	podtohtml
%define Name	PodToHTML
%define version	0.05
%define release	%mkrel 2

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Convert POD documentation to HTML
License:	GPL or Artistic
Group:		Development/Perl
Source:		http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/%{Name}-%{version}.tar.bz2
Patch:		%{name}-0.05.namespace-fix.patch
Url:		http://search.cpan.org/dist/%{module}
%if %{mdkversion} < 1010
Buildrequires:	perl-devel
%endif
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
podtohtml converts POD documentation to HTML. It is based on the generic
Pod::Parser. It works by making two passes over the selected pods, the fisrt
pass uses Pod::Links to pre-scan for L<> links and =head1 NAME sections, and
then a second to build a tree of HTML::Elements for each POD and calling the
as_HTML method on the resulting tree.

The Generated HTML uses relative links.

%prep
%setup -q -n %{Name}-%{version}
%patch -p 1

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README
%_bindir/*
%_mandir/*/*
%{perl_vendorlib}/Pod

%changelog
* Tue Aug 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.05-2mdv2007.0
- Rebuild

* Sun Apr 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.05-1mdk
- first mdk release