Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 689af73f680dd7234b72ee01b04fc24c > files > 2

perl-Template-Plugin-Clickable-Email-0.01-1mdv2007.1.src.rpm

%define module  Template-Plugin-Clickable-Email
%define name    perl-%{module}
%define version 0.01
%define release %mkrel 1

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Make email addresses in to HTML links
License:        Artistic
group:          Development/Perl
Url:            http://search.cpan.org/dist/%{module}
Source:         http://www.cpan.org/modules/by-module/Template/%{module}-%{version}.tar.bz2
Buildrequires:  perl(Module::Build)
Buildrequires:  perl(Template)
Buildrequires:  perl(Email::Find)
buildArch:      noarch
buildRoot:      %{_tmppath}/%{name}-%{version}

%description
Template::Plugin::Clickable::Email converts any e-mail addresses found in the
filtered text in to HTML mailto: links.

This module uses Email::Find, see the documentation for that module for caveats
relating to how addresses are parsed, and why some false positives may occur.

%prep
%setup -q -n %{module}-%{version} 

%build
%{__perl} Build.PL installdirs=vendor
./Build

%check
./Build test

%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot}

%clean
rm -rf %{buildroot}

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


%changelog
* Fri Mar 09 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-1mdv2007.1
+ Revision: 138868
- Imported perl-Template-Plugin-Clickable-Email-0.01-1mdv2007.1 into SVN repository.



* Fri Mar 09 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-1mdv2007.1
- first mdv release