1 | Name: perl-Params-Coerce |
---|
2 | Version: 0.14 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Allows your classes to do coercion of parameters |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Params-Coerce/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Coerce-%{version}.tar.gz |
---|
9 | BuildArch: noarch |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: perl(Carp) |
---|
12 | BuildRequires: perl(Params::Util) >= 0.05 |
---|
13 | BuildRequires: perl(Scalar::Util) >= 1.11 |
---|
14 | BuildRequires: perl(Test::More) |
---|
15 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
17 | |
---|
18 | %description |
---|
19 | A big part of good API design is that we should be able to be flexible in |
---|
20 | the ways that we take parameters. Params::Coerce attempts to encourage this, |
---|
21 | by making it easier to take a variety of different arguments, while adding |
---|
22 | negligible additional complexity to your code. |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q -n Params-Coerce-%{version} |
---|
26 | |
---|
27 | %build |
---|
28 | perl Makefile.PL INSTALLDIRS=vendor |
---|
29 | make %{?_smp_mflags} |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf %{buildroot} |
---|
33 | make pure_install DESTDIR=%{buildroot} |
---|
34 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
35 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
36 | %{_fixperms} %{buildroot} |
---|
37 | |
---|
38 | %check |
---|
39 | make test AUTOMATED_TESTING=1 |
---|
40 | |
---|
41 | %clean |
---|
42 | rm -rf %{buildroot} |
---|
43 | |
---|
44 | %files |
---|
45 | %defattr(-,root,root,-) |
---|
46 | %doc Changes LICENSE README |
---|
47 | %{perl_vendorlib}/Params/ |
---|
48 | %{_mandir}/man3/Params::Coerce.3pm* |
---|
49 | |
---|
50 | %changelog |
---|
51 | * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.14-2 |
---|
52 | - rebuilt with perl 5.16.3 |
---|
53 | |
---|
54 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.14-1 |
---|
55 | - initial build for Vine Linux |
---|
56 | |
---|
57 | * Wed Feb 15 2012 Paul Howarth <paul@city-fan.org> - 0.14-11 |
---|
58 | - Spec clean-up: |
---|
59 | - Drop redundant perl and perl(ExtUtils::AutoInstall) buildreqs |
---|
60 | - BR: perl(Carp), perl(Scalar::Util) ≥ 1.11, perl(Test::More) |
---|
61 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
62 | - Set AUTOMATED_TESTING=1 to enable Pod test |
---|
63 | - Use search.cpan.org source URL |
---|
64 | - Fix typo in %%description |
---|
65 | - Make %%files list more explicit |
---|
66 | - Don't use macros for commands |
---|
67 | - Use tabs |
---|
68 | |
---|
69 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-10 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
71 | |
---|
72 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.14-9 |
---|
73 | - Perl mass rebuild |
---|
74 | |
---|
75 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-8 |
---|
76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
77 | |
---|
78 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-7 |
---|
79 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
80 | |
---|
81 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-6 |
---|
82 | - Mass rebuild with perl-5.12.0 |
---|
83 | |
---|
84 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.14-5 |
---|
85 | - Rebuild against perl 5.10.1 |
---|
86 | |
---|
87 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4 |
---|
88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
89 | |
---|
90 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3 |
---|
91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
92 | |
---|
93 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.14-2 |
---|
94 | - Rebuild for new perl |
---|
95 | |
---|
96 | * Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.14-1 |
---|
97 | - Update to 0.14 |
---|
98 | |
---|
99 | * Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-2 |
---|
100 | - Add additional verbosity to %%description |
---|
101 | |
---|
102 | * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-1 |
---|
103 | - Specfile autogenerated by cpanspec 1.69.1 |
---|