>From c142fc866f3e0de100b25e7ce12e0f4239242742 Mon Sep 17 00:00:00 2001 From: Robert Scheck <rob...@fedoraproject.org> Date: Sun, 3 Jan 2016 22:38:59 +0100 Subject: Switch to URI-Find 0.16 because RHEL 5 only ships perl(Test::More) = 0.62
--- .gitignore | 1 + perl-URI-Find.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+) create mode 100644 .gitignore create mode 100644 perl-URI-Find.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4cac9e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/URI-Find-0.16.tar.gz diff --git a/perl-URI-Find.spec b/perl-URI-Find.spec new file mode 100644 index 0000000..2e8e7fd --- /dev/null +++ b/perl-URI-Find.spec @@ -0,0 +1,71 @@ +Name: perl-URI-Find +Version: 0.16 +Release: 3%{?dist} +# see lib/URI/Find.pm +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Find URIs in plain text +Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/URI-Find-%{version}.tar.gz +Url: http://search.cpan.org/dist/URI-Find +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(URI) >= 1.00 +BuildRequires: perl(URI::URL) >= 5.00 + + +%description +This module does one thing: Finds URIs and URLs in plain text. It finds +them quickly and it finds them *all* (or what URI::URL considers a URI to +be.) It only finds URIs which include a scheme (http:// or the like), for +something a bit less strict have a look at URI::Find::Schemeless. + +For a command-line interface, see Darren Chamberlain's 'urifind' script. +It's available from his CPAN directory: + + http://www.cpan.org/authors/id/D/DA/DARREN/ + +%prep +%setup -q -n URI-Find-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Thu Feb 26 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.16-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Dec 14 2008 Chris Weyl <cw...@alumni.drew.edu> 0.16-2 +- bump + +* Fri Dec 12 2008 Chris Weyl <cw...@alumni.drew.edu> 0.16-1 +- update for submission + +* Thu Dec 11 2008 Chris Weyl <cw...@alumni.drew.edu> 0.16-0.1 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.6) + diff --git a/sources b/sources index e69de29..43b9ec9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +339279e268cf37e629f54c1091f99a13 URI-Find-0.16.tar.gz -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-URI-Find.git/commit/?h=el5&id=c142fc866f3e0de100b25e7ce12e0f4239242742 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org