Compare commits

...

10 Commits

Author SHA256 Message Date
dd891edaa9 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=13
2024-08-09 19:12:09 +00:00
Stephan Kulow
38b11b9711 Accepting request 295738 from devel:languages:perl:autoupdate
update

OBS-URL: https://build.opensuse.org/request/show/295738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=12
2015-04-13 16:38:04 +00:00
Lars Vogdt
fde3fde737 - specfile cleanup
- initial package 1.103

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=11
2013-01-16 10:52:21 +00:00
Stephan Kulow
2173355f71 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=10
2011-11-17 15:31:31 +00:00
Stephan Kulow
703f16bd3e OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=8 2011-11-11 11:17:23 +00:00
Stephan Kulow
e07a517d2e always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=7
2010-12-03 14:03:43 +00:00
Stephan Kulow
c0a40a6a3a switch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=6
2010-12-01 11:55:40 +00:00
Stephan Kulow
d1b945d80d fix file list
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=5
2010-11-30 12:45:59 +00:00
Stephan Kulow
a47b560ba5 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=4
2010-11-29 18:54:32 +00:00
Lars Vogdt
652a06ff97 update to 1.103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Date?expand=0&rev=3
2009-06-02 07:48:39 +00:00
4 changed files with 110 additions and 41 deletions

View File

@@ -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
View 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
View 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

View File

@@ -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