[packages/perl-Capture-Tiny] - updated to 0.22 - pl, completed packaging

qboosh qboosh at pld-linux.org
Sun Oct 13 17:04:19 CEST 2013


commit 6131258aa7e8ed20a48bcd3bc533e2b15d89e1e0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 13 17:03:29 2013 +0200

    - updated to 0.22
    - pl, completed packaging

 perl-Capture-Tiny.spec | 36 +++++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)
---
diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec
index b655db5..c80b4e4 100644
--- a/perl-Capture-Tiny.spec
+++ b/perl-Capture-Tiny.spec
@@ -6,19 +6,22 @@
 %define		pnam	Tiny
 %include	/usr/lib/rpm/macros.perl
 Summary:	Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8):	Capture::Tiny - przechwytywanie STDOUT i STDERR z Perla, XS lub programów zewnętrznych
 Name:		perl-Capture-Tiny
-Version:	0.15
+Version:	0.22
 Release:	1
-License:	apache
+License:	Apache v2.0
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
-# Source0-md5:	7e9a7b8f0ad8134759599a78585d26a6
-# generic URL, check or change before uncommenting
-#URL:		http://search.cpan.org/dist/Capture-Tiny/
+# Source0-md5:	f270ee3682aabf10747592f6c05ef7ba
+URL:		http://search.cpan.org/dist/Capture-Tiny/
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.30
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires:	perl-Inline
+BuildRequires:	perl-Inline-C
+BuildRequires:	perl-Test-Simple
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,7 +39,18 @@ This module was heavily inspired by IO::CaptureOutput, which provides
 similar functionality without the ability to tee output and with more
 complicated code and API.
 
-# %description -l pl.UTF-8 # TODO
+%description -l pl.UTF-8
+Capture::Tiny dostarcza prosty, przenośny sposób przechwytywania
+wszystkiego, co zostało przesłane na STDOUT lub STDERR, niezależnie od
+tego, czy pochodzi z Perla, kodu XS lub programu zewnętrznego.
+Opcjonalnie może działać jak tee, podczas przechwytywania przekazując
+dane do oryginalnych uchwytów. Moduł działa nawet pod Windows. Nie
+trzeba zgadywać, który z modułów przechwytujących działa w danej
+sytuacji.
+
+Ten moduł był w dużym stopniu inspirowany modułem IO::CaptureOutput,
+który zapewnia podobną funkcjonalność bez możliwości przekazywania
+wyjścia jak tee i ma nieco bardziej złożone API.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -54,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{_examplesdir}
 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
@@ -62,8 +76,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README
+%doc Changes README Todo
 %dir %{perl_vendorlib}/Capture
-%{perl_vendorlib}/Capture/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Capture/Tiny.pm
+%{_mandir}/man3/Capture::Tiny.3pm*
 %{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Capture-Tiny.git/commitdiff/6131258aa7e8ed20a48bcd3bc533e2b15d89e1e0



More information about the pld-cvs-commit mailing list