Compare commits
10 Commits
d7690605bb
...
dd891edaa9
| Author | SHA256 | Date | |
|---|---|---|---|
| dd891edaa9 | |||
|
|
38b11b9711 | ||
|
|
fde3fde737 | ||
|
|
2173355f71 | ||
|
|
703f16bd3e | ||
|
|
e07a517d2e | ||
|
|
c0a40a6a3a | ||
|
|
d1b945d80d | ||
|
|
a47b560ba5 | ||
|
|
652a06ff97 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fcc3fd2d49be4db53242cd3a2469f652ed31c6d607c7fda8a0637845056b9a33
|
||||
size 10871
|
||||
3
Email-Date-1.104.tar.gz
Normal file
3
Email-Date-1.104.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:437c572b1aa9d1c77da26595bb03e003a3b2756c2fcc87d65177b10fc07d52c9
|
||||
size 14149
|
||||
42
perl-Email-Date.changes
Normal file
42
perl-Email-Date.changes
Normal file
@@ -0,0 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 16:12:06 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.104
|
||||
see /usr/share/doc/packages/perl-Email-Date/Changes
|
||||
|
||||
Revision history for Email-Date
|
||||
|
||||
1.104 2013-08-02 18:00:42 America/New_York
|
||||
point to new repo, new bug tracker, suggest users just use other
|
||||
libraries when possible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 10:52:12 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
- specfile cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 10:49:36 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
- initial package 1.103
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 11:55:38 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:29:49 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 09:15:13 CEST 2009 - lars@linux-schulserver.de
|
||||
|
||||
- update to 1.103
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 14 00:00:00 CEST 2007 - James Oakley <jfunk@funktronics.ca> - 1.102-1
|
||||
|
||||
- Initial release
|
||||
|
||||
@@ -1,54 +1,81 @@
|
||||
%define modname Email-Date
|
||||
Name: perl-%{modname}
|
||||
Version: 1.102
|
||||
Release: 1
|
||||
#
|
||||
# spec file for package perl-Email-Date
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Email-Date
|
||||
Name: perl-Email-Date
|
||||
Version: 1.104.0
|
||||
Release: 0
|
||||
# 1.104 -> normalize -> 1.104.0
|
||||
%define cpan_version 1.104
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Find and Format Date Headers
|
||||
Requires: perl = %{perl_version} perl-TimeDate perl-Email-Abstract perl-Time-Piece
|
||||
BuildRequires: perl perl-TimeDate perl-Email-Abstract perl-Time-Piece
|
||||
License: GPL/Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Capture::Tiny)
|
||||
BuildRequires: perl(Date::Parse) >= 2.27
|
||||
BuildRequires: perl(Email::Abstract) >= 2.10
|
||||
BuildRequires: perl(Email::Date::Format) >= 1.000
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(Time::Piece) >= 1.08
|
||||
Requires: perl(Date::Parse) >= 2.27
|
||||
Requires: perl(Email::Abstract) >= 2.10
|
||||
Requires: perl(Email::Date::Format) >= 1.000
|
||||
Requires: perl(Time::Piece) >= 1.08
|
||||
Provides: perl(Email::Date) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
RFC 2822 defines the "Date:" header. It declares the header a required part of
|
||||
an email message. The syntax for date headers is clearly laid out. Still, even
|
||||
a perfectly planned world has storms. The truth is, many programs get it wrong.
|
||||
Very wrong. Or, they don't include a "Date:" header at all. This often forces
|
||||
you to look elsewhere for the date, and hoping to find something.
|
||||
*Achtung!* Probably you'll be find just using Email::Date::Format to
|
||||
produce dates or Date::Parse to parse dates. This module isn't much needed
|
||||
anymore, but does provide 'find_date', described below.
|
||||
|
||||
RFC 2822 defines the 'Date:' header. It declares the header a required part
|
||||
of an email message. The syntax for date headers is clearly laid out. Stil,
|
||||
even a perfectly planned world has storms. The truth is, many programs get
|
||||
it wrong. Very wrong. Or, they don't include a 'Date:' header at all. This
|
||||
often forces you to look elsewhere for the date, and hoping to find
|
||||
something.
|
||||
|
||||
For this reason, the tedious process of looking for a valid date has been
|
||||
encapsulated in this software. Further, the process of creating RFC compliant
|
||||
date strings is also found in this software.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Casey West <casey@geeknest.com>
|
||||
encapsulated in this software. Further, the process of creating RFC
|
||||
compliant date strings is also found in this software.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc Changes LICENSE README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Email/Date.pm
|
||||
%{perl_vendorarch}/auto/Email/Date
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
||||
* Fri Sep 14 2007 - James Oakley <jfunk@funktronics.ca> - 1.102-1
|
||||
- Initial release
|
||||
|
||||
Reference in New Issue
Block a user