source: projects/specs/trunk/p/perl-Params-Coerce/perl-Params-Coerce-vl.spec @ 9118

Revision 9118, 3.4 KB checked in by inagaki, 9 years ago (diff)

2014-11-25 Ryoichi INAGAKI <ryo1@…>

  • perl-Math-{Base85, Round}, perl-PHP-Session, perl-Params-Coerce, perl-Term-Encoding: rebuilt
  • perl-Path-Class, perl-Test-Classy, perl-Test-UseAllModules?: updated


Line 
1Name:           perl-Params-Coerce
2Version:        0.14
3Release:        2%{?_dist_release}
4Summary:        Allows your classes to do coercion of parameters
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Params-Coerce/
8Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Coerce-%{version}.tar.gz
9BuildArch:      noarch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildRequires:  perl(Carp)
12BuildRequires:  perl(Params::Util) >= 0.05
13BuildRequires:  perl(Scalar::Util) >= 1.11
14BuildRequires:  perl(Test::More)
15BuildRequires:  perl(Test::Pod) >= 1.00
16Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
17
18%description
19A big part of good API design is that we should be able to be flexible in
20the ways that we take parameters. Params::Coerce attempts to encourage this,
21by making it easier to take a variety of different arguments, while adding
22negligible additional complexity to your code.
23
24%prep
25%setup -q -n Params-Coerce-%{version}
26
27%build
28perl Makefile.PL INSTALLDIRS=vendor
29make %{?_smp_mflags}
30
31%install
32rm -rf %{buildroot}
33make pure_install DESTDIR=%{buildroot}
34find %{buildroot} -type f -name .packlist -exec rm -f {} \;
35find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
36%{_fixperms} %{buildroot}
37
38%check
39make test AUTOMATED_TESTING=1
40
41%clean
42rm -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
Note: See TracBrowser for help on using the repository browser.