source: projects/specs/trunk/p/perl-DateTime-Format-Mail/perl-DateTime-Format-Mail-vl.spec @ 9167

Revision 9167, 4.7 KB checked in by inagaki, 9 years ago (diff)

2014-12-19 Ryoichi INAGAKI <ryo1@…>

  • perl-Authen-{Captcha, Radius, SASL}, perl-DBM-Deep, perl-DateTime?-Format-{HTTP, Mail}, perl-Dist-CheckConflicts?, perl-Eval-Closure, perl-Package-DeprecationManager?, perl-Regexp-Common, perl-Term-ReadLine?-Gnu, perl-Text-Template: updated
  • perl-DateTime?-Format-{IBeat, W3CDTF}, perl-Declare-Constraints-Simple, perl-Text-Markdown: rebuilt
  • perl-String-Random: NEW


Line 
1%define _version 0.401
2
3Name:           perl-DateTime-Format-Mail
4Version:        0.4010       
5Release:        1%{?_dist_release}
6Summary:        Convert between DateTime and RFC2822/822 formats
7
8Group:          Development/Libraries
9License:        GPL+ or Artistic       
10URL:            http://search.cpan.org/dist/DateTime-Format-Mail           
11Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-%{_version}.tar.gz       
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildArch:      noarch
15BuildRequires:  perl(Carp)
16BuildRequires:  perl(Class::ISA)
17BuildRequires:  perl(DateTime) >= 0.18
18BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
19BuildRequires:  perl(File::Find::Rule)
20BuildRequires:  perl(Module::Build)
21BuildRequires:  perl(Params::Validate)
22BuildRequires:  perl(Pod::Coverage::TrustPod)
23BuildRequires:  perl(Test::CPAN::Meta)
24BuildRequires:  perl(Test::More) >= 0.88
25BuildRequires:  perl(Test::Pod) >= 1.41
26BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
27
28Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
29
30%description
31RFCs 2822 and 822 specify date formats to be used by email. This module parses
32and emits such dates.
33
34RFC2822 (April 2001) introduces a slightly different format of date than that
35used by RFC822 (August 1982). The main correction is that the preferred format
36is more limited, and thus easier to parse programmatically.
37
38Despite the ease of generating and parsing perfectly valid RFC822 and RFC2822
39people still get it wrong. This module aims to correct that.
40
41
42%prep
43%setup -q -n DateTime-Format-Mail-%{_version}
44
45# POD doesn't like E<copy> very much...
46perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
47
48# DateTime >= 0.1705 plays havoc with rpm's versioning system
49#for X in lib/DateTime/Format/Mail.pm META.yml; do
50#sed -i -e 's/0\.1705/0.70/g' $X
51#done
52
53%build
54%{__perl} Makefile.PL INSTALLDIRS=vendor
55make %{?_smp_mflags}
56
57# American English, bitte
58#mv LICENCE LICENSE
59
60%install
61rm -rf %{buildroot}
62make pure_install PERL_INSTALL_ROOT=%{buildroot}
63find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
64find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
65chmod -R u+w %{buildroot}/*
66
67
68%check
69# we don't have a SIGNATURE, regardless of perl(Test::Signature) being around
70#rm t/00signature.t
71
72make test
73
74
75%clean
76rm -rf %{buildroot}
77
78
79%files
80%defattr(-,root,root,-)
81%doc CREDITS Changes LICENSE README 
82%doc t/sample_dates t/invalid.t
83%{perl_vendorlib}/*
84%{_mandir}/man3/*.3*
85
86
87%changelog
88* Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.4010-1
89- new upstream release
90- built with perl 5.16.3
91
92* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.3001-1
93- initial build for Vine Linux
94
95* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-13
96- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
97
98* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 0.3001-12
99- update filtering macros for rpm 4.9
100
101* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.3001-11
102- Perl mass rebuild
103
104* Mon Feb 14 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.3001-10
105- Switch to using perl-filters/Abandon filter-requires.sh
106  (Work around mass rebuild breakdown).
107
108* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-9
109- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
110
111* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-8
112- 661697 rebuild for fixing problems with vendorach/lib
113
114* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-7
115- Mass rebuild with perl-5.12.0
116
117* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.3001-6
118- rebuild against perl 5.10.1
119
120* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-5
121- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
122
123* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-4
124- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
125
126* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3001-3
127- Rebuild for perl 5.10 (again)
128
129* Fri Jan 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-2
130- no more notes/ directory
131
132* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-1
133- 0.3001
134- fix license tag
135- rebuild against new perl
136
137* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-4
138- bump for mass rebuild
139
140* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-3
141- bump for build and release
142
143* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-2
144- add missing br: perl(File::Find::Rule)
145- additional files from the test suite added to %%doc
146
147* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1
148- Initial spec file for F-E
Note: See TracBrowser for help on using the repository browser.