[perl-URI-Encode] Initial import (#1148365).
David Dick
ddick at fedoraproject.org
Tue Oct 7 18:43:51 UTC 2014
commit 7fed7ae4b31414aebe87bdba1ce04053c98cb726
Author: David Dick <ddick at cpan.org>
Date: Wed Oct 8 05:43:38 2014 +1100
Initial import (#1148365).
.gitignore | 1 +
perl-URI-Encode.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8cb3874 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/URI-Encode-0.09.tar.gz
diff --git a/perl-URI-Encode.spec b/perl-URI-Encode.spec
new file mode 100644
index 0000000..282f41c
--- /dev/null
+++ b/perl-URI-Encode.spec
@@ -0,0 +1,52 @@
+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 at cpan.org> - 0.09-1
+- Initial release
diff --git a/sources b/sources
index e69de29..d1c6547 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+369d5dd49215f3f591a1e5975609df27 URI-Encode-0.09.tar.gz
More information about the perl-devel
mailing list