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