1 | Name: perl-DateTime-Format-W3CDTF |
---|
2 | Version: 0.06 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Parse and format W3CDTF datetime strings |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/DateTime-Format-W3CDTF/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(DateTime) |
---|
13 | BuildRequires: perl(DateTime::TimeZone) |
---|
14 | BuildRequires: perl(Test::More) |
---|
15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
16 | |
---|
17 | %description |
---|
18 | This module understands the W3CDTF date/time format, an ISO 8601 profile, |
---|
19 | defined at http://www.w3.org/TR/NOTE-datetime. This format as the native |
---|
20 | date format of RSS 1.0. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n DateTime-Format-W3CDTF-%{version} |
---|
24 | |
---|
25 | %build |
---|
26 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
27 | make %{?_smp_mflags} |
---|
28 | |
---|
29 | %install |
---|
30 | rm -rf %{buildroot} |
---|
31 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
32 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
33 | find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
34 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
35 | %{_fixperms} %{buildroot}/* |
---|
36 | |
---|
37 | %check |
---|
38 | make test |
---|
39 | |
---|
40 | %clean |
---|
41 | rm -rf %{buildroot} |
---|
42 | |
---|
43 | %files |
---|
44 | %doc Changes LICENSE README |
---|
45 | %{perl_vendorlib}/* |
---|
46 | %{_mandir}/man3/* |
---|
47 | |
---|
48 | %changelog |
---|
49 | * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.06-2 |
---|
50 | - rebuilt with perl 5.16.3 |
---|
51 | |
---|
52 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1 |
---|
53 | - initial build for Vine Linux |
---|
54 | |
---|
55 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2 |
---|
56 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
57 | |
---|
58 | * Tue Jan 03 2012 Petr Šabata <contyk@redhat.com> - 0.06-1 |
---|
59 | - 0.06 bump (#770260) |
---|
60 | - Source updated |
---|
61 | - Removed now obsolete Buildroot and defattr |
---|
62 | |
---|
63 | * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.05-6 |
---|
64 | - Perl mass rebuild |
---|
65 | |
---|
66 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.05-5 |
---|
67 | - Perl mass rebuild |
---|
68 | |
---|
69 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
71 | |
---|
72 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-3 |
---|
73 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
74 | |
---|
75 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-2 |
---|
76 | - Mass rebuild with perl-5.12.0 |
---|
77 | |
---|
78 | * Sat Feb 13 2010 Steven Pritchard <steve@kspei.com> 0.05-1 |
---|
79 | - Update to 0.05. |
---|
80 | - Update Source0 URL. |
---|
81 | - Build with Module::Build. |
---|
82 | |
---|
83 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-8 |
---|
84 | - rebuild against perl 5.10.1 |
---|
85 | |
---|
86 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-7 |
---|
87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
88 | |
---|
89 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-6 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
91 | |
---|
92 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-5 |
---|
93 | - Rebuild for perl 5.10 (again) |
---|
94 | |
---|
95 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-4 |
---|
96 | - rebuild for new perl |
---|
97 | |
---|
98 | * Thu Jan 03 2008 Ralf Corsépius <rc040203@freenet.de> 0.04-3 |
---|
99 | - Adjust License-tag. |
---|
100 | - BR: perl(Test::More) (BZ 419631). |
---|
101 | |
---|
102 | * Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.04-2 |
---|
103 | - Use fixperms macro instead of our own chmod incantation. |
---|
104 | - BR ExtUtils::MakeMaker. |
---|
105 | |
---|
106 | * Sat Aug 26 2006 Steven Pritchard <steve@kspei.com> 0.04-1 |
---|
107 | - Specfile autogenerated by cpanspec 1.68. |
---|
108 | - Fix License tag. |
---|