3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Test::Simple Perl module
9 Summary(cs): Modul Test::Simple pro Perl
10 Summary(da): Perlmodul Test::Simple
11 Summary(de): Test::Simple Perl Modul
12 Summary(es): Módulo de Perl Test::Simple
13 Summary(fr): Module Perl Test::Simple
14 Summary(it): Modulo di Perl Test::Simple
15 Summary(ja): Test::Simple Perl ¥â¥¸¥å¡¼¥ë
16 Summary(ko): Test::Simple ÆÞ ¸ðÁÙ
17 Summary(nb): Perlmodul Test::Simple
18 Summary(pl): Modu³ Perla Test::Simple
19 Summary(pt): Módulo de Perl Test::Simple
20 Summary(pt_BR): Módulo Perl Test::Simple
21 Summary(ru): íÏÄÕÌØ ÄÌÑ Perl Test::Simple
22 Summary(sv): Test::Simple Perlmodul
23 Summary(uk): íÏÄÕÌØ ÄÌÑ Perl Test::Simple
24 Summary(zh_CN): Test::Simple Perl Ä£¿é
25 Name: perl-Test-Simple
29 License: GPL v1+ or Artistic
30 Group: Development/Languages/Perl
31 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
32 # Source0-md5: e22ed16f8451c64277c7ef4fbd55251a
34 BuildRequires: perl-devel >= 1:5.8.0
35 BuildRequires: rpm-perlprov >= 4.1-13
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 # false requires found by rpm 4.0.2
40 %if "%(perl -MConfig -e 'print $Config{useithreads};')" != "define"
41 %define _noautoreq 'perl(threads)' 'perl(threads::shared)'
43 Requires: perl(threads) perl(threads::shared)
47 This is an extremely simple, extremely basic module for writing tests
48 suitable for CPAN modules and other pursuits. If you wish to do more
49 complicated testing, use the Test::More module (a drop-in replacement
53 To jest bardzo prosty, bardzo podstawowy modu³ do pisania testów
54 pasuj±cych do modu³ów CPAN i innych. Do bardziej skomplikowanych
55 testów lepiej u¿ywaæ modu³u Test::More (zastêpuj±cego ten).
58 %setup -q -n %{pdir}-%{pnam}-%{version}
61 %{__perl} Makefile.PL \
65 %{?with_tests:%{__make} test}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc Changes README TODO
79 %{perl_vendorlib}/Test/*.pm