|
|
5dc79b |
Name: perl-HTML-FormatText-WithLinks
|
|
|
5dc79b |
Version: 0.14
|
|
|
c9b574 |
Release: 8%{?dist}
|
|
|
5dc79b |
Summary: HTML to text conversion with links as footnotes
|
|
|
5dc79b |
|
|
|
5dc79b |
Group: Development/Libraries
|
|
|
5dc79b |
License: GPL+ or Artistic
|
|
|
5dc79b |
URL: http://search.cpan.org/dist/HTML-FormatText-WithLinks
|
|
|
5dc79b |
Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STRUAN/HTML-FormatText-WithLinks-%{version}.tar.gz
|
|
|
5dc79b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5dc79b |
|
|
|
5dc79b |
BuildArch: noarch
|
|
|
5dc79b |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
5dc79b |
BuildRequires: perl(HTML::FormatText) perl(HTML::TreeBuilder)
|
|
|
5dc79b |
BuildRequires: perl(URI::WithBase)
|
|
|
5dc79b |
BuildRequires: perl(Test::MockObject) perl(Test::Pod::Coverage)
|
|
|
5dc79b |
BuildRequires: perl(Test::Pod) perl(Test::More)
|
|
|
5dc79b |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
5dc79b |
# not picked up automatically since it is called through SUPER
|
|
|
5dc79b |
Requires: perl(HTML::FormatText) >= 2
|
|
|
5dc79b |
|
|
|
5dc79b |
%description
|
|
|
5dc79b |
HTML::FormatText::WithLinks takes HTML and turns it into plain text but
|
|
|
5dc79b |
prints all the links in the HTML as footnotes. By default, it attempts
|
|
|
5dc79b |
to mimic the format of the lynx text based web browser's --dump option.
|
|
|
5dc79b |
|
|
|
5dc79b |
%prep
|
|
|
5dc79b |
%setup -q -n HTML-FormatText-WithLinks-%{version}
|
|
|
5dc79b |
|
|
|
5dc79b |
|
|
|
5dc79b |
%build
|
|
|
5dc79b |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
5dc79b |
make %{?_smp_mflags}
|
|
|
5dc79b |
|
|
|
5dc79b |
|
|
|
5dc79b |
%install
|
|
|
5dc79b |
rm -rf $RPM_BUILD_ROOT
|
|
|
5dc79b |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
5dc79b |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
5dc79b |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
5dc79b |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
5dc79b |
|
|
|
5dc79b |
|
|
|
5dc79b |
%check
|
|
|
5dc79b |
make test
|
|
|
5dc79b |
|
|
|
5dc79b |
|
|
|
5dc79b |
%clean
|
|
|
5dc79b |
rm -rf $RPM_BUILD_ROOT
|
|
|
5dc79b |
|
|
|
5dc79b |
|
|
|
5dc79b |
%files
|
|
|
5dc79b |
%defattr(-,root,root,-)
|
|
|
5dc79b |
%doc Changes README
|
|
|
5dc79b |
%{perl_vendorlib}/*
|
|
|
5dc79b |
%{_mandir}/man3/*.3*
|
|
|
5dc79b |
|
|
|
5dc79b |
|
|
|
5dc79b |
%changelog
|
|
|
c9b574 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.14-8
|
|
|
c9b574 |
- Mass rebuild 2013-12-27
|
|
|
c9b574 |
|
|
|
5dc79b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-7
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-6
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.14-5
|
|
|
5dc79b |
- Perl 5.16 rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.14-3
|
|
|
5dc79b |
- Perl mass rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Mon Dec 13 2010 Petr Sabata <psabata@redhat.com> - 0.14-1
|
|
|
5dc79b |
- 0.14 bump
|
|
|
5dc79b |
|
|
|
5dc79b |
* Thu Dec 2 2010 Petr Sabata <psabata@redhat.com> - 0.12-1
|
|
|
5dc79b |
- 0.12 bump
|
|
|
5dc79b |
|
|
|
5dc79b |
* Wed Sep 15 2010 Petr Pisar <ppisar@redhat.com> - 0.11-1
|
|
|
5dc79b |
- 0.11 bump
|
|
|
5dc79b |
|
|
|
5dc79b |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-8
|
|
|
5dc79b |
- Mass rebuild with perl-5.12.0
|
|
|
5dc79b |
|
|
|
5dc79b |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.09-7
|
|
|
5dc79b |
- rebuild against perl 5.10.1
|
|
|
5dc79b |
|
|
|
5dc79b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-6
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-5
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-4
|
|
|
5dc79b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
5dc79b |
|
|
|
5dc79b |
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.09-3
|
|
|
5dc79b |
- fix license tag (it may be correct, but its flagging as a false positive on checks)
|
|
|
5dc79b |
|
|
|
5dc79b |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.09-2
|
|
|
5dc79b |
- Rebuild for new perl
|
|
|
5dc79b |
|
|
|
5dc79b |
* Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.09-1
|
|
|
5dc79b |
- update to 0.09
|
|
|
5dc79b |
|
|
|
5dc79b |
* Sun Sep 17 2006 Patrice Dumas <pertusus@free.fr> 0.07-1
|
|
|
5dc79b |
- update to 0.07
|
|
|
5dc79b |
|
|
|
5dc79b |
* Fri Sep 15 2006 Patrice Dumas <pertusus@free.fr> 0.06-3
|
|
|
5dc79b |
- add Requires for perl(HTML::FormatText), fix #206729
|
|
|
5dc79b |
|
|
|
5dc79b |
* Tue Aug 29 2006 Patrice Dumas <pertusus@free.fr> 0.06-2
|
|
|
5dc79b |
- added BuildRequires for tests
|
|
|
5dc79b |
|
|
|
5dc79b |
* Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.06-1
|
|
|
5dc79b |
- Initial packaging
|