forked from pool/perl-HTML-Scrubber
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Scrubber?expand=0&rev=1
This commit is contained in:
47
perl-HTML-Scrubber.spec
Normal file
47
perl-HTML-Scrubber.spec
Normal 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
|
Reference in New Issue
Block a user