You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
4.2 KiB
118 lines
4.2 KiB
8 months ago
|
Name: perl-HTML-Scrubber
|
||
|
Version: 0.15
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Library for scrubbing/sanitizing html
|
||
|
Group: Development/Libraries
|
||
|
License: GPL+ or Artistic
|
||
|
URL: http://search.cpan.org/dist/HTML-Scrubber/
|
||
|
Source0: http://www.cpan.org/authors/id/P/PO/PODMASTER/HTML-Scrubber-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: perl(Test::More) perl(Test::EOL) perl(Test::Memory::Cycle) perl(Test::NoTabs)
|
||
|
BuildRequires: perl(Carp) perl(File::Spec) perl(File::Temp) perl(HTML::Entities)
|
||
|
BuildRequires: perl(HTML::Parser) perl(IO::Handle) perl(IPC::Open3) perl(Test::CPAN::Meta)
|
||
|
BuildRequires: perl(Module::Build) perl(Scalar::Util) perl(Test) perl(Test::More)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||
|
|
||
|
%description
|
||
|
If you wanna "scrub" or "sanitize" html input in a reliable an flexible
|
||
|
fashion, then this module is for you.
|
||
|
I wasn't satisfied with HTML::Sanitizer because it is based on
|
||
|
HTML::TreeBuilder, so I thought I'd write something similar that works
|
||
|
directly with HTML::Parser.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n HTML-Scrubber-%{version}
|
||
|
%{__perl} -pi -e 's/\r\n/\n/' Changes LICENSE README Scrubber.pm
|
||
|
|
||
|
%build
|
||
|
%{__perl} Build.PL --installdirs vendor
|
||
|
./Build
|
||
|
|
||
|
%install
|
||
|
./Build install --destdir $RPM_BUILD_ROOT
|
||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
./Build test
|
||
|
|
||
|
%files
|
||
|
%doc Changes LICENSE README
|
||
|
%{perl_vendorlib}/HTML/
|
||
|
%{_mandir}/man3/*.3pm*
|
||
|
|
||
|
%changelog
|
||
|
* Mon Oct 12 2015 Tom Callaway <spot@fedoraproject.org> - 0.15-1
|
||
|
- update to 0.15
|
||
|
|
||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-2
|
||
|
- Perl 5.22 rebuild
|
||
|
|
||
|
* Thu Jun 4 2015 Tom Callaway <spot@fedoraproject.org> - 0.14-1
|
||
|
- update to 0.14
|
||
|
|
||
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-2
|
||
|
- Perl 5.20 rebuild
|
||
|
|
||
|
* Tue Jun 24 2014 Tom Callaway <spot@fedoraproject.org> - 0.11-1
|
||
|
- 0.11
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-16
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-15
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.08-14
|
||
|
- Perl 5.16 rebuild
|
||
|
|
||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-13
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.08-12
|
||
|
- Perl mass rebuild
|
||
|
|
||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
|
||
|
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-10
|
||
|
- 661697 rebuild for fixing problems with vendorach/lib
|
||
|
|
||
|
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-9
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.08-8
|
||
|
- rebuild against perl 5.10.1
|
||
|
|
||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
|
||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||
|
|
||
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08-5.2
|
||
|
Rebuild for new perl
|
||
|
|
||
|
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08-4.2
|
||
|
- add BR: perl(Test::More)
|
||
|
|
||
|
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08-4.1
|
||
|
- correct license tag
|
||
|
- add BR: perl(ExtUtils::MakeMaker)
|
||
|
|
||
|
* Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-4
|
||
|
- Rebuild for FC6.
|
||
|
|
||
|
* Sat Feb 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-3
|
||
|
- Rebuild for FC5 (perl 5.8.8).
|
||
|
|
||
|
* Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-2
|
||
|
- Disttag.
|
||
|
|
||
|
* Wed Mar 23 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-1
|
||
|
- First build.
|