|
|
|
|
@ -28,6 +28,7 @@
|
|
|
|
|
%define V_sendmail 0.78 |
|
|
|
|
%define V_mailtools 1.44 |
|
|
|
|
%define V_mimetools 5.411 |
|
|
|
|
%define V_mimelite 2.117 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: perl-mail |
|
|
|
|
@ -38,14 +39,15 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [REL] |
|
|
|
|
Group: Language |
|
|
|
|
License: GPL/Artistic |
|
|
|
|
Version: 20020517 |
|
|
|
|
Release: 20020517 |
|
|
|
|
Version: 20020620 |
|
|
|
|
Release: 20020620 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/MIME/MIME-Base64-%{V_base64}.tar.gz |
|
|
|
|
Source1: http://www.cpan.org/modules/by-module/Mail/Mail-Sendmail-%{V_sendmail}.tar.gz |
|
|
|
|
Source2: http://www.cpan.org/modules/by-module/Mail/MailTools-%{V_mailtools}.tar.gz |
|
|
|
|
Source3: http://www.cpan.org/modules/by-module/MIME/MIME-tools-%{V_mimetools}.tar.gz |
|
|
|
|
Source4: http://www.cpan.org/modules/by-module/MIME/MIME-Lite-%{V_mimelite}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
@ -96,12 +98,14 @@ AutoReqProv: no
|
|
|
|
|
- MIME::Parser::Filer (%{V_mimetools}) |
|
|
|
|
- MIME::Parser::Reader (%{V_mimetools}) |
|
|
|
|
- MIME::Parser::Results (%{V_mimetools}) |
|
|
|
|
- MIME::Lite (%{V_mimelite}) |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup0 -q -c -n %{name}-%{version} |
|
|
|
|
%setup1 -q -T -D -a 1 |
|
|
|
|
%setup2 -q -T -D -a 2 |
|
|
|
|
%setup3 -q -T -D -a 3 |
|
|
|
|
%setup4 -q -T -D -a 4 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
@ -123,7 +127,7 @@ AutoReqProv: no
|
|
|
|
|
chmod a+x $perl |
|
|
|
|
|
|
|
|
|
# uncompress and build modules |
|
|
|
|
for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3}; do |
|
|
|
|
for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; do |
|
|
|
|
dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'` |
|
|
|
|
cd $dir |
|
|
|
|
chmod -R u+rw . |
|
|
|
|
|