2009-03-05 03:49:42 +00:00
|
|
|
#
|
2011-11-11 11:17:24 +00:00
|
|
|
# spec file for package perl-Email-Date-Format
|
2009-03-05 03:49:42 +00:00
|
|
|
#
|
2025-06-03 14:42:03 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2009-03-05 03:49:42 +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-06-11 09:45:36 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-03-05 03:49:42 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-06-11 09:45:36 +00:00
|
|
|
%define cpan_name Email-Date-Format
|
2009-03-05 03:49:42 +00:00
|
|
|
Name: perl-Email-Date-Format
|
2025-06-03 14:42:03 +00:00
|
|
|
Version: 1.8.0
|
2013-08-04 15:31:26 +00:00
|
|
|
Release: 0
|
2025-06-03 14:42:03 +00:00
|
|
|
# 1.008 -> normalize -> 1.8.0
|
|
|
|
%define cpan_version 1.008
|
2019-06-11 09:45:36 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-11-07 16:30:19 +00:00
|
|
|
Summary: Produce RFC 2822 date strings
|
2019-06-11 09:45:36 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2025-06-03 14:42:03 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
|
2022-11-07 16:30:19 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:49 +02:00
|
|
|
Source100: README.md
|
2022-11-07 16:30:19 +00:00
|
|
|
BuildArch: noarch
|
2010-10-19 10:53:51 +00:00
|
|
|
BuildRequires: perl
|
2010-11-24 17:24:15 +00:00
|
|
|
BuildRequires: perl-macros
|
2022-11-07 16:30:19 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
2013-08-04 15:31:26 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2023-01-31 12:51:26 +00:00
|
|
|
BuildRequires: perl(Time::Local) >= 1.27
|
|
|
|
Requires: perl(Time::Local) >= 1.27
|
2025-06-03 14:42:03 +00:00
|
|
|
Provides: perl(Email::Date::Format) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2013-08-04 15:31:26 +00:00
|
|
|
%{perl_requires}
|
2009-03-05 03:49:42 +00:00
|
|
|
|
|
|
|
%description
|
2010-11-24 17:24:15 +00:00
|
|
|
This module provides a simple means for generating an RFC 2822 compliant
|
|
|
|
datetime string. (In case you care, they're not RFC 822 dates, because they
|
|
|
|
use a four digit year, which is not allowed in RFC 822.)
|
2009-03-05 03:49:42 +00:00
|
|
|
|
|
|
|
%prep
|
2025-06-03 14:42:03 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
2009-03-05 03:49:42 +00:00
|
|
|
|
|
|
|
%build
|
2019-06-11 09:45:36 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2022-11-07 16:30:19 +00:00
|
|
|
%make_build
|
2009-03-05 03:49:42 +00:00
|
|
|
|
|
|
|
%check
|
2022-11-07 16:30:19 +00:00
|
|
|
make test
|
2009-03-05 03:49:42 +00:00
|
|
|
|
|
|
|
%install
|
2010-11-24 17:24:15 +00:00
|
|
|
%perl_make_install
|
2009-03-05 03:49:42 +00:00
|
|
|
%perl_process_packlist
|
2010-11-24 17:24:15 +00:00
|
|
|
%perl_gen_filelist
|
2009-03-05 03:49:42 +00:00
|
|
|
|
2010-11-24 17:24:15 +00:00
|
|
|
%files -f %{name}.files
|
2019-06-11 09:45:36 +00:00
|
|
|
%doc Changes README
|
2022-11-07 16:30:19 +00:00
|
|
|
%license LICENSE
|
2009-03-05 03:49:42 +00:00
|
|
|
|
|
|
|
%changelog
|