rpms/perl-HTML-StripScripts/F-10 perl-HTML-StripScripts.spec, NONE, 1.1 sources, 1.1, 1.2

Xavier Bachelot xavierb at fedoraproject.org
Wed Apr 29 17:51:47 UTC 2009


Author: xavierb

Update of /cvs/pkgs/rpms/perl-HTML-StripScripts/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25825/F-10

Modified Files:
	sources 
Added Files:
	perl-HTML-StripScripts.spec 
Log Message:
Import into F-9, F-10, F-11 and EL-5


--- NEW FILE perl-HTML-StripScripts.spec ---
Name:           perl-HTML-StripScripts
Version:        1.04
Release:        1%{?dist}
Summary:        Strip scripting constructs out of HTML
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/HTML-StripScripts/
Source0:        http://www.cpan.org/modules/by-module/HTML/HTML-StripScripts-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)

Requires:       perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module strips scripting constructs out of HTML, leaving as much non-
scripting markup in place as possible. This allows web applications to
display HTML originating from an untrusted source without introducing XSS
(cross site scripting) vulnerabilities.

%prep
%setup -q -n HTML-StripScripts-%{version}

%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 -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Sat Apr 25 2009 Xavier Bachelot <xavier at bachelot.org> 1.04-1
- Specfile autogenerated by cpanspec 1.77.
- Fix BR:s.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTML-StripScripts/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Apr 2009 03:09:23 -0000	1.1
+++ sources	29 Apr 2009 17:51:16 -0000	1.2
@@ -0,0 +1 @@
+aecd01e273bddbf60dca2a923163826d  HTML-StripScripts-1.04.tar.gz




More information about the Fedora-perl-devel-list mailing list