Package init
This commit is contained in:
commit
b45214665e
BIN
Module-Metadata-1.000036.tar.gz
Normal file
BIN
Module-Metadata-1.000036.tar.gz
Normal file
Binary file not shown.
56
perl-Module-Metadata.spec
Normal file
56
perl-Module-Metadata.spec
Normal file
@ -0,0 +1,56 @@
|
||||
Name: perl-Module-Metadata
|
||||
Version: 1.000036
|
||||
Release: 2
|
||||
Summary: Gather package and POD information from perl module files
|
||||
License: GPLv1+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-Metadata
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Metadata-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: findutils make perl perl-generators
|
||||
Requires: perl
|
||||
|
||||
%description
|
||||
This module provides a standard way to gather metadata about a .pm file
|
||||
through (mostly) static analysis and (some) code execution.
|
||||
When determining the version of a module, the $VERSION assignment is evaled,
|
||||
as is traditional in the CPAN toolchain.This module provides a standard way
|
||||
to gather metadata about a .pm file through (mostly) static analysis and
|
||||
(some) code execution. When determining the version of a module,
|
||||
the $VERSION assignment is evaled, as is traditional in the CPAN toolchain.
|
||||
|
||||
%package help
|
||||
Summary: Module::Metadata man page
|
||||
BuildArch: noarch
|
||||
|
||||
%description help
|
||||
This package provide %{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Metadata-%{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)
|
||||
%license LICENCE
|
||||
%doc Changes CONTRIBUTING README
|
||||
%{perl_vendorlib}/Module/
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/Module::Metadata.3*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.000036-2
|
||||
- Adjust requires
|
||||
|
||||
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.000036-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user