perl-URI/perl-URI.spec

64 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:13:38 -04:00
Name: perl-URI
2021-12-03 17:17:20 +08:00
Version: 5.10
Release: 2
2019-09-30 11:13:38 -04:00
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
2019-09-30 11:13:38 -04:00
%prep
%autosetup -n URI-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
2019-12-25 16:03:53 +08:00
%{_fixperms} %{buildroot}/*
2019-09-30 11:13:38 -04:00
%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
* Tue Oct 25 2022 jiangchuangang <jiangchuangang@huawei.com> - 5.10-2
- use macros package_help
* Fri Dec 3 2021 guozhaorui <guozhaorui1@huawei.com> - 5.10-1
2021-12-03 17:17:20 +08:00
- update version to 5.10
2021-01-29 11:13:19 +08:00
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 5.06-1
- upgrade version to 5.06
2019-12-25 16:03:53 +08:00
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.74-3
- Change mod of files
2019-09-30 11:13:38 -04:00
* 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