|
|
eb7e65e |
Name: perl-HTML-FormatText-WithLinks
|
|
|
28975b6 |
Version: 0.15
|
|
|
e9f8037 |
Release: 4%{?dist}
|
|
|
eb7e65e |
Summary: HTML to text conversion with links as footnotes
|
|
|
eb7e65e |
|
|
|
eb7e65e |
Group: Development/Libraries
|
|
|
0a13211 |
License: GPL+ or Artistic
|
|
|
eb7e65e |
URL: http://search.cpan.org/dist/HTML-FormatText-WithLinks
|
|
|
eb7e65e |
Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STRUAN/HTML-FormatText-WithLinks-%{version}.tar.gz
|
|
|
eb7e65e |
|
|
|
eb7e65e |
BuildArch: noarch
|
|
|
0858ca5 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
28975b6 |
# Run-time
|
|
|
28975b6 |
BuildRequires: perl(base)
|
|
|
28975b6 |
BuildRequires: perl(HTML::FormatText)
|
|
|
28975b6 |
BuildRequires: perl(HTML::TreeBuilder)
|
|
|
28975b6 |
BuildRequires: perl(strict)
|
|
|
eb7e65e |
BuildRequires: perl(URI::WithBase)
|
|
|
28975b6 |
BuildRequires: perl(vars)
|
|
|
28975b6 |
# Tests
|
|
|
28975b6 |
BuildRequires: perl(Test::More)
|
|
|
28975b6 |
# Optional tests
|
|
|
28975b6 |
BuildRequires: perl(Test::MockObject)
|
|
|
28975b6 |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
28975b6 |
BuildRequires: perl(Test::Pod::Coverage) >= 0.08
|
|
|
28975b6 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
f401c98 |
# not picked up automatically since it is called through SUPER
|
|
|
28975b6 |
Requires: perl(HTML::FormatText) >= 2
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%description
|
|
|
eb7e65e |
HTML::FormatText::WithLinks takes HTML and turns it into plain text but
|
|
|
eb7e65e |
prints all the links in the HTML as footnotes. By default, it attempts
|
|
|
eb7e65e |
to mimic the format of the lynx text based web browser's --dump option.
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%prep
|
|
|
eb7e65e |
%setup -q -n HTML-FormatText-WithLinks-%{version}
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%build
|
|
|
28975b6 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
eb7e65e |
make %{?_smp_mflags}
|
|
|
eb7e65e |
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%install
|
|
|
28975b6 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
eb7e65e |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
eb7e65e |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%check
|
|
|
eb7e65e |
make test
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%files
|
|
|
eb7e65e |
%doc Changes README
|
|
|
eb7e65e |
%{perl_vendorlib}/*
|
|
|
eb7e65e |
%{_mandir}/man3/*.3*
|
|
|
eb7e65e |
|
|
|
eb7e65e |
|
|
|
eb7e65e |
%changelog
|
|
|
e9f8037 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-4
|
|
|
e9f8037 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e9f8037 |
|
|
|
5e36c30 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-3
|
|
|
5e36c30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5e36c30 |
|
|
|
ce0cf2a |
* Tue Jun 09 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-2
|
|
|
ce0cf2a |
- Perl 5.22 rebuild
|
|
|
ce0cf2a |
|
|
|
28975b6 |
* Tue Feb 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-1
|
|
|
28975b6 |
- 0.15 bump; Update BRs
|
|
|
28975b6 |
- Modernize spec file
|
|
|
28975b6 |
|
|
|
e68520e |
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-11
|
|
|
e68520e |
- Perl 5.20 rebuild
|
|
|
e68520e |
|
|
|
42422ad |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-10
|
|
|
42422ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
42422ad |
|
|
|
e212580 |
* Sun Aug 04 2013 Petr Pisar <ppisar@redhat.com> - 0.14-9
|
|
|
e212580 |
- Perl 5.18 rebuild
|
|
|
e212580 |
|
|
|
9dbc7cf |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-8
|
|
|
9dbc7cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9dbc7cf |
|
|
|
c5461ad |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-7
|
|
|
c5461ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c5461ad |
|
|
|
7a59bf9 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-6
|
|
|
7a59bf9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7a59bf9 |
|
|
|
38eecd9 |
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.14-5
|
|
|
38eecd9 |
- Perl 5.16 rebuild
|
|
|
38eecd9 |
|
|
|
f4b46e9 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
|
|
|
f4b46e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f4b46e9 |
|
|
Petr Sabata |
36e864e |
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.14-3
|
|
Petr Sabata |
36e864e |
- Perl mass rebuild
|
|
Petr Sabata |
36e864e |
|
|
|
8ab0ffd |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
|
|
|
8ab0ffd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8ab0ffd |
|
|
|
9bff80e |
* Mon Dec 13 2010 Petr Sabata <psabata@redhat.com> - 0.14-1
|
|
|
9bff80e |
- 0.14 bump
|
|
|
9bff80e |
|
|
|
0a21e41 |
* Thu Dec 2 2010 Petr Sabata <psabata@redhat.com> - 0.12-1
|
|
|
0a21e41 |
- 0.12 bump
|
|
|
0a21e41 |
|
|
|
69e0bc8 |
* Wed Sep 15 2010 Petr Pisar <ppisar@redhat.com> - 0.11-1
|
|
|
69e0bc8 |
- 0.11 bump
|
|
|
69e0bc8 |
|
|
|
f0bca47 |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-8
|
|
|
f0bca47 |
- Mass rebuild with perl-5.12.0
|
|
|
f0bca47 |
|
|
|
de8e8b6 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.09-7
|
|
|
de8e8b6 |
- rebuild against perl 5.10.1
|
|
|
de8e8b6 |
|
|
|
f2c9a7b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-6
|
|
|
f2c9a7b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f2c9a7b |
|
|
|
0d02b35 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-5
|
|
|
0d02b35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0d02b35 |
|
|
|
c216712 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-4
|
|
|
c216712 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c216712 |
|
|
|
0a13211 |
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.09-3
|
|
|
0a13211 |
- fix license tag (it may be correct, but its flagging as a false positive on checks)
|
|
|
0a13211 |
|
|
|
28d06de |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.09-2
|
|
|
0a13211 |
- Rebuild for new perl
|
|
|
28d06de |
|
|
|
0858ca5 |
* Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.09-1
|
|
|
0858ca5 |
- update to 0.09
|
|
|
0858ca5 |
|
|
|
f98169f |
* Sun Sep 17 2006 Patrice Dumas <pertusus@free.fr> 0.07-1
|
|
|
f98169f |
- update to 0.07
|
|
|
f98169f |
|
|
|
f401c98 |
* Fri Sep 15 2006 Patrice Dumas <pertusus@free.fr> 0.06-3
|
|
|
f401c98 |
- add Requires for perl(HTML::FormatText), fix #206729
|
|
|
f401c98 |
|
|
|
eb7e65e |
* Tue Aug 29 2006 Patrice Dumas <pertusus@free.fr> 0.06-2
|
|
|
eb7e65e |
- added BuildRequires for tests
|
|
|
eb7e65e |
|
|
|
eb7e65e |
* Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.06-1
|
|
|
eb7e65e |
- Initial packaging
|