2010-11-24 19:11:39 +00:00
|
|
|
#
|
2011-05-26 13:20:43 +00:00
|
|
|
# spec file for package perl-Email-Simple
|
2010-11-24 19:11:39 +00:00
|
|
|
#
|
2023-01-31 13:57:26 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2010-11-24 19:11:39 +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.
|
|
|
|
|
2023-01-31 13:57:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-11-24 19:11:39 +00:00
|
|
|
#
|
|
|
|
|
2011-12-24 10:17:53 +00:00
|
|
|
|
2023-01-31 13:57:26 +00:00
|
|
|
%define cpan_name Email-Simple
|
2010-11-24 19:11:39 +00:00
|
|
|
Name: perl-Email-Simple
|
2023-01-31 13:57:26 +00:00
|
|
|
Version: 2.218
|
2013-06-04 11:26:00 +00:00
|
|
|
Release: 0
|
2018-06-09 06:40:12 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2023-01-31 13:57:26 +00:00
|
|
|
Summary: Simple parsing of RFC2822 message format and headers
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-02-13 18:39:57 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
2015-07-21 11:32:09 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:51 +02:00
|
|
|
Source100: README.md
|
2010-11-24 19:11:39 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2011-12-02 09:35:09 +00:00
|
|
|
BuildRequires: perl-macros
|
2013-06-04 11:26:00 +00:00
|
|
|
BuildRequires: perl(Email::Date::Format)
|
2023-01-31 13:57:26 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
2014-02-20 09:42:33 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2010-06-21 06:29:10 +00:00
|
|
|
Requires: perl(Email::Date::Format)
|
2013-06-04 11:26:00 +00:00
|
|
|
%{perl_requires}
|
2007-09-14 14:48:08 +00:00
|
|
|
|
|
|
|
%description
|
2014-02-20 09:42:33 +00:00
|
|
|
The Email:: namespace was begun as a reaction against the increasing
|
|
|
|
complexity and bugginess of Perl's existing email modules. 'Email::*'
|
|
|
|
modules are meant to be simple to use and to maintain, pared to the bone,
|
|
|
|
fast, minimal in their external dependencies, and correct.
|
2010-11-24 19:11:39 +00:00
|
|
|
|
2007-09-14 14:48:08 +00:00
|
|
|
%prep
|
2023-01-31 13:57:26 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2007-09-14 14:48:08 +00:00
|
|
|
|
|
|
|
%build
|
2023-01-31 13:57:26 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2010-11-24 19:11:39 +00:00
|
|
|
|
|
|
|
%check
|
2023-01-31 13:57:26 +00:00
|
|
|
make test
|
2007-09-14 14:48:08 +00:00
|
|
|
|
|
|
|
%install
|
2010-11-24 19:11:39 +00:00
|
|
|
%perl_make_install
|
2007-09-14 14:48:08 +00:00
|
|
|
%perl_process_packlist
|
2010-11-24 19:11:39 +00:00
|
|
|
%perl_gen_filelist
|
2007-09-14 14:48:08 +00:00
|
|
|
|
2010-11-24 19:11:39 +00:00
|
|
|
%files -f %{name}.files
|
2017-02-13 18:39:57 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2007-09-14 14:48:08 +00:00
|
|
|
|
|
|
|
%changelog
|