[5859] | 1 | Name: perl-Params-Coerce |
---|
| 2 | Version: 0.14 |
---|
| 3 | Release: 1%{?_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}-%{release}-root-%(id -nu) |
---|
| 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 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.14-1 |
---|
| 52 | - initial build for Vine Linux |
---|
| 53 | |
---|
| 54 | * Wed Feb 15 2012 Paul Howarth <paul@city-fan.org> - 0.14-11 |
---|
| 55 | - Spec clean-up: |
---|
| 56 | - Drop redundant perl and perl(ExtUtils::AutoInstall) buildreqs |
---|
| 57 | - BR: perl(Carp), perl(Scalar::Util) ≥ 1.11, perl(Test::More) |
---|
| 58 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
| 59 | - Set AUTOMATED_TESTING=1 to enable Pod test |
---|
| 60 | - Use search.cpan.org source URL |
---|
| 61 | - Fix typo in %%description |
---|
| 62 | - Make %%files list more explicit |
---|
| 63 | - Don't use macros for commands |
---|
| 64 | - Use tabs |
---|
| 65 | |
---|
| 66 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-10 |
---|
| 67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 68 | |
---|
| 69 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.14-9 |
---|
| 70 | - Perl mass rebuild |
---|
| 71 | |
---|
| 72 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-8 |
---|
| 73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 74 | |
---|
| 75 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-7 |
---|
| 76 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 77 | |
---|
| 78 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-6 |
---|
| 79 | - Mass rebuild with perl-5.12.0 |
---|
| 80 | |
---|
| 81 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.14-5 |
---|
| 82 | - Rebuild against perl 5.10.1 |
---|
| 83 | |
---|
| 84 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.14-2 |
---|
| 91 | - Rebuild for new perl |
---|
| 92 | |
---|
| 93 | * Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.14-1 |
---|
| 94 | - Update to 0.14 |
---|
| 95 | |
---|
| 96 | * Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-2 |
---|
| 97 | - Add additional verbosity to %%description |
---|
| 98 | |
---|
| 99 | * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-1 |
---|
| 100 | - Specfile autogenerated by cpanspec 1.69.1 |
---|