source: projects/specs/trunk/p/perl-DateTime/perl-DateTime-vl.spec @ 5858

Revision 5858, 10.0 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-DateTime
2Epoch:          2
3Version:        0.70
4Release:        1%{?_dist_release}
5Summary:        Date and time object
6License:        Artistic 2.0
7Group:          Development/Libraries
8URL:            http://search.cpan.org/dist/DateTime/
9Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
10# circular dependency - only used for one test
11#BuildRequires:  perl(DateTime::Format::Strptime) >= 1.2000
12BuildRequires:  perl(base)
13BuildRequires:  perl(constant)
14BuildRequires:  perl(DateTime::Locale) >= 0.41
15BuildRequires:  perl(DateTime::TimeZone) >= 1.09
16BuildRequires:  perl(Math::Round)
17BuildRequires:  perl(Module::Build)
18BuildRequires:  perl(Params::Validate) >= 0.76
19BuildRequires:  perl(Scalar::Util)
20BuildRequires:  perl(Test::Exception)
21BuildRequires:  perl(Test::More) >= 0.88
22BuildRequires:  perl(Time::Local) >= 1.04
23BuildRequires:  perl(XSLoader)
24Requires:       perl(DateTime::Locale) >= 0.41
25Requires:       perl(DateTime::TimeZone) >= 1.09
26Requires:       perl(XSLoader)
27Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
28
29# not automatically detected
30Provides:       perl(DateTimePP) = %{version}
31Provides:       perl(DateTimePPExtra) = %{version}
32
33%{?perl_default_filter}
34
35%description
36DateTime is a class for the representation of date/time combinations.  It
37represents the Gregorian calendar, extended backwards in time before its
38creation (in 1582). This is sometimes known as the "proleptic Gregorian
39calendar". In this calendar, the first day of the calendar (the epoch), is the
40first day of year 1, which corresponds to the date which was (incorrectly)
41believed to be the birth of Jesus Christ.
42
43%prep
44%setup -q -n DateTime-%{version}
45
46%build
47%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
48./Build
49
50%install
51./Build install destdir=%{buildroot} create_packlist=0
52find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
53find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
54
55%{_fixperms} %{buildroot}/*
56
57%check
58LANG=en_US RELEASE_TESTING=1 ./Build test
59
60%files
61%doc Changes CREDITS LICENSE README TODO
62%{perl_vendorarch}/auto/*
63%{perl_vendorarch}/DateTime*
64%{_mandir}/man3/*
65
66%changelog
67* Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2:0.70-1
68- initial build for Vine Linux
69
70* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-3
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
72
73* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-2
74- Additional (Build)Requires from unofficial review
75
76* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-1
77- Unbundle DateTime::TimeZone and DateTime::Locale
78- Bump epoch and revert to upstream versioning
79- Specfile regenerated by cpanspec 1.78.
80- Update description
81
82* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:0.7000-3
83- Perl mass rebuild
84
85* Mon Jul 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-2
86- update DateTime::TimeZone to 1.35 (Olson 2011h)
87- add rpm 4.9 filtering macros
88
89* Fri May 13 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-1
90- update DateTime to 0.70
91
92* Wed May 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.6900-1
93- update DateTime to 0.69
94- update DateTime::TimeZone to 1.34 (Olson 2011g)
95
96* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-6
97- fix the testing for loop
98
99* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-5
100- update DateTime::TimeZone to 1.33 (Olson 2011f)
101
102* Wed Apr 06 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-4
103- update DateTime::TimeZone to 1.32 (Olson 2011e)
104
105* Sat Mar 26 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-3
106- update DateTime::TimeZone to 1.31
107- DateTime::TimeZone no longer has Build.PL; use Makefile.PL
108- whitespace cleanup
109- clean up .packlist
110
111* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.6600-2
112- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
113
114* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 1:0.6600-1
115- Update DateTime to 0.66.
116- Update DateTime::TimeZone to 1.26.
117- Update URL for FAQ in description.
118- BR Class::Load and parent.
119
120* Sat Oct 09 2010 Iain Arnell <iarnell@gmail.com> 1:0.6300-1
121- Update DateTime to 0.63
122- Update DateTime::TimeZone to 1.22
123- DateTime license changed from "GPL+ or Artistic" to "Artistic 2.0"
124- Fix DTLocale/Changelog encoding
125
126* Mon Jun 14 2010 Petr Sabata <psabata@redhat.com> - 1:0.5300-4
127- perl-DateTime-Locale-0.45 update
128
129* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.5300-3
130- Mass rebuild with perl-5.12.0
131
132* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-2
133- new upstream version of DateTime-TimeZone
134
135* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-1
136- new upstream version
137- use Build.PL as Makefile.PL no longer exists
138- use iconv to recode to utf-8, not a patch
139- update BuildRequires
140- drop Provides: perl(DateTime::TimeZoneCatalog), it is no longer there
141- use filtering macros
142
143* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.4501-4
144- rebuild against perl 5.10.1
145
146* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-3
147- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
148
149* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-2
150- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
151
152* Tue Dec 09 2008 Steven Pritchard <steve@kspei.com> 1:0.4501-1
153- Update to DateTime 0.4501.
154
155* Mon Nov 10 2008 Steven Pritchard <steve@kspei.com> 1:0.4401-1
156- Update to DateTime 0.4401.
157- Update to DateTime::Locale 0.42.
158- Update to DateTime::TimeZone 0.8301.
159
160* Mon Sep 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-2
161- Update to DateTime::TimeZone 0.7904.
162
163* Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-1
164- Update to DateTime 0.4304.
165- Update to DateTime::TimeZone 0.78.
166- Update to DateTime::Locale 0.41.
167
168* Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-2
169- Update to DateTime::TimeZone 0.7701.
170
171* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-1
172- Update to DateTime 0.4302.
173- Update to DateTime::TimeZone 0.77.
174- Update to DateTime::Locale 0.4001.
175- BR List::MoreUtils.
176- Define IS_MAINTAINER so we run the pod tests.
177
178* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1:0.42-1
179- Update to DateTime 0.42.
180- Update to DateTime::TimeZone 0.75.
181- Update FAQ URL in description.
182
183* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.41-5
184- Rebuild for perl 5.10 (again)
185
186* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.41-4
187- Autorebuild for GCC 4.3
188
189* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.41-3
190- rebuild for new perl
191
192* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1:0.41-2
193- Update License tag.
194- Update to DateTime::TimeZone 0.70.
195
196* Mon Sep 17 2007 Steven Pritchard <steve@kspei.com> 1:0.41-1
197- Update to DateTime 0.41.
198- Update to DateTime::Locale 0.35.
199- Update to DateTime::TimeZone 0.67.
200
201* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2
202- Rebuild for selinux ppc32 issue.
203
204* Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1:0.39-1
205- Update to DateTime 0.39.
206- Update to DateTime::TimeZone 0.6603.
207
208* Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 1:0.38-2
209- BR Test::Output.
210
211* Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 1:0.38-1
212- Update to DateTime 0.38.
213- Update to DateTime::TimeZone 0.6602.
214- BR Test::Pod::Coverage.
215
216* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-3
217- Drop BR DateTime::Format::* to avoid circular build deps.
218
219* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-2
220- Filter Win32::TieRegistry dependency.
221- Do the provides filter like we do in cpanspec.
222- Drop some macro usage.
223
224* Sat Mar 31 2007 Steven Pritchard <steve@kspei.com> 1:0.37-1
225- Update to DateTime 0.37.
226- Update to DateTime::TimeZone 0.63.
227
228* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1:0.36-2
229- Update to DateTime::Locale 0.34.
230- Update to DateTime::TimeZone 0.62.
231
232* Mon Jan 22 2007 Steven Pritchard <steve@kspei.com> 1:0.36-1
233- Update to Date::Time 0.36.
234- Update to DateTime::Locale 0.33.
235- Update to DateTime::TimeZone 0.59.
236
237* Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 1:0.35-1
238- Update to DateTime 0.35.
239- Update to DateTime::Locale 0.3101.
240- LICENSE.icu seems to have been renamed LICENSE.cldr.
241- Update to DateTime::TimeZone 0.54.
242- Use fixperms macro instead of our own chmod incantation.
243- Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning.
244
245* Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3
246- Update to DateTime::TimeZone 0.48.
247
248* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.34-2
249- Update to DateTime::TimeZone 0.47.
250
251* Mon Aug 14 2006 Steven Pritchard <steve@kspei.com> 1:0.34-1
252- Update to DateTime 0.34.
253
254* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 1:0.32-1
255- Update to DateTime 0.32.
256- Improve Summary, description, and source URLs.
257- Fix find option order.
258
259* Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1:0.31-2
260- BR DateTime::Format::ICal and DateTime::Format::Strptime for better
261  test coverage.
262
263* Wed May 24 2006 Steven Pritchard <steve@kspei.com> 1:0.31-1
264- Update DateTime to 0.31.
265- Update DateTime::TimeZone to 0.46.
266
267* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 1:0.30-3
268- Bump Epoch (argh, 0.2901 > 0.30 to rpm)
269- Update DateTime::TimeZone to 0.42
270
271* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.30-2
272- Update DateTime::TimeZone to 0.41
273
274* Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 0.30-1
275- Update DateTime to 0.30
276- Update DateTime::TimeZone to 0.40
277
278* Fri Sep 16 2005 Paul Howarth <paul@city-fan.org> 0.2901-2
279- Unpack each tarball only once
280- Use Module::Build's build script where available
281- Help each module find the others when needed
282- Clean up files list
283- Include additional documentation from DT::Locale & DT::TimeZone
284- Add BR: perl(File::Find::Rule) & perl(Test::Pod) to improve test coverage
285- Remove unversioned provides of perl(DateTime) & perl(DateTime::TimeZone)
286
287* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 0.2901-1
288- Specfile autogenerated.
Note: See TracBrowser for help on using the repository browser.