Group :: Development/Perl
RPM: perl-MIME-Lite
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define dist MIME-Lite
Name: perl-MIME-Lite
Version: 3.01
Release: alt3
Summary: MIME::Lite - low-calorie MIME generator
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.gz
Patch0: ftp://ftp.debian.org/debian/pool/main/libm/libmime-lite-perl/libmime-lite-perl_3.01-7.diff.gz
Patch1: perl-MIME-Lite-3.01-alt-req.patch
BuildArch: noarch
Requires: sendmail-common
# Added by buildreq2 on Sun Aug 27 2006
BuildRequires: perl-MIME-Types perl-MailTools perl-devel sendmail-common
%description
MIME::Lite is intended as a simple, standalone module for generating
(not parsing!) MIME messages... specifically, it allows you to output a
simple, decent single- or multi-part message with text or binary
attachments. It does not require that you have the Mail:: or MIME::
modules installed.
You can specify each message part as either the literal data itself (in
a scalar or array), or as a string which can be given to open() to get
a readable filehandle (e.g., "<filename" or "somecommand|").
You don't need to worry about encoding your message data: this module
will do that for you. It handles the 5 standard MIME encodings.
If you need more sophisticated behavior, please get the MIME-tools
package instead. I will be more likely to add stuff to that toolkit
over this one.
%prep
%setup -q -n %dist-%version
%patch0 -p1
%patch1 -p1
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README
%perl_vendor_privlib/MIME*
%changelog
…
Full changelog you can see here
Name: perl-MIME-Lite
Version: 3.01
Release: alt3
Summary: MIME::Lite - low-calorie MIME generator
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.gz
Patch0: ftp://ftp.debian.org/debian/pool/main/libm/libmime-lite-perl/libmime-lite-perl_3.01-7.diff.gz
Patch1: perl-MIME-Lite-3.01-alt-req.patch
BuildArch: noarch
Requires: sendmail-common
# Added by buildreq2 on Sun Aug 27 2006
BuildRequires: perl-MIME-Types perl-MailTools perl-devel sendmail-common
%description
MIME::Lite is intended as a simple, standalone module for generating
(not parsing!) MIME messages... specifically, it allows you to output a
simple, decent single- or multi-part message with text or binary
attachments. It does not require that you have the Mail:: or MIME::
modules installed.
You can specify each message part as either the literal data itself (in
a scalar or array), or as a string which can be given to open() to get
a readable filehandle (e.g., "<filename" or "somecommand|").
You don't need to worry about encoding your message data: this module
will do that for you. It handles the 5 standard MIME encodings.
If you need more sophisticated behavior, please get the MIME-tools
package instead. I will be more likely to add stuff to that toolkit
over this one.
%prep
%setup -q -n %dist-%version
%patch0 -p1
%patch1 -p1
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README
%perl_vendor_privlib/MIME*
%changelog
…
Full changelog you can see here