|
|
|
|
@ -55,6 +55,7 @@
|
|
|
|
|
%define V_heap 0.80 |
|
|
|
|
%define V_graph 0.94 |
|
|
|
|
%define V_algorithm_permute 0.12 |
|
|
|
|
%define V_hash_multivalue 0.10 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: perl-ds |
|
|
|
|
@ -67,7 +68,7 @@ Class: BASE
|
|
|
|
|
Group: Perl |
|
|
|
|
License: GPL/Artistic |
|
|
|
|
Version: %{V_perl} |
|
|
|
|
Release: 20111216 |
|
|
|
|
Release: 20120121 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{V_bit_vector}.tar.gz |
|
|
|
|
@ -102,6 +103,7 @@ Source28: http://www.cpan.org/authors/id/R/RK/RKINYON/Tree-%{V_tree}.tar.gz
|
|
|
|
|
Source29: http://www.cpan.org/authors/id/R/RG/RGIERSIG/Tie-Persistent-%{V_tie_persistent}.tar.gz |
|
|
|
|
Source30: http://www.cpan.org/authors/id/D/DA/DAVECROSS/Array-Compare-%{V_array_compare}.tar.gz |
|
|
|
|
Source31: http://www.cpan.org/authors/id/E/ED/EDPRATOMO/Algorithm-Permute-%{V_algorithm_permute}.tar.gz |
|
|
|
|
Source32: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-%{V_hash_multivalue}.tar.gz |
|
|
|
|
Patch0: perl-ds.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
@ -145,6 +147,7 @@ PreReq: perl-module
|
|
|
|
|
- Graph::Graph (%{V_graph}) |
|
|
|
|
- Tie::Persistent (%{V_tie_persistent}) |
|
|
|
|
- Algorithm::Permute (%{V_algorithm_permute}) |
|
|
|
|
- Hash::MultiValue (%{V_hash_multivalue}) |
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog perl-ds:Bit-Vector = { |
|
|
|
|
@ -308,6 +311,11 @@ PreReq: perl-module
|
|
|
|
|
url = http://www.cpan.org/authors/id/E/ED/EDPRATOMO/ |
|
|
|
|
regex = Algorithm-Permute-(\d+\.\d{2})\.tar\.gz |
|
|
|
|
} |
|
|
|
|
prog perl-ds:Hash-MultiValue = { |
|
|
|
|
version = %{V_hash_multivalue} |
|
|
|
|
url = http://www.cpan.org/authors/id/M/MI/MIYAGAWA/ |
|
|
|
|
regex = Hash-MultiValue-(__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -c |
|
|
|
|
@ -342,6 +350,7 @@ PreReq: perl-module
|
|
|
|
|
%setup -q -T -D -a 29 |
|
|
|
|
%setup -q -T -D -a 30 |
|
|
|
|
%setup -q -T -D -a 31 |
|
|
|
|
%setup -q -T -D -a 32 |
|
|
|
|
%patch -p0 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
@ -380,6 +389,7 @@ PreReq: perl-module
|
|
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install |
|
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install |
|
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install |
|
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install |
|
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
|
|
|
|
|
|
|
|
|
|