]> git.pld-linux.org Git - packages/perl-Test-Simple.git/blob - perl-Test-Simple.spec
6ec2dfdb7070d5c1ea3e24fe277055055428be43
[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(pl):    Modu³ perla Test::Simple
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        0.45
8 Release:        2
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl >= 5.6.1
13 BuildRequires:  perl(Test::Harness) >= 2.03
14 BuildRequires:  rpm-perlprov >= 3.0.3-16
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is an extremely simple, extremely basic module for writing tests
20 suitable for CPAN modules and other pursuits. If you wish to do more
21 complicated testing, use the Test::More module (a drop-in replacement
22 for this one).
23
24 %description -l pl
25 To jest bardzo prosty, bardzo podstawowy modu³ do pisania testów
26 pasuj±cych do modu³ów CPAN i innych. Do bardziej skomplikowanych
27 testów lepiej u¿ywaæ modu³u Test::More (zastêpuj±cego ten).
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 perl Makefile.PL
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc Changes README TODO
47 %{perl_sitelib}/Test
48 %{_mandir}/man3/*
This page took 0.075411 seconds and 2 git commands to generate.