|
|
74b7cc3 |
Name: perl-HTML-StripScripts-Parser
|
|
|
dd3e901 |
Version: 1.03
|
|
|
2e1955d |
Release: 12%{?dist}
|
|
|
74b7cc3 |
Summary: XSS filter using HTML::Parser
|
|
|
74b7cc3 |
License: GPL+ or Artistic
|
|
|
74b7cc3 |
Group: Development/Libraries
|
|
|
74b7cc3 |
URL: http://search.cpan.org/dist/HTML-StripScripts-Parser/
|
|
|
dd3e901 |
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/HTML-StripScripts-Parser-%{version}.tar.gz
|
|
|
74b7cc3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
74b7cc3 |
BuildArch: noarch
|
|
|
74b7cc3 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
74b7cc3 |
BuildRequires: perl(HTML::Parser) >= 3.56
|
|
|
74b7cc3 |
BuildRequires: perl(HTML::StripScripts) >= 1.04
|
|
|
74b7cc3 |
BuildRequires: perl(Test::More)
|
|
|
dd3e901 |
BuildRequires: perl(Test::Pod)
|
|
|
dd3e901 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
74b7cc3 |
Requires: perl(HTML::Parser) >= 3.56
|
|
|
74b7cc3 |
Requires: perl(HTML::StripScripts) >= 1.04
|
|
|
74b7cc3 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%description
|
|
|
74b7cc3 |
This class provides an easy interface to HTML::StripScripts, using
|
|
|
74b7cc3 |
HTML::Parser to parse the HTML.
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%prep
|
|
|
74b7cc3 |
%setup -q -n HTML-StripScripts-Parser-%{version}
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%build
|
|
|
74b7cc3 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
74b7cc3 |
make %{?_smp_mflags}
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%install
|
|
|
74b7cc3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
74b7cc3 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%check
|
|
|
74b7cc3 |
make test
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%clean
|
|
|
74b7cc3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%files
|
|
|
74b7cc3 |
%defattr(-,root,root,-)
|
|
|
74b7cc3 |
%doc Changes README
|
|
|
74b7cc3 |
%{perl_vendorlib}/*
|
|
|
74b7cc3 |
%{_mandir}/man3/*
|
|
|
74b7cc3 |
|
|
|
74b7cc3 |
%changelog
|
|
|
2e1955d |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-12
|
|
|
2e1955d |
- Perl 5.20 rebuild
|
|
|
2e1955d |
|
|
|
54dba05 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-11
|
|
|
54dba05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
54dba05 |
|
|
|
65d60a8 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-10
|
|
|
65d60a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
65d60a8 |
|
|
|
936e6be |
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 1.03-9
|
|
|
936e6be |
- Perl 5.18 rebuild
|
|
|
936e6be |
|
|
|
9fa1e85 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-8
|
|
|
9fa1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9fa1e85 |
|
|
|
c989208 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7
|
|
|
c989208 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c989208 |
|
|
|
888246d |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.03-6
|
|
|
888246d |
- Perl 5.16 rebuild
|
|
|
888246d |
|
|
|
201ea6c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-5
|
|
|
201ea6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
201ea6c |
|
|
|
4a9dabb |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-4
|
|
|
4a9dabb |
- Perl mass rebuild
|
|
|
4a9dabb |
|
|
|
4140946 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
|
|
|
4140946 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4140946 |
|
|
|
9151a23 |
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-2
|
|
|
9151a23 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
9151a23 |
|
|
|
dd3e901 |
* Tue Dec 14 2010 Xavier Bachelot <xavier@bachelot.org> 1.03-1
|
|
|
dd3e901 |
- Update to 1.03.
|
|
|
dd3e901 |
- Update Source0 URL.
|
|
|
dd3e901 |
- BuildRequires perl(Test::Pod) and perl(Test::Pod::Coverage).
|
|
|
dd3e901 |
|
|
|
f858187 |
* Sun Dec 12 2010 Iain Arnell <iarnell@gmail.com> 1.02-5
|
|
|
f858187 |
- doesn't require perl(Test::More)
|
|
|
f858187 |
|
|
|
c61b8ce |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-4
|
|
|
c61b8ce |
- Mass rebuild with perl-5.12.0
|
|
|
c61b8ce |
|
|
|
9b98fab |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.02-3
|
|
|
9b98fab |
- rebuild against perl 5.10.1
|
|
|
9b98fab |
|
|
|
7b0d056 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-2
|
|
|
7b0d056 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7b0d056 |
|
|
|
74b7cc3 |
* Fri Apr 24 2009 Xavier Bachelot <xavier@bachelot.org> 1.02-1
|
|
|
74b7cc3 |
- Specfile autogenerated by cpanspec 1.77.
|