From 829ecba2318dc950333a81d2d52786f79d18aac6 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 22 Jul 2022 15:14:05 +0900 Subject: [PATCH] Bump to perl-URI 5.12 Change-Id: Ib05eec74177f8d3dc314dde1cdc5afcf0be008b7 --- packaging/perl-URI.manifest | 5 +++++ packaging/perl-URI.spec | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 packaging/perl-URI.manifest create mode 100644 packaging/perl-URI.spec diff --git a/packaging/perl-URI.manifest b/packaging/perl-URI.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/perl-URI.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/perl-URI.spec b/packaging/perl-URI.spec new file mode 100644 index 0000000..1f873d4 --- /dev/null +++ b/packaging/perl-URI.spec @@ -0,0 +1,34 @@ +Name: perl-URI +Version: 5.12 +Release: 1 +License: GPL-1.0 or Artistic-1.0 +Summary: A Perl module implementing URI parsing and manipulation +Url: http://search.cpan.org/dist/URI/ +Group: Development/Libraries +Source0: URI-%{version}.tar.gz +Source1001: perl-URI.manifest + +BuildRequires: perl +BuildRequires: perl(MIME::Base64) + +%description +This module implements the URI class. Objects of this class represent +"Uniform Resource Identifier references" as specified in RFC 2396 (and +updated by RFC 2732). + +%prep +%setup -q -n URI-%{version} +cp %{SOURCE1001} . + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%manifest %{name}.manifest +%license LICENSE -- 2.7.4