|
|
@@ -30,6 +30,7 @@
|
|
|
%define V_convert_scalar 0.1e
|
|
|
%define V_convert_units 0.43
|
|
|
%define V_convert_uulib 1.0
|
|
|
+%define V_convert_tnef 0.17
|
|
|
|
|
|
# FIXME: thl: tarball directory structure does not match tarball name
|
|
|
%define V_src_3_FIXME Convert-Scalar-0.1
|
|
|
@@ -44,8 +45,8 @@ Distribution: OpenPKG
|
|
|
Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
-Version: 20040207
|
|
|
-Release: 20040207
|
|
|
+Version: 20040210
|
|
|
+Release: 20040210
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Convert/Convert-ASN1-%{V_convert_asn1}.tar.gz
|
|
|
@@ -54,6 +55,7 @@ Source2: http://www.cpan.org/modules/by-module/Convert/Convert-EBCDIC-%{V_c
|
|
|
Source3: http://www.cpan.org/modules/by-module/Convert/Convert-Scalar-%{V_convert_scalar}.tar.gz
|
|
|
Source4: http://www.cpan.org/modules/by-module/Convert/Convert-Units-%{V_convert_units}.tar.gz
|
|
|
Source5: http://www.cpan.org/modules/by-module/Convert/Convert-UUlib-%{V_convert_uulib}.tar.gz
|
|
|
+Source6: http://www.cpan.org/modules/by-module/Convert/Convert-TNEF-%{V_convert_tnef}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -71,6 +73,7 @@ AutoReqProv: no
|
|
|
- Convert::Scalar (%{V_convert_scalar})
|
|
|
- Convert::Units (%{V_convert_units})
|
|
|
- Convert::UUlib (%{V_convert_uulib})
|
|
|
+ - Convert::TNEF (%{V_convert_tnef})
|
|
|
|
|
|
%track
|
|
|
prog perl-conv:Convert-ASN1 = {
|
|
|
@@ -103,6 +106,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Convert/
|
|
|
regex = Convert-UUlib-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-conv:Convert-TNEF = {
|
|
|
+ version = %{V_convert_tnef}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Convert/
|
|
|
+ regex = Convert-TNEF-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -111,6 +119,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 3
|
|
|
%setup -q -T -D -a 4
|
|
|
%setup -q -T -D -a 5
|
|
|
+ %setup -q -T -D -a 6
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -130,6 +139,7 @@ AutoReqProv: no
|
|
|
) || exit $?
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
|
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} 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`
|
|
|
|