rpms/perl-HTML-Scrubber/devel perl-HTML-Scrubber.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Thu Sep 1 08:53:51 UTC 2005


Author: jpo

Update of /cvs/extras/rpms/perl-HTML-Scrubber/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5990/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-HTML-Scrubber.spec 
Log Message:
auto-import perl-HTML-Scrubber-0.08-2 on branch devel from perl-HTML-Scrubber-0.08-2.src.rpm


--- NEW FILE perl-HTML-Scrubber.spec ---
Name:           perl-HTML-Scrubber
Version:        0.08
Release:        2%{?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
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(HTML::Parser)
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} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$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
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* 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.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-Scrubber/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Sep 2005 08:53:15 -0000	1.1
+++ .cvsignore	1 Sep 2005 08:53:49 -0000	1.2
@@ -0,0 +1 @@
+HTML-Scrubber-0.08.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-Scrubber/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Sep 2005 08:53:15 -0000	1.1
+++ sources	1 Sep 2005 08:53:49 -0000	1.2
@@ -0,0 +1 @@
+abadf246e528f3e2d31717ef8a1d90f2  HTML-Scrubber-0.08.tar.gz




More information about the fedora-extras-commits mailing list