[packages/perl-Mixin-Linewise] - pl, rpm macros for perl dependency generators
qboosh
qboosh at pld-linux.org
Wed Jun 1 06:37:26 CEST 2022
commit 3dbd1f8cd12fc28f622d448550ad77260d8fdce5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jun 1 06:38:35 2022 +0200
- pl, rpm macros for perl dependency generators
perl-Mixin-Linewise.spec | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec
index 12c0777..47ed1a7 100644
--- a/perl-Mixin-Linewise.spec
+++ b/perl-Mixin-Linewise.spec
@@ -5,7 +5,7 @@
%define pdir Mixin
%define pnam Linewise
Summary: Mixin::Linewise - write your linewise code for handles; this does the rest
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8): Mixin::Linewise - wystarczy napisać kod liniowy dla uchwytów; ten moduł zrobi resztę
Name: perl-Mixin-Linewise
Version: 0.110
Release: 3
@@ -15,23 +15,31 @@ Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
# Source0-md5: 466b2b42a0cec2b163729fa581ac4b1d
Patch0: version.patch
-URL: http://search.cpan.org/dist/Mixin-Linewise/
+URL: https://metacpan.org/dist/Mixin-Linewise
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
-BuildRequires: perl(PerlIO::utf8_strict)
+BuildRequires: perl-PerlIO-utf8_strict
BuildRequires: perl-Sub-Exporter
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-It's boring to deal with opening files for IO, converting strings to
-handle-like objects, and all that. With Mixin::Linewise::Readers and
+It's boring to deal with opening files for I/O, converting strings to
+handle-like objects, and all that. With Mixin::Linewise::Readers and
Mixin::Linewise::Writers, you can just write a method to handle
handles, and methods for handling strings and filenames are added for
you.
+%description -l pl.UTF-8
+Czynności związane z otwieraniem plików do we/wy, przekształcaniem
+łańcuchów na obiekty uchwytów itd. są nudne. Dzięki
+Mixin::Linewise::Readers i Mixin::Linewise::Writers wystarczy napisać
+metodę obsługującą uchwyty, a metody do obsługi łańcuchów i nazw
+plików zostaną dodane za programistę.
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%patch0 -p1
@@ -56,6 +64,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes README
%dir %{perl_vendorlib}/Mixin
-%{perl_vendorlib}/Mixin/*.pm
+%{perl_vendorlib}/Mixin/Linewise.pm
%{perl_vendorlib}/Mixin/Linewise
-%{_mandir}/man3/*
+%{_mandir}/man3/Mixin::Linewise*.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Mixin-Linewise.git/commitdiff/3dbd1f8cd12fc28f622d448550ad77260d8fdce5
More information about the pld-cvs-commit
mailing list