File perl-URI-Encode.spec of Package perl-URI-Encode
Name: perl-URI-Encode
Version: 0.09
Release: 1%{?dist}
Summary: Percent encoding/decoding for URIs
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/URI-Encode/
Source0: http://www.cpan.org/modules/by-module/URI/URI-Encode-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Encode) >= 2.12
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Build)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
Requires: perl(Encode) >= 2.12
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Encode\\)$
%description
This module provides a method to encode strings (mainly URLs) into a format
which can be pasted into a plain text emails, and that those links are
'click-able' by the person reading that email. This can be accomplished by NOT
encoding the reserved characters.
%prep
%setup -q -n URI-Encode-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Oct 01 2014 David Dick <ddick@cpan.org> - 0.09-1
- Initial release