]> git.pld-linux.org Git - packages/perl-Test-Simple.git/blob - perl-Test-Simple.spec
c3b9445471b185c59549533efb49f3d278072980
[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.41
8 Release:        5
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:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6.1
14 BuildRequires:  perl-Test-Harness
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 gzip -9nf Changes README TODO
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc *.gz
49 %{perl_sitelib}/Test
50 %{_mandir}/man3/*
This page took 0.040715 seconds and 2 git commands to generate.