2007-01-15 23:31:04 +00:00
|
|
|
#
|
2011-11-10 12:12:11 +00:00
|
|
|
# spec file for package perl-MIME-Lite
|
2007-01-15 23:31:04 +00:00
|
|
|
#
|
2021-06-15 09:22:08 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-15 23:31:04 +00:00
|
|
|
#
|
2009-02-27 15:15:34 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-28 17:09:34 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:31:04 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-06-15 09:22:08 +00:00
|
|
|
%define cpan_name MIME-Lite
|
2008-03-15 22:19:28 +00:00
|
|
|
Name: perl-MIME-Lite
|
2021-06-15 09:22:08 +00:00
|
|
|
Version: 3.033
|
2011-12-06 12:50:27 +00:00
|
|
|
Release: 0
|
2019-10-28 17:09:34 +00:00
|
|
|
Summary: Low-calorie MIME generator
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2021-06-15 09:22:08 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-10-28 17:09:34 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:15:27 +02:00
|
|
|
Source100: README.md
|
2013-06-05 15:37:53 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Email::Date::Format) >= 1.000
|
2019-10-28 17:09:34 +00:00
|
|
|
BuildRequires: perl(MIME::Types) >= 1.28
|
|
|
|
BuildRequires: perl(Mail::Address) >= 1.62
|
2013-06-05 15:37:53 +00:00
|
|
|
Requires: perl(Email::Date::Format) >= 1.000
|
2019-10-28 17:09:34 +00:00
|
|
|
Requires: perl(MIME::Types) >= 1.28
|
|
|
|
Requires: perl(Mail::Address) >= 1.62
|
2010-12-01 15:41:05 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
2007-01-15 23:31:04 +00:00
|
|
|
%description
|
2013-06-05 15:37:53 +00:00
|
|
|
In the never-ending quest for great taste with fewer calories, we proudly
|
|
|
|
present: _MIME::Lite_.
|
|
|
|
|
|
|
|
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, but
|
|
|
|
will work with them if they are.
|
|
|
|
|
|
|
|
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.
|
2007-01-15 23:31:04 +00:00
|
|
|
|
|
|
|
%prep
|
2021-06-15 09:22:08 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2007-01-15 23:31:04 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-28 17:09:34 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-06-15 09:22:08 +00:00
|
|
|
%make_build
|
2009-02-27 15:15:34 +00:00
|
|
|
|
|
|
|
%check
|
2019-10-28 17:09:34 +00:00
|
|
|
make test
|
2007-01-15 23:31:04 +00:00
|
|
|
|
|
|
|
%install
|
2013-06-05 15:37:53 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:31:04 +00:00
|
|
|
%perl_process_packlist
|
2013-06-05 15:37:53 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:31:04 +00:00
|
|
|
|
2013-06-05 15:37:53 +00:00
|
|
|
%files -f %{name}.files
|
2019-10-28 17:09:34 +00:00
|
|
|
%doc examples README
|
|
|
|
%license COPYING LICENSE
|
2007-01-15 23:31:04 +00:00
|
|
|
|
2008-03-15 22:19:28 +00:00
|
|
|
%changelog
|