Name: perl-HTML-Stream
Version: 1.60
Release: 1%{?dist}
Summary: HTML output stream class, and some markup utilities
License: Distributable, see COPYING
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTML-Stream/
Source0: http://www.cpan.org/authors/id/D/DS/DSTAAL/HTML-Stream-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The HTML::Stream module provides you with an object-oriented (and
subclassable) way of outputting HTML. Basically, you open up an "HTML
stream" on an existing filehandle, and then do all of your output to the
HTML stream. You can intermix HTML-stream-output and ordinary-print-output,
if you like.
%prep
%setup -q -n HTML-Stream-%{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 -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 COPYING README README.system
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Nov 20 2008 Dave Cross 1.60-1
- Specfile autogenerated by cpanspec 1.77.