Name: perl-HTML-FromText Version: 2.05 Release: 10%{?dist} Summary: Convert plain text to HTML Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/HTML-FromText/ Source0: http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/HTML-FromText-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Email::Find::addrspec) >= 0.09 BuildRequires: perl(Exporter::Lite) >= 0.01 BuildRequires: perl(Scalar::Util) >= 1.12 BuildRequires: perl(HTML::Entities) >= 1.26 BuildRequires: perl(Text::Tabs) >= 98.1128 BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description "HTML::FromText" converts plain text to HTML. There are a handfull of options that shape the conversion. There is a utility function, "text2html", that's exported by default. This function is simply a short- cut to the Object Oriented interface described in detail below. %prep %setup -q -n HTML-FromText-%{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 {} ';' %{_fixperms} $RPM_BUILD_ROOT/* %check #Theses test are known to fail rm t/01_features.t rm t/02_v2.01.t make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{_bindir}/text2html %{perl_vendorlib}/HTML/ %{_mandir}/man3/*.3* %{_mandir}/man1/text2html.1.gz %changelog * Tue Jun 21 2011 Marcela Mašláňová - 2.05-10 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.05-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 2.05-8 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 2.05-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 2.05-6 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 2.05-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.05-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.05-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Sep 2 2008 kwizart < kwizart at gmail.com > - 2.05-2 - Add fixperms * Thu Jul 31 2008 kwizart < kwizart at gmail.com > - 2.05-1 - Initial package for Fedora