]> git.pld-linux.org Git - packages/perl-Test-Simple.git/blob - perl-Test-Simple.spec
- version 0.46
[packages/perl-Test-Simple.git] / perl-Test-Simple.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Test
3 %define         pnam    Simple
4 Summary:        Test::Simple Perl module
5 Summary(cs):    Modul Test::Simple pro Perl
6 Summary(da):    Perlmodul Test::Simple
7 Summary(de):    Test::Simple Perl Modul
8 Summary(es):    Módulo de Perl Test::Simple
9 Summary(fr):    Module Perl Test::Simple
10 Summary(it):    Modulo di Perl Test::Simple
11 Summary(ja):    Test::Simple Perl ¥â¥¸¥å¡¼¥ë
12 Summary(ko):    Test::Simple ÆÞ ¸ðÁÙ
13 Summary(no):    Perlmodul Test::Simple
14 Summary(pl):    Modu³ Perla Test::Simple
15 Summary(pt):    Módulo de Perl Test::Simple
16 Summary(pt_BR): Módulo Perl Test::Simple
17 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl Test::Simple
18 Summary(sv):    Test::Simple Perlmodul
19 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl Test::Simple
20 Summary(zh_CN): Test::Simple Perl Ä£¿é
21 Name:           perl-%{pdir}-%{pnam}
22 Version:        0.46
23 Release:        1
24 License:        GPL
25 Group:          Development/Languages/Perl
26 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
27 BuildRequires:  perl >= 5.6.1
28 BuildRequires:  rpm-perlprov >= 3.0.3-16
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 # false requires found by rpm 4.0.2
33 %if "%(perl -MConfig -e 'print $Config{useithreads};')" != "define"
34 %define         _noautoreq      'perl(threads)' 'perl(threads::shared)'
35 %else
36 Requires:       perl(threads) perl(threads::shared)
37 %endif
38
39 %description
40 This is an extremely simple, extremely basic module for writing tests
41 suitable for CPAN modules and other pursuits. If you wish to do more
42 complicated testing, use the Test::More module (a drop-in replacement
43 for this one).
44
45 %description -l pl
46 To jest bardzo prosty, bardzo podstawowy modu³ do pisania testów
47 pasuj±cych do modu³ów CPAN i innych. Do bardziej skomplikowanych
48 testów lepiej u¿ywaæ modu³u Test::More (zastêpuj±cego ten).
49
50 %prep
51 %setup -q -n %{pdir}-%{pnam}-%{version}
52
53 %build
54 perl Makefile.PL
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc Changes README TODO
68 %{perl_sitelib}/Test/*.pm
69 %{_mandir}/man3/*
This page took 0.063173 seconds and 4 git commands to generate.