|
|
9c117d3 |
%global cpan_version v1.1.1
|
|
|
ba48b59 |
|
|
David Dick |
7fed7ae |
Name: perl-URI-Encode
|
|
|
ba48b59 |
Version: %(echo '%{cpan_version}' | tr -d 'v')
|
|
|
01cc105 |
Release: 2%{?dist}
|
|
David Dick |
7fed7ae |
Summary: Percent encoding/decoding for URIs
|
|
David Dick |
7fed7ae |
License: GPL+ or Artistic
|
|
David Dick |
7fed7ae |
Group: Development/Libraries
|
|
David Dick |
7fed7ae |
URL: http://search.cpan.org/dist/URI-Encode/
|
|
|
ba48b59 |
Source0: http://www.cpan.org/modules/by-module/URI/URI-Encode-%{cpan_version}.tar.gz
|
|
David Dick |
7fed7ae |
BuildArch: noarch
|
|
David Dick |
7fed7ae |
BuildRequires: perl
|
|
|
9c117d3 |
BuildRequires: perl-generators
|
|
David Dick |
7fed7ae |
BuildRequires: perl(base)
|
|
David Dick |
7fed7ae |
BuildRequires: perl(Carp)
|
|
David Dick |
7fed7ae |
BuildRequires: perl(Encode) >= 2.12
|
|
David Dick |
7fed7ae |
BuildRequires: perl(Exporter)
|
|
David Dick |
7fed7ae |
BuildRequires: perl(Module::Build)
|
|
David Dick |
7fed7ae |
BuildRequires: perl(strict)
|
|
David Dick |
7fed7ae |
BuildRequires: perl(Test::More)
|
|
David Dick |
7fed7ae |
BuildRequires: perl(warnings)
|
|
David Dick |
7fed7ae |
Requires: perl(Encode) >= 2.12
|
|
David Dick |
7fed7ae |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%{?perl_default_filter}
|
|
David Dick |
7fed7ae |
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Encode\\)$
|
|
David Dick |
7fed7ae |
%description
|
|
David Dick |
7fed7ae |
This module provides a method to encode strings (mainly URLs) into a format
|
|
David Dick |
7fed7ae |
which can be pasted into a plain text emails, and that those links are
|
|
David Dick |
7fed7ae |
'click-able' by the person reading that email. This can be accomplished by NOT
|
|
David Dick |
7fed7ae |
encoding the reserved characters.
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%prep
|
|
|
ba48b59 |
%setup -q -n URI-Encode-%{cpan_version}
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%build
|
|
David Dick |
7fed7ae |
%{__perl} Build.PL installdirs=vendor
|
|
David Dick |
7fed7ae |
./Build
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%install
|
|
David Dick |
7fed7ae |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%check
|
|
David Dick |
7fed7ae |
./Build test
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%files
|
|
|
ba48b59 |
%license LICENSE
|
|
|
ba48b59 |
%doc Changes README
|
|
David Dick |
7fed7ae |
%{perl_vendorlib}/*
|
|
David Dick |
7fed7ae |
%{_mandir}/man3/*
|
|
David Dick |
7fed7ae |
|
|
David Dick |
7fed7ae |
%changelog
|
|
|
01cc105 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
01cc105 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
01cc105 |
|
|
|
9c117d3 |
* Thu Jun 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.1-1
|
|
|
9c117d3 |
- 1.1.1 bump
|
|
|
9c117d3 |
|
|
|
7a25d97 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.0.1-3
|
|
|
7a25d97 |
- Perl 5.24 rebuild
|
|
|
7a25d97 |
|
|
|
04c59f2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
|
04c59f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
04c59f2 |
|
|
|
ba48b59 |
* Wed Aug 26 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.0.1-1
|
|
|
ba48b59 |
- 1.0.1 bump
|
|
|
ba48b59 |
|
|
|
82cb8a8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
|
|
|
82cb8a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
82cb8a8 |
|
|
|
22f60af |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-2
|
|
|
22f60af |
- Perl 5.22 rebuild
|
|
|
22f60af |
|
|
David Dick |
7fed7ae |
* Wed Oct 01 2014 David Dick <ddick@cpan.org> - 0.09-1
|
|
David Dick |
7fed7ae |
- Initial release
|