[packages/perl-Mouse] - updated to 2.5.10

qboosh qboosh at pld-linux.org
Thu Jun 2 21:32:42 CEST 2022


commit c79495d0b96db41fb6f807355d5b36497ff88f96
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jun 2 21:33:52 2022 +0200

    - updated to 2.5.10

 perl-Mouse.spec | 71 ++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 50 insertions(+), 21 deletions(-)
---
diff --git a/perl-Mouse.spec b/perl-Mouse.spec
index 788f51d..f7a795f 100644
--- a/perl-Mouse.spec
+++ b/perl-Mouse.spec
@@ -1,27 +1,37 @@
 #
 # Conditional build:
-%bcond_without	tests		# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define	pdir	Mouse
 Summary:	Mouse - Moose minus the antlers
+Summary(pl.UTF-8):	Mouse - Moose minus poroże
 Name:		perl-Mouse
-Version:	2.5.9
-Release:	4
+Version:	2.5.10
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://search.cpan.org/CPAN/authors/id/S/SK/SKAJI/%{pdir}-v%{version}.tar.gz
-# Source0-md5:	ffc0f03b781a70a585097a97fe107d9f
-URL:		http://search.cpan.org/dist/Mouse/
-BuildRequires:	perl-devel >= 1:5.8.0
+Source0:	http://www.cpan.org/modules/by-authors/id/S/SK/SKAJI/%{pdir}-v%{version}.tar.gz
+# Source0-md5:	0dd19d703e14af71d723ba787d631858
+URL:		https://metacpan.org/dist/Mouse
+BuildRequires:	perl-Devel-PPPort >= 3.42
+BuildRequires:	perl-ExtUtils-ParseXS >= 3.22
+BuildRequires:	perl-Module-Build >= 0.4005
+BuildRequires:	perl-Module-Build-XSUtil >= 0.19
+BuildRequires:	perl-devel >= 1:5.8.5
+BuildRequires:	perl-version >= 0.9913
 BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-Module-Build-XSUtil
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires:	perl-ExtUtils-MakeMaker >= 6.42
-BuildRequires:	perl-Test-Exception >= 0.21
-BuildRequires:	perl-Test-Requires
-BuildRequires:	perl-Test-Simple >= 0.8
+BuildRequires:	perl(XSLoader) >= 0.02
+BuildRequires:	perl-Scalar-List-Utils >= 1.14
+BuildRequires:	perl-Test-Exception
+BuildRequires:	perl-Test-Fatal
 BuildRequires:	perl-Test-LeakTrace
+BuildRequires:	perl-Test-Output
+BuildRequires:	perl-Test-Requires
+BuildRequires:	perl-Test-Simple >= 0.88
+BuildRequires:	perl-Try-Tiny
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,9 +43,20 @@ been made over the years, the compile time penalty is a non-starter
 for some applications.
 
 Mouse aims to alleviate this by providing a subset of Moose's
-functionality, faster. In particular, L<Moose/has> is missing only a
+functionality, faster. In particular, Moose/has is missing only a
 few expert-level features.
 
+%description -l pl.UTF-8
+Moose jest cudowny. Lepiej używać Moose zamiast Mouse.
+
+Niestety, Moose jest nieco wolny. Mimo znaczących postępów w ostatnich
+latach, wzrost czasu kompilacji jest nieakceptowalny w niektórych
+zastosowaniach.
+
+Celem Mouse jest złagodzenie tej wady poprzez dostarczenie podzbioru
+funkcjonalności Moose, działającego szybciej. W szczególności
+Moose/has brakuje tylko kilku funkcji używanych przez ekspertów.
+
 %prep
 %setup -q -n %{pdir}-v%{version}
 
@@ -55,17 +76,25 @@ install -d $RPM_BUILD_ROOT%{perl_vendorlib}/MouseX
 
 ./Build install
 
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Mouse/Mouse.bs
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc Changes
-%{perl_vendorlib}/MouseX/
-%{perl_vendorarch}/*.pm
-%{perl_vendorarch}/Mouse/
-%{perl_vendorarch}/Squirrel/
-%{perl_vendorarch}/Test/*.pm
-%dir %{perl_vendorarch}/auto/%{pdir}
-%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/MouseX
+%{perl_vendorarch}/Mouse.pm
+%{perl_vendorarch}/Mouse
+%{perl_vendorarch}/Squirrel.pm
+%{perl_vendorarch}/Squirrel
+%{perl_vendorarch}/Test/Mouse.pm
+%{perl_vendorarch}/ouse.pm
+%dir %{perl_vendorarch}/auto/Mouse
+%attr(755,root,root) %{perl_vendorarch}/auto/Mouse/Mouse.so
+%{_mandir}/man3/Mouse.3pm*
+%{_mandir}/man3/Mouse::*.3pm*
+%{_mandir}/man3/Squirrel*.3pm*
+%{_mandir}/man3/Test::Mouse.3pm*
+%{_mandir}/man3/ouse.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Mouse.git/commitdiff/c79495d0b96db41fb6f807355d5b36497ff88f96



More information about the pld-cvs-commit mailing list