%define modname HTML-FromText Name: perl-%{modname} Version: 2.05 Release: 5 Summary: Convert plain text to HTML Requires: perl = %{perl_version} perl-Email-Find perl-Exporter-Lite Requires: perl-HTML-Parser BuildRequires: perl perl-Email-Find perl-Exporter-Lite perl-HTML-Parser License: GPL/Artistic Group: Development/Libraries/Perl Source: %{modname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root %description "HTML::FromText" converts plain text to HTML. There are a handfull of options that shape the conversion. Authors: -------- Casey West Gareth Rees %prep %setup -q -n %{modname}-%{version} %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make # One of these tests fails on SUSE 10.1 and up, but the results are actually # fine. I'm too lazy to fix the test, so I'll just disable it... %if %suse_version < 1010 make test %endif %install rm -rf %{buildroot} make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc README Changes ext %doc %{_mandir}/man?/* /usr/bin/text2html %{perl_vendorlib}/HTML/FromText.pm %{perl_vendorarch}/auto/HTML/FromText %changelog * Wed Jun 21 2006 - James Oakley - 2.05-5 - Disable test on SL 10.1 and up * Tue Jun 20 2006 - James Oakley - 2.05-4 - Build under buildservice * Fri Nov 11 2005 - James Oakley - 2.05-ft.3 - Build for SL10 * Thu May 12 2005 - James Oakley - 2.05-ft.2 - Build for SL93 * Fri Nov 19 2004 - James Oakley - 2.05-ft.1 - Build for SL92 * Tue May 11 2004 - James Oakley - 2.05-1 - Update - Build for SL91 * Sat Nov 01 2003 - James Oakley - 1.005-3 - Build for SUSE 9.0 * Fri May 30 2003 - James Oakley - 1.005-2 - Update - Build for SuSE 8.2 * Wed Dec 11 2002 - James Oakley - 1.005-1 - Initial build