]> git.pld-linux.org Git - packages/perl-Test-Manifest.git/blob - perl-Test-Manifest.spec
85738309a2e1eba4ea9e8aca6c02c6548cd014ee
[packages/perl-Test-Manifest.git] / perl-Test-Manifest.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Test
7 %define pnam    Manifest
8 Summary:        Test::Manifest - interact with a t/test_manifest file
9 Summary(pl):    Test::Manifest - wspó³praca z plikiem t/test_manifest
10 Name:           perl-Test-Manifest
11 Version:        0.93
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  a46b6185410c2fd8b1a2efd6fea94d9e
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Test-Simple
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 MakeMaker assumes that you want to run all of the .t files in the t/
28 directory in ascii-betical order during make test unless you say
29 otherwise.  This leads to some interesting naming schemes for test files
30 to get them in the desired order.
31
32 %description -l pl
33 MakeMaker zak³ada, ¿e chcemy podczas make test uruchamiaæ wszystkie
34 pliki .t z katalogu t/ w kolejno¶ci asciibetycznej, o ile nie podamy
35 innej kolejno¶ci. To prowadzi do interesuj±cych schematów nazywania
36 plików z testami, aby by³y wykonywane we w³a¶ciwej kolejno¶ci.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Test/*.pm
60 %{_mandir}/man3/*
This page took 0.024375 seconds and 3 git commands to generate.