8
0
Files
perl-HTML-Scrubber/perl-HTML-Scrubber.spec

48 lines
1.1 KiB
RPMSpec
Raw Normal View History

%define modname HTML-Scrubber
Name: perl-%{modname}
Version: 0.08
Release: 1
Summary: Perl Extension for Scrubbing/Sanitizing HTML
Requires: perl-HTML-Parser
BuildRequires: perl perl-HTML-Parser
License: GPL/Artistic
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/P/PO/PODMASTER/%{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
URL: http://search.cpan.org/dist/HTML-Scrubber/
%{perl_requires}
%description
If you wanna "scrub" or "sanitize" html input in a reliable an flexible
fashion, then this module is for you.
Authors:
--------
D.H. (PodMaster)
%prep
%setup -q -n %{modname}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes LICENSE README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/HTML/Scrubber.pm
%{perl_vendorarch}/auto/HTML/Scrubber
%changelog