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

Revision 9165, 2.4 KB checked in by inagaki, 9 years ago (diff)

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

  • clearsilver, perl-AppConfig?, perl-Class-Inner, perl-DateTime?-{Calendar-Mayan, Locale}, perl-Goo-Canvas, perl-Test-Unit: rebuilt
  • perl-DateTime?, perl-Test-Manifest: updated


Line 
1Name:           perl-DateTime-Locale
2Version:        0.45
3Release:        2%{?_dist_release}
4Summary:        Localization support for DateTime.pm
5# package itself is 'same terms as Perl'
6# modules under DateTime/Locale/ are generated from data provided by the CLDR project
7# tools/t/test-data contains CLDR data files under MIT license
8License:        (GPL+ or Artistic) and MIT
9Group:          Development/Libraries
10URL:            http://search.cpan.org/dist/DateTime-Locale/
11Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildArch:      noarch
14BuildRequires:  perl >= 0:5.006
15BuildRequires:  perl(List::MoreUtils)
16BuildRequires:  perl(Module::Build)
17BuildRequires:  perl(Params::Validate) >= 0.91
18BuildRequires:  perl(Test::More)
19BuildRequires:  perl(Test::Output)
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21
22# perl-DateTime-Locale used to be bundled with perl-DateTime
23# ideally, this would be resolved with
24# Requires:     perl-DateTime >= 2:0.70-1
25# but DateTime::Locale doesn't strictly require DateTime
26# and this would introduce circular build dependencies
27Conflicts:      perl-DateTime <= 1:0.7000-3.fc16
28
29%{?perl_default_filter}
30
31%description
32DateTime::Locale is primarily a factory for the various locale sub-classes.
33It also provides some functions for getting information on all the
34available locales.
35
36%prep
37%setup -q -n DateTime-Locale-%{version}
38
39iconv -f iso-8859-1 -t utf-8 Changes >Changes.iconv \
40&& touch -r Changes Changes.iconv \
41&& mv -f Changes.iconv Changes
42
43%build
44%{__perl} Build.PL installdirs=vendor
45./Build
46
47%install
48rm -rf %{buildroot}
49
50./Build install destdir=%{buildroot} create_packlist=0
51find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
52
53%{_fixperms} %{buildroot}/*
54
55%check
56./Build test
57
58%clean
59rm -rf %{buildroot}
60
61%files
62%doc Changes LICENSE LICENSE.cldr README
63%{perl_vendorlib}/*
64%{_mandir}/man3/*
65
66%changelog
67* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.45-2
68- rebuilt with perl 5.16.3
69
70* Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.45-1
71- initial build for Vine Linux
72
73* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-2
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
75
76* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 0.45-1
77- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.