%global pkg_name txt2html %global pkg_version 2.46 %global rpm_pkg_version 2.46 %global rpm_pkg_release 1.n0i.17 Summary: Convert plain text file to HTML 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/authors/id/R/RU/RUBYKAT/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Data::Dumper) BuildRequires: perl(File::Basename) BuildRequires: perl(Getopt::ArgvFile) BuildRequires: perl(Getopt::Long) BuildRequires: perl(Pod::Usage) %description HTML::TextToHTML converts plain text files into HTML. The txt2html script uses this module to do the same from the command-line. It supports headings, tables, lists, simple character markup, and hyperlinking, and is highly customizable. It recognizes some of the apparent structure of the source document (mostly whitespace and typographic layout), and attempts to mark that structure explicitly using HTML. The purpose for this tool is to provide an easier way of converting existing text documents to HTML format, giving something nicer than just whapping the text in a PRE block. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes DEVNOTES README TODO %{perl_files -b -m} %changelog * Tue Nov 13 2007 Marius Feraru - 2.46-1.n0i.17 - version 2.46 - spec update (new reb00t build tools) - dropped script install bits (fixed upstream) * Tue May 22 2007 Marius Feraru - 2.45-1.n0i.16 - version 2.45 * Thu Feb 02 2006 Marius Feraru 2.44-1.n0i.15 - version 2.44 * Wed Oct 12 2005 Marius Feraru 2.43-1.n0i.14 - version 2.43 * Wed Aug 10 2005 Marius FERARU 2.42-1.n0i.13 - version 2.42 * Sun Jul 24 2005 Marius Feraru 2.41-1.n0i.12 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - version 2.41 * Sun Mar 20 2005 Marius Feraru 0:2.40-3.n0i.11 - automatic rebuild (perl 5.8.6) * Tue Feb 15 2005 Marius FERARU 0:2.40-3.n0i.10 - version 2.40 * Thu Jan 13 2005 Marius FERARU 0:2.34-2.n0i.9 - version 2.34 - spec updates: build system switched to Module::Build * Sun Dec 05 2004 Marius Feraru 0:2.25-1.n0i.8 - automatic rebuild (perl 5.8.6) * Wed Jun 30 2004 Marius FERARU 0:2.25-1.n0i.7 - version 2.25 * Fri Apr 30 2004 Marius Feraru 0:2.23-1.n0i.6 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Fri Mar 19 2004 Marius FERARU 0:2.23-1.n0i.5 - version 2.23 * Wed Feb 25 2004 Marius FERARU 0:2.22-1.n0i.4 - version 2.22 * Wed Feb 11 2004 Marius FERARU 0:2.21-1.n0i.3 - version 2.21 * Thu Jan 29 2004 Marius FERARU 0:2.20-0.n0i.2 - version 2.20 * Fri Oct 31 2003 Marius FERARU 0:2.03-0.n0i.1 - version 2.03 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001