66 lines
1.6 KiB
RPMSpec
66 lines
1.6 KiB
RPMSpec
Name: perl-URI
|
|
Version: 5.10
|
|
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 Dec 3 2021 guozhaorui <guozhaorui1@huawei.com> - 5.10-1
|
|
- update version to 5.10
|
|
|
|
* 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
|