3 %bcond_without tests # do not perform "make test"
7 Summary: Class::Std - Support for creating standard "inside-out" classes
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5: 376e009ce786d7f1887b212d6582e63f
15 URL: http://search.cpan.org/dist/Class-Std/
16 BuildRequires: perl-modules >= 1:5.8.8
17 BuildRequires: perl-version >= 0.44
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module provides tools that help to implement the "inside out
24 object" class structure in a convenient and standard way.
27 %setup -q -n %{pdir}-%{pnam}-%{version}
30 %{__perl} Makefile.PL \
34 %{?with_tests:%{__make} test}
37 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %{perl_vendorlib}/Class/*.pm