X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=perl-Test-Simple.spec;h=9d81b5e9b88d75eee60c23bbc8c3ee6e8b8357de;hb=1125d11bbae713ee9b4fa4c1768e5e314a4bf8f0;hp=b49e0ca40c307eaeb81d0e23b17fa95f5651becb;hpb=4a2430a628315ad6cb34e163e5a708655b28deb5;p=packages%2Fperl-Test-Simple.git diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec index b49e0ca..9d81b5e 100644 --- a/perl-Test-Simple.spec +++ b/perl-Test-Simple.spec @@ -5,31 +5,17 @@ %include /usr/lib/rpm/macros.perl %define pdir Test %define pnam Simple -Summary: Test::Simple Perl module -Summary(cs): Modul Test::Simple pro Perl -Summary(da): Perlmodul Test::Simple -Summary(de): Test::Simple Perl Modul -Summary(es): Módulo de Perl Test::Simple -Summary(fr): Module Perl Test::Simple -Summary(it): Modulo di Perl Test::Simple -Summary(ja): Test::Simple Perl ¥â¥¸¥å¡¼¥ë -Summary(ko): Test::Simple ÆÞ ¸ðÁÙ -Summary(nb): Perlmodul Test::Simple -Summary(pl): Modu³ Perla Test::Simple -Summary(pt): Módulo de Perl Test::Simple -Summary(pt_BR): Módulo Perl Test::Simple -Summary(ru): íÏÄÕÌØ ÄÌÑ Perl Test::Simple -Summary(sv): Test::Simple Perlmodul -Summary(uk): íÏÄÕÌØ ÄÌÑ Perl Test::Simple -Summary(zh_CN): Test::Simple Perl Ä£¿é -Name: perl-%{pdir}-%{pnam} -Version: 0.47 -Release: 2 +Summary: Test::Simple - basic utilities for writing tests +Summary(pl): Test::Simple - podstawowe narzêdzia do pisania testów +Name: perl-Test-Simple +Version: 0.62 +Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: 4a6c12685bfeadfe8ff6fca70825f90c +# Source0-md5: a30f927c5dfff73180fe7b4bbf774a7e +URL: http://search.cpan.org/dist/Test-Simple/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch @@ -43,18 +29,42 @@ Requires: perl(threads) perl(threads::shared) %endif %description -This is an extremely simple, extremely basic module for writing tests -suitable for CPAN modules and other pursuits. If you wish to do more -complicated testing, use the Test::More module (a drop-in replacement -for this one). +AHHHHHHH!!!! NOT TESTING! Anything but testing! Beat me, whip me, +send me to Detroit, but don't make me write tests! + -- perldoc Test::Tutorial + +Test::Simple is an extremely simple, extremely basic module for +writing tests suitable for CPAN modules and other pursuits. If you +wish to do more complicated testing, use the Test::More module (a +drop-in replacement for this one). + +The purpose of Test::More is to provide a wide range of testing +utilities. Various ways to say "ok" with better diagnostics, +facilities to skip tests, test future features and compare complicated +data structures. While you can do almost anything with a simple "ok()" +function, it doesn't provide good diagnostic output. %description -l pl -To jest bardzo prosty, bardzo podstawowy modu³ do pisania testów -pasuj±cych do modu³ów CPAN i innych. Do bardziej skomplikowanych -testów lepiej u¿ywaæ modu³u Test::More (zastêpuj±cego ten). +AAAAAAAA!!! NIE TESTOWANIE! Wszystko tylko nie testowanie! Bijcie mnie, +biczujcie mnie, wy¶lijcie do Detroit, ale nie ka¿cie pisaæ testów! + -- perldoc Test::Tutorial + +Test::Simple jest bardzo prostym, bardzo podstawowym modu³em do +pisania testów pasuj±cych do modu³ów CPAN i innych. Do bardziej +skomplikowanych testów lepiej u¿ywaæ modu³u Test::More (zastêpuj±cego +ten). + +Celem Test::More jest dostarczenie szerokiego zakresu narzêdzi do +testowania. Ró¿ne sposoby powiedzenia "ok" z lepsz± diagnostyk±, +u³atwienia przy pomijaniu testów, testowaniu przysz³ych mo¿liwo¶ci +i porównywaniu skomplikowanych struktur danych. O ile mo¿na zrobiæ +prawie wszystko prost± funkcj± "ok()", nie daje ona dobrego wyj¶cia +diagnostycznego. %prep %setup -q -n %{pdir}-%{pnam}-%{version} +rm -f t/00signature.t +%{__perl} -nli -e 'print unless /^\s+sleep\s+\d+;\s*/' Makefile.PL %build %{__perl} Makefile.PL \ @@ -76,4 +86,5 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc Changes README TODO %{perl_vendorlib}/Test/*.pm +%{perl_vendorlib}/Test/Builder %{_mandir}/man3/*