2006-08-07 01:37:49 +00:00
|
|
|
Name: perl-DateTime-Format-Mail
|
2012-12-29 16:16:27 +00:00
|
|
|
Version: 0.3001
|
2014-06-07 03:12:35 +00:00
|
|
|
Release: 20%{?dist}
|
2006-08-07 01:37:49 +00:00
|
|
|
Summary: Convert between DateTime and RFC2822/822 formats
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2008-01-25 00:51:51 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-08-07 01:37:49 +00:00
|
|
|
URL: http://search.cpan.org/dist/DateTime-Format-Mail
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2010-05-07 13:25:43 +00:00
|
|
|
BuildRequires: perl(Class::ISA)
|
2006-08-07 01:37:49 +00:00
|
|
|
BuildRequires: perl(Module::Build), perl(DateTime)
|
|
|
|
BuildRequires: perl(Params::Validate) >= 0.67, perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(File::Find::Rule)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
# DateTime >= 0.1705 plays havoc with rpm's versioning system
|
2011-07-20 03:41:49 +00:00
|
|
|
Requires: perl(DateTime) >= 0.18
|
2011-02-14 16:39:15 +00:00
|
|
|
%{?filter_setup:
|
2011-07-20 03:41:49 +00:00
|
|
|
%filter_from_requires s/^perl(DateTime).*/d
|
2011-02-14 16:39:15 +00:00
|
|
|
%{?perl_default_filter}
|
|
|
|
}
|
2011-07-20 03:41:49 +00:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\)
|
2006-08-07 01:37:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
RFCs 2822 and 822 specify date formats to be used by email. This module parses
|
|
|
|
and emits such dates.
|
|
|
|
|
|
|
|
RFC2822 (April 2001) introduces a slightly different format of date than that
|
|
|
|
used by RFC822 (August 1982). The main correction is that the preferred format
|
|
|
|
is more limited, and thus easier to parse programmatically.
|
|
|
|
|
|
|
|
Despite the ease of generating and parsing perfectly valid RFC822 and RFC2822
|
|
|
|
people still get it wrong. This module aims to correct that.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-Format-Mail-%{version}
|
|
|
|
|
2012-12-29 16:16:27 +00:00
|
|
|
gzip -c t/sample_dates >t/sample_dates.gz
|
|
|
|
|
2006-08-07 01:37:49 +00:00
|
|
|
# POD doesn't like E<copy> very much...
|
|
|
|
perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
# American English, bitte
|
|
|
|
mv LICENCE LICENSE
|
|
|
|
|
|
|
|
%install
|
2012-12-29 16:16:27 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
2006-08-07 01:37:49 +00:00
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
2012-12-29 16:16:27 +00:00
|
|
|
%{_fixperms} %{buildroot}/*
|
2006-08-07 01:37:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# we don't have a SIGNATURE, regardless of perl(Test::Signature) being around
|
|
|
|
rm t/00signature.t
|
|
|
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2008-01-25 18:31:01 +00:00
|
|
|
%doc Artistic COPYING LICENSE Changes AUTHORS README CREDITS
|
2012-12-29 16:16:27 +00:00
|
|
|
%doc t/sample_dates.gz t/invalid.t
|
2006-08-07 01:37:49 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-06-07 03:12:35 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 19:49:18 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-31 02:18:29 +00:00
|
|
|
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 0.3001-18
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 11:51:39 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-29 16:16:27 +00:00
|
|
|
* Sat Dec 29 2012 Iain Arnell <iarnell@gmail.com> 0.3001-16
|
|
|
|
- gzip the sample dates file in documentation (rhbz#890441)
|
|
|
|
- update spec for modern rpmbuild
|
|
|
|
|
2012-07-20 14:34:46 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-20 11:39:15 +00:00
|
|
|
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.3001-14
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:24:50 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-20 03:41:49 +00:00
|
|
|
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 0.3001-12
|
|
|
|
- update filtering macros for rpm 4.9
|
|
|
|
|
2011-07-19 14:00:29 +00:00
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.3001-11
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-14 16:39:15 +00:00
|
|
|
* Mon Feb 14 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.3001-10
|
|
|
|
- Switch to using perl-filters/Abandon filter-requires.sh
|
|
|
|
(Work around mass rebuild breakdown).
|
|
|
|
|
2011-02-08 21:02:20 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-16 05:27:46 +00:00
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-8
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-04-30 13:57:16 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-7
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 11:56:58 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.3001-6
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:37:35 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 14:55:52 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-28 13:13:34 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3001-3
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-01-25 18:31:01 +00:00
|
|
|
* Fri Jan 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-2
|
|
|
|
- no more notes/ directory
|
|
|
|
|
2008-01-25 00:51:51 +00:00
|
|
|
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-1
|
|
|
|
- 0.3001
|
|
|
|
- fix license tag
|
|
|
|
- rebuild against new perl
|
|
|
|
|
2006-09-01 04:06:59 +00:00
|
|
|
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-4
|
2006-09-01 04:01:34 +00:00
|
|
|
- bump for mass rebuild
|
|
|
|
|
2006-08-07 01:39:18 +00:00
|
|
|
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-3
|
|
|
|
- bump for build and release
|
|
|
|
|
2006-08-07 01:37:49 +00:00
|
|
|
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-2
|
|
|
|
- add missing br: perl(File::Find::Rule)
|
|
|
|
- additional files from the test suite added to %%doc
|
|
|
|
|
|
|
|
* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1
|
|
|
|
- Initial spec file for F-E
|