]> git.pld-linux.org Git - packages/perl-Test-Class.git/commitdiff
- new, STBR RA-1_0 STABLE perl-Test-Class-0_03-1
authorradek <radek@pld-linux.org>
Thu, 29 Aug 2002 11:06:43 +0000 (11:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Test-Class.spec -> 1.1

perl-Test-Class.spec [new file with mode: 0644]

diff --git a/perl-Test-Class.spec b/perl-Test-Class.spec
new file mode 100644 (file)
index 0000000..bb232c4
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Test
+%define        pnam    Class
+Summary:       Test::Class - Easily create test classes in an xUnit style.
+Summary(pl):   Test::Class - £atwe tworzenie testowych klas w stylu xUnit.
+Name:          perl-Test-Class
+Version:       0.03
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Attribute-Handlers >= 0.77
+BuildRequires: perl-Class-ISA >= 0.32
+BuildRequires: perl-Test-Simple >= 0.46
+BuildRequires: perl-Test-Builder-Tester >= 0.09
+BuildRequires: perl-Test-Differences >= 0.43
+BuildRequires: perl-Test-Exception >= 0.10
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Test::Class provides a simple way of creating classes and objects to
+test your code in an xUnit style.
+
+%description -l pl
+Test::Class udostêpnia prosty sposób tworzenia klas i obiektów,
+testuj±cych Twój kod w stylu xUnit.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -ar examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/%{pdir}/*.pm
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}
+%{_mandir}/man3/*
This page took 0.033483 seconds and 4 git commands to generate.