X-Git-Url: http://git.pld-linux.org/?p=packages%2Fperl-Test-Simple.git;a=blobdiff_plain;f=perl-Test-Simple.spec;h=8bf5230d1f96c94a2d7fefd22ce6637af388e1ce;hp=956b3d676326cd76097c87676988fb538b861c17;hb=64979f40bdbe84072fcdace4bf245a740a8c6761;hpb=a117f839109e6d3a2f07b101b063e0f62228f295 diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec index 956b3d6..8bf5230 100644 --- a/perl-Test-Simple.spec +++ b/perl-Test-Simple.spec @@ -1,31 +1,52 @@ -%define pdir Test -%define pnam Simple %include /usr/lib/rpm/macros.perl -Summary: Test-Simple perl module -Summary(pl): Modu³ perla Test-Simple +%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(no): 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.41 -Release: 1 +Version: 0.45 +Release: 3 License: GPL Group: Development/Languages/Perl -Group(cs): Vývojové prostøedky/Programovací jazyky/Perl -Group(de): Entwicklung/Sprachen/Perl -Group(es): Desarrollo/Lenguajes/Perl -Group(fr): Development/Langues/Perl -Group(ja): ³«È¯/¸À¸ì/Perl -Group(pl): Programowanie/Jêzyki/Perl -Group(pt): Desenvolvimento/Linguagens/Perl -Group(ru): òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +BuildRequires: perl >= 5.6.1 +BuildRequires: perl(Test::Harness) >= 2.03 BuildRequires: rpm-perlprov >= 3.0.3-16 -BuildRequires: perl >= 5.6 -BuildRequires: perl-Test-Harness BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +# false requires found by rpm 4.0.2 +%if "%(perl -MConfig -e 'print $Config{useithreads};')" != "define" +%define _noautoreq 'perl(threads)' 'perl(threads::shared)' +%else +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). %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). %prep %setup -q -n %{pdir}-%{pnam}-%{version} @@ -39,13 +60,11 @@ rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT -gzip -9nf Changes README TODO - %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz -%{perl_sitelib}/Test +%doc Changes README TODO +%{perl_sitelib}/Test/*.pm %{_mandir}/man3/*