Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 321a8e62e8ffb84b5a3e200c7ca5ce55 > files > 2

perl-HTML-Strip-1.60.0-7.mga4.src.rpm

%define upstream_name    HTML-Strip
%define upstream_version 1.06

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

Summary:	Perl extension for stripping HTML markup from text
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-devel


%description
This module simply strips HTML-like markup from text in a very quick and
brutal manner. It could quite easily be used to strip XML or SGML from text
as well; but removing HTML markup is a much more common problem, hence this
module lives in the HTML:: namespace.

It is written in XS, and thus about five times quicker than using regular
expressions for the same task.

It does _not_ do any syntax checking (if you want that, use the
HTML::Parser manpage), instead it merely applies the following rules:

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

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

%{make}

%check
%{make} test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

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


%changelog
* Sat Oct 19 2013 umeabot <umeabot> 1.60.0-7.mga4
+ Revision: 524842
- Mageia 4 Mass Rebuild

* Wed May 29 2013 jquelin <jquelin> 1.60.0-6.mga4
+ Revision: 431575
- perl 5.18.0 rebuild

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

* Wed May 30 2012 jquelin <jquelin> 1.60.0-4.mga3
+ Revision: 250756
- rebuild for perl 5.16

* Sun Jun 12 2011 sander85 <sander85> 1.60.0-3.mga2
+ Revision: 104659
- Rebuild for perl 5.14

* Fri Jan 21 2011 jquelin <jquelin> 1.60.0-2.mga1
+ Revision: 30496
- mageia rebuild
- imported package perl-HTML-Strip