3 %bcond_without tests # do not perform "make test"
7 Summary: Data::Perl - Base classes wrapping fundamental Perl data types.
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 2c38f8d7b50a986602a93b93a3cfe40f
16 URL: http://search.cpan.org/dist/Data-Perl/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Class-Method-Modifiers
21 BuildRequires: perl-List-MoreUtils
22 BuildRequires: perl-Module-Runtime
23 BuildRequires: perl-Role-Tiny
24 BuildRequires: perl-strictures
25 BuildRequires: perl-Test-Deep
26 BuildRequires: perl-Test-Fatal
27 BuildRequires: perl-Test-Output
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Data::Perl is a collection of classes that wrap fundamental data types that
34 exist in Perl. These classes and methods as they exist today are an attempt to
35 mirror functionality provided by Moose's Native Traits. One important thing to
36 note is all classes currently do no validation on constructor input.
38 Data::Perl is a container class for the following classes:
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
53 %{__make} pure_install \
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Data/*.pm
63 %{perl_vendorlib}/Data/Perl