Summary: HTML Purifier is a standards-compliant HTML filter library written in PHP.
Name: htmlpurifier
Version: 4.0.0
Release: 1
License: LGPL
Group: Development/Languages
URL: http://htmlpurifier.org/
Packager: Alain PEYRAT
Source: http://htmlpurifier.org/releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: php >= 5.0.5
%description
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML
Purifier will not only remove all malicious code (better known as XSS) with a
thoroughly audited, secure yet permissive whitelist, it will also make sure
your documents are standards compliant, something only achievable with a
comprehensive knowledge of W3C's specifications.
Tired of using BBCode due to the current landscape of deficient or insecure
HTML filters? Have a WYSIWYG editor but never been able to use it?
Looking for high-quality, standards-compliant, open-source components for that
application you're building? HTML Purifier is for you!
%package docs
Summary: Documentation for package %{name}
Group: Documentation
%description docs
HTML Purifier is a standards-compliant HTML filter library written in PHP.
This package includes the documentation for %{name}.
%prep
%setup -n %{name}-%{version}
%build
%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_datadir}/php
%{__cp} -ar library/* %{buildroot}%{_datadir}/php
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{_datadir}/php/
%files docs
%defattr(-, root, root, 0755)
%doc art benchmarks configdoc CREDITS docs INSTALL INSTALL.fr.utf8 LICENSE NEWS README TODO VERSION WHATSNEW WYSIWYG
%changelog
* Sun Mar 28 2010 Alain Peyrat - 4.0.0-1
- Removed requirement to webserver, set php >= 5.0.5
* Thu Sep 24 2009 Alain Peyrat - 4.0.0-0
- Updated to v4.0.0
- Changed installation path to /usr/share/php to use the share path with debian.
* Mon Apr 27 2009 Nicolas GUERIN - 3.3.0
- Updated to v3.3.0
* Thu Jan 29 2009 Nicolas GUERIN - 3.2.0
- Updated to v3.2.0
* Fri Jun 27 2008 Nicolas GUERIN - 3.1.1
- Updated to v3.1.1
* Thu Mar 6 2008 Nicolas GUERIN - 3.0.0
- Updated to v3.0.0
* Mon Oct 8 2007 Nicolas GUERIN - 2.1.2-0
- Updated to v2.1.2. Removed cache config change during setup.
* Tue Jul 31 2007 Manuel VACELET - 2.0.1-0
- Initial package.