/[packages]/cauldron/perl-Data-Util/current/SPECS/perl-Data-Util.spec
ViewVC logotype

Contents of /cauldron/perl-Data-Util/current/SPECS/perl-Data-Util.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22311 - (show annotations) (download)
Tue Jan 18 11:59:16 2011 UTC (13 years, 3 months ago) by jquelin
File size: 1423 byte(s)
cleaning spec file
1 %define upstream_name Data-Util
2 %define upstream_version 0.58
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Exports subrtouines lexically
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/Data/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(Devel::PPPort)
15 BuildRequires: perl(ExtUtils::MakeMaker)
16 BuildRequires: perl(ExtUtils::ParseXS)
17 BuildRequires: perl(Hash::Util::FieldHash::Compat)
18 BuildRequires: perl(Scope::Guard)
19 BuildRequires: perl(Test::Exception)
20 BuildRequires: perl(Test::More)
21 BuildRequires: perl(XSLoader)
22 BuildRequires: perl-devel
23
24
25 %description
26 This module provides utility functions for data and data types, including
27 functions for subroutines and symbol table hashes (stashes).
28
29 The implementation of this module is both Pure Perl and XS, so if you have
30 a C compiler, all the functions this module provides are really faster.
31
32 There are many benchmarks in the _DIST-DIR/benchmark/_ directory.
33
34 %prep
35 %setup -q -n %{upstream_name}-%{upstream_version}
36
37 %build
38 %{__perl} Makefile.PL INSTALLDIRS=vendor
39
40 %make
41
42 %check
43 %make test
44
45 %install
46 rm -rf %buildroot
47 %makeinstall_std
48
49 %clean
50 rm -rf %buildroot
51
52 %files
53 %defattr(-,root,root)
54 %doc Changes README META.yml
55 %{_mandir}/man3/*
56 %perl_vendorlib/*
57
58

  ViewVC Help
Powered by ViewVC 1.1.30