perl-URI/perl-URI.spec
2021-01-29 11:13:19 +08:00

63 lines
1.5 KiB
RPMSpec

Name: perl-URI
Version: 5.06
Release: 1
Summary: The Perl URI module implementation
License: GPLv1+ or Artistic 1.0
URL: https://metacpan.org/release/URI
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl perl-generators perl-ExtUtils-MakeMaker
BuildRequires: perl(Test::Needs)
Requires: perl perl-Encode perl-MIME-Base64 perl-Data-Dumper perl-libnet perl-PathTools
%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).
%package help
Summary: Man page for %{name}
BuildArch: noarch
%description help
%{summary}.
%prep
%autosetup -n URI-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root)
%doc Changes CONTRIBUTING.md
%license LICENSE
%{perl_vendorlib}/URI.pm
%{perl_vendorlib}/URI/
%files help
%defattr(-,root,root)
%{_mandir}/man3/URI*
%changelog
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 5.06-1
- upgrade version to 5.06
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.74-3
- Change mod of files
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.74-2
- Adjust requires
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.74-1
- Package init