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