%global pkg_name HTML-PrettyPrinter %global pkg_version 0.03 %global rpm_pkg_version 0.03 %global rpm_pkg_release 3.n0i.3 Summary: Generate nice HTML files from HTML syntax trees Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/HTML/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %description HTML::PrettyPrinter produces nicely formatted HTML code from a HTML syntax tree. It is especially useful if the produced HTML file will be read or edited manually afterwards. Various parameters let you adapt the output to different styles and requirements. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Fri Sep 30 2011 Marius Feraru - 0.03-3.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - rebuild on perl 5.12.4 * Tue May 22 2007 Marius Feraru - 0.03-2.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 * Sun Apr 09 2006 Marius Feraru 0.03-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8