perl-URI/perl-URI.spec

60 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:13:38 -04:00
Name: perl-URI
Version: 1.76
2019-12-25 16:03:53 +08:00
Release: 3
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
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
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
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