8
0
2007-09-14 18:03:04 +00:00
committed by Git OBS Bridge
commit f60087aa11
4 changed files with 74 additions and 0 deletions

47
perl-HTML-Scrubber.spec Normal file
View File

@@ -0,0 +1,47 @@
%define modname HTML-Scrubber
Name: perl-%{modname}
Version: 0.08
Release: 1
Summary: Perl Extension for Scrubbing/Sanitizing HTML
Requires: perl = %{perl_version} perl-HTML-Parser
BuildRequires: perl perl-HTML-Parser
License: GPL/Artistic
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
%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
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
/var/adm/perl-modules/%{name}
%changelog
* Fri Sep 14 2007 - James Oakley <jfunk@funktronics.ca> - 0.08-1
- Initial release