[packages/perl-Test-CPAN-Meta] - pl, macros version
qboosh
qboosh at pld-linux.org
Mon May 23 16:44:19 CEST 2022
commit 026796b48aecc80735d64984f6d86a56dcb28270
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 23 16:45:11 2022 +0200
- pl, macros version
perl-Test-CPAN-Meta.spec | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
---
diff --git a/perl-Test-CPAN-Meta.spec b/perl-Test-CPAN-Meta.spec
index 89b31bc..b6979cc 100644
--- a/perl-Test-CPAN-Meta.spec
+++ b/perl-Test-CPAN-Meta.spec
@@ -1,10 +1,11 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Test
%define pnam CPAN-Meta
-Summary: Test::CPAN::Meta - Validate your CPAN META.yml files.
+Summary: Test::CPAN::Meta - Validate your CPAN META.yml files
+Summary(pl.UTF-8): Test::CPAN::Meta - sprawdzanie poprawności plików CPAN META.yml
Name: perl-Test-CPAN-Meta
Version: 0.25
Release: 1
@@ -12,23 +13,34 @@ License: artistic_2
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: d1582df35cc1e8875357702c687ed22f
-URL: http://search.cpan.org/dist/Test-CPAN-Meta/
+URL: https://metacpan.org/dist/Test-CPAN-Meta
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This distribution was written to ensure that a META.yml file, provided with a
-standard distribution uploaded to CPAN, meets the specifications that are
-slowly being introduced to module uploads, via the use of package makers and
-installers such as ExtUtils::MakeMaker, Module::Build and
-Module::Install.
+This distribution was written to ensure that a META.yml file, provided
+with a standard distribution uploaded to CPAN, meets the
+specifications that are slowly being introduced to module uploads, via
+the use of package makers and installers such as ExtUtils::MakeMaker,
+Module::Build and Module::Install.
See CPAN::Meta for further details of the CPAN Meta Specification.
+%description -l pl.UTF-8
+Ten pakiet powstał, aby zapewnić, że plik META.yml, dostarczany ze
+standardową dystrybucją przesyłaną do CPAN, jest zgodny ze
+specyfikacją powoli wprowadzaną do przesyłania modułów, poprzez użycie
+narzędzi do tworzenia i instalowania modułów, takich jak
+ExtUtils::MakeMaker, Module::Build czy Module::Install.
+
+Więcej szczegółów na temat CPAN Meta Specification można znaleźć w
+CPAN::Meta.
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -55,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes INSTALL README
%dir %{perl_vendorlib}/Test/CPAN
-%{perl_vendorlib}/Test/CPAN/*.pm
+%{perl_vendorlib}/Test/CPAN/Meta.pm
%{perl_vendorlib}/Test/CPAN/Meta
-%{_mandir}/man3/*
+%{_mandir}/man3/Test::CPAN::Meta*.3*
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Test-CPAN-Meta.git/commitdiff/026796b48aecc80735d64984f6d86a56dcb28270
More information about the pld-cvs-commit
mailing list