perl-Module-Metadata/perl-Module-Metadata.spec

64 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:12:54 -04:00
Name: perl-Module-Metadata
2020-05-11 21:20:23 +08:00
Version: 1.000037
Release: 1
2019-09-30 11:12:54 -04:00
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
2019-12-25 16:02:47 +08:00
Requires: perl perl(Fcntl)
2019-09-30 11:12:54 -04:00
%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
2019-12-25 16:02:47 +08:00
%{_fixperms} %{buildroot}/*
2019-09-30 11:12:54 -04:00
%check
make test
%files
%defattr(-,root,root)
%license LICENCE
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Module/
%files help
%{_mandir}/man3/Module::Metadata.3*
%changelog
2020-05-11 21:20:23 +08:00
* Mon May 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.000037-1
- Upgrade to 1.000037
2019-12-25 16:02:47 +08:00
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.000036-3
- Change mod of files and add requires
2019-09-30 11:12:54 -04:00
* 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