[packages/perl-Import-Into] - updated to 1.002005 - pl
qboosh
qboosh at pld-linux.org
Fri Jan 8 22:47:15 CET 2016
commit f07be0ae08341bbeae3f7f154b1cbbbd67c06bcb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jan 8 22:49:17 2016 +0100
- updated to 1.002005
- pl
perl-Import-Into.spec | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)
---
diff --git a/perl-Import-Into.spec b/perl-Import-Into.spec
index d7eccca..ecdc29a 100644
--- a/perl-Import-Into.spec
+++ b/perl-Import-Into.spec
@@ -6,17 +6,21 @@
%define pnam Into
%include /usr/lib/rpm/macros.perl
Summary: Import::Into - import packages into other packages
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8): Import::Into - import pakietów do innych pakietów
Name: perl-Import-Into
-Version: 1.002000
+Version: 1.002005
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-authors/id/H/HA/HAARG/Import-Into-1.002000.tar.gz
-# Source0-md5: 6c51779d26d665d9858a71117d52e8a5
+Source0: http://www.cpan.org/modules/by-authors/id/H/HA/HAARG/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 48bdc7988f5a7d4d06039ccc5c2459e9
URL: http://search.cpan.org/dist/Import-Into/
BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires: perl-Module-Runtime
+BuildRequires: perl-Test-Simple
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,15 +30,24 @@ Writing exporters is a pain. Some use Exporter, some use
Sub::Exporter, some use Moose::Exporter, some use Exporter::Declare
... and some things are pragmas.
-Exporting on someone else's behalf is harder. The exporters don't
+Exporting on someone else's behalf is harder. The exporters don't
provide a consistent API for this, and pragmas need to have their
import method called directly, since they effect the current unit
of compilation.
Import::Into provides global methods to make this painless.
-# %description -l pl.UTF-8
-# TODO
+%description -l pl.UTF-8
+Pisanie eksporterów boli. Niektórzy używają modułu Exporter, niektórzy
+Sub::Exporter, niektórzy Moose::Exporter, niektórzy
+Exporter::Declare... a niektóre elementy to pragma.
+
+Eksportowanie w czyimś imieniu jest trudniejsze. Eksportery nie
+udostępniają do tego spójnego API, a pragma muszą mieć metodę
+importującą wywołaną bezpośrednio, ponieważ wpływają na bieżącą
+jednostkę kompilacji.
+
+Import::Into udostępnia globalne metody czyniące to bezbolesnym.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -59,5 +72,5 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes README
%dir %{perl_vendorlib}/Import
-%{perl_vendorlib}/Import/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Import/Into.pm
+%{_mandir}/man3/Import::Into.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Import-Into.git/commitdiff/f07be0ae08341bbeae3f7f154b1cbbbd67c06bcb
More information about the pld-cvs-commit
mailing list