Package init
This commit is contained in:
commit
1fd5e524da
BIN
URI-1.76.tar.gz
Normal file
BIN
URI-1.76.tar.gz
Normal file
Binary file not shown.
55
perl-URI.spec
Normal file
55
perl-URI.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-URI
|
||||||
|
Version: 1.76
|
||||||
|
Release: 2
|
||||||
|
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
|
||||||
|
|
||||||
|
%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 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
|
||||||
Loading…
x
Reference in New Issue
Block a user