| 1 | Name: perl-Class-Factory-Util |
|---|
| 2 | Version: 1.7 |
|---|
| 3 | Release: 2%{?_dist_release} |
|---|
| 4 | Summary: Provide utility methods for factory classes |
|---|
| 5 | |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | License: GPL+ or Artistic |
|---|
| 8 | URL: http://search.cpan.org/dist/Class-Factory-Util |
|---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-%{version}.tar.gz |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | BuildArch: noarch |
|---|
| 13 | BuildRequires: perl(Module::Build) |
|---|
| 14 | BuildRequires: perl(Carp) |
|---|
| 15 | BuildRequires: perl(lib) |
|---|
| 16 | BuildRequires: perl(Test) |
|---|
| 17 | BuildRequires: perl(Test::More) |
|---|
| 18 | BuildRequires: perl(Test::Pod) >= 1.14 |
|---|
| 19 | BuildRequires: perl(Test::Pod::Coverage) >= 1.04 |
|---|
| 20 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 21 | |
|---|
| 22 | %description |
|---|
| 23 | This module exports utility functions that are useful for factory classes. |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | %prep |
|---|
| 27 | %setup -q -n Class-Factory-Util-%{version} |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | %build |
|---|
| 31 | %{__perl} Build.PL installdirs=vendor |
|---|
| 32 | ./Build |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | %install |
|---|
| 36 | ./Build install destdir=%{buildroot} create_packlist=0 |
|---|
| 37 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
|---|
| 38 | |
|---|
| 39 | %{_fixperms} %{buildroot}/* |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | %check |
|---|
| 43 | ./Build test |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %files |
|---|
| 47 | %doc LICENSE Changes |
|---|
| 48 | %{perl_vendorlib}/* |
|---|
| 49 | %{_mandir}/man3/*.3* |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | %changelog |
|---|
| 53 | * Sat Dec 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.7-2 |
|---|
| 54 | - rebuilt with perl 5.16.3 |
|---|
| 55 | |
|---|
| 56 | * Sun Jan 6 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.7-1 |
|---|
| 57 | - initial build based on Fedora development package |
|---|
| 58 | |
|---|
| 59 | * Tue Aug 7 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.7-14 |
|---|
| 60 | - Update BR and clean up spec for modern rpmbuild. |
|---|
| 61 | |
|---|
| 62 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-13 |
|---|
| 63 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
|---|
| 64 | |
|---|
| 65 | * Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.7-12 |
|---|
| 66 | - Perl 5.16 rebuild |
|---|
| 67 | |
|---|
| 68 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-11 |
|---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 70 | |
|---|
| 71 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.7-10 |
|---|
| 72 | - Perl mass rebuild |
|---|
| 73 | |
|---|
| 74 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-9 |
|---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 76 | |
|---|
| 77 | * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.7-8 |
|---|
| 78 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 79 | |
|---|
| 80 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.7-7 |
|---|
| 81 | - Mass rebuild with perl-5.12.0 |
|---|
| 82 | |
|---|
| 83 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.7-6 |
|---|
| 84 | - rebuild against perl 5.10.1 |
|---|
| 85 | |
|---|
| 86 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-5 |
|---|
| 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> - 1.7-4 |
|---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 91 | |
|---|
| 92 | * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.7-3 |
|---|
| 93 | - rebuild for new perl |
|---|
| 94 | |
|---|
| 95 | * Tue Jan 01 2008 Ralf Corsépius <rc040203@freenet.de> 1.7-2 |
|---|
| 96 | - Adjust License-tag. |
|---|
| 97 | - BR: perl(Test::More) (BZ 419631). |
|---|
| 98 | - BR: perl(Test::Pod), perl(Test::Pod::Coverage). |
|---|
| 99 | |
|---|
| 100 | * Mon Apr 02 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.7-1 |
|---|
| 101 | - update to 1.7 |
|---|
| 102 | - switch to Build.PL |
|---|
| 103 | - misc spec cleanups |
|---|
| 104 | |
|---|
| 105 | * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.6-3 |
|---|
| 106 | - bump for mass rebuild |
|---|
| 107 | |
|---|
| 108 | * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.6-2 |
|---|
| 109 | - bump for build & release |
|---|
| 110 | |
|---|
| 111 | * Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.6-1 |
|---|
| 112 | Initial spec file for F-E |
|---|