]> git.pld-linux.org Git - packages/perl-Test-Class.git/blame - perl-Test-Class.spec
- up to 0.36
[packages/perl-Test-Class.git] / perl-Test-Class.spec
CommitLineData
81aa33a6 1#
2# Conditional build:
ea29819a 3%bcond_without tests # do not perform "make test"
4#
81aa33a6 5%include /usr/lib/rpm/macros.perl
1465d1c9 6%define pdir Test
7%define pnam Class
ea7814de 8Summary: Test::Class - easily create test classes in an xUnit style
ab45edda 9Summary(pl.UTF-8): Test::Class - łatwe tworzenie testowych klas w stylu xUnit
81aa33a6 10Name: perl-Test-Class
a9245cd0 11Version: 0.36
8d787c91 12Release: 1
f9e88923 13# same as perl
14License: GPL v1+ or Artistic
81aa33a6 15Group: Development/Languages/Perl
4138b463 16Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
a9245cd0 17# Source0-md5: 9d33a80215754b4e5234e9116088f403
4138b463 18URL: http://search.cpan.org/dist/Test-Class/
133ae355 19BuildRequires: perl-devel >= 1:5.8.0
952fb60e 20BuildRequires: rpm-perlprov >= 4.1-13
ea29819a 21%if %{with tests}
81aa33a6 22BuildRequires: perl-Attribute-Handlers >= 0.77
23BuildRequires: perl-Class-ISA >= 0.32
1775dabd 24BuildRequires: perl-Devel-Symdump
81aa33a6 25BuildRequires: perl-Test-Simple >= 0.46
7c0bba1d 26BuildRequires: perl-Test-Builder-Tester >= 1.04
81aa33a6 27BuildRequires: perl-Test-Differences >= 0.43
28BuildRequires: perl-Test-Exception >= 0.10
29%endif
59f423a5 30Requires: perl(IO::File) >= 1.14
81aa33a6 31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Test::Class provides a simple way of creating classes and objects to
36test your code in an xUnit style.
37
41253687
JR
38%description -l pl.UTF-8
39Test::Class udostępnia prosty sposób tworzenia klas i obiektów,
40testujących Twój kod w stylu xUnit.
81aa33a6 41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
952fb60e 46%{__perl} Makefile.PL \
dfce94d7 47 INSTALLDIRS=vendor
81aa33a6 48%{__make}
49
ea29819a 50%{?with_tests:%{__make} test}
81aa33a6 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
ea29819a 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
81aa33a6 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
952fb60e 63%{perl_vendorlib}/%{pdir}/*.pm
1775dabd 64%{perl_vendorlib}/%{pdir}/%{pnam}
81aa33a6 65%{_mandir}/man3/*
This page took 0.060339 seconds and 4 git commands to generate.