Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c069f93eb11ddf7934e9584d65b6e3f2 > files > 2

perl-HTML-StripTags-1.10.0-2.mga3.src.rpm

%define upstream_name    HTML-StripTags
%define upstream_version 1.01

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Strip tags from a string with Perl like PHP
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/HTML/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Switch)
BuildRequires: perl(Module::Build::Compat)
BuildArch: noarch

%description
HTML::StripTags provides the function strip_tags() that can strip all HTML
or XML tags from a string except the given allowed tags. This is a Perl
port of the PHP function strip_tags() based on PHP 5.3.3.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
rm -rf %buildroot
%makeinstall_std

%files
%doc Changes INSTALL LICENSE META.json META.yml README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1.10.0-2.mga3
+ Revision: 368141
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Jun 30 2011 jquelin <jquelin> 1.10.0-1.mga2
+ Revision: 116518
- imported package perl-HTML-StripTags