[5844] | 1 | Name: perl-Sub-Exporter |
---|
| 2 | Version: 0.982 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Sophisticated exporter for custom-built routines |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Sub-Exporter/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 10 | BuildArch: noarch |
---|
| 11 | # Build |
---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 13 | # Module |
---|
| 14 | BuildRequires: perl(Carp) |
---|
| 15 | BuildRequires: perl(Data::OptList) >= 0.1 |
---|
| 16 | BuildRequires: perl(Package::Generator) |
---|
| 17 | BuildRequires: perl(Params::Util) >= 0.14 |
---|
| 18 | BuildRequires: perl(Sub::Install) >= 0.92 |
---|
| 19 | # Test suite |
---|
| 20 | BuildRequires: perl(Test::More) |
---|
| 21 | # Runtime |
---|
| 22 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 23 | Requires: perl(Package::Generator) |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows |
---|
| 27 | for renaming, currying/sub-generation, and other cool stuff. |
---|
| 28 | |
---|
| 29 | ACHTUNG! If you're not familiar with Exporter or exporting, read |
---|
| 30 | Sub::Exporter::Tutorial first! |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q -n Sub-Exporter-%{version} |
---|
| 34 | |
---|
| 35 | # Fix shellbangs |
---|
| 36 | find t/ -type f -exec sed -i -e 's|^#!perl|#!/usr/bin/perl|' {} \; |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 40 | make %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf %{buildroot} |
---|
| 44 | make pure_install DESTDIR=%{buildroot} |
---|
| 45 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 46 | %{_fixperms} %{buildroot} |
---|
| 47 | |
---|
| 48 | %check |
---|
| 49 | make test |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc Changes README t/ |
---|
| 57 | %dir %{perl_vendorlib}/Sub/ |
---|
| 58 | %dir %{perl_vendorlib}/Sub/Exporter/ |
---|
| 59 | %{perl_vendorlib}/Sub/Exporter.pm |
---|
| 60 | %{perl_vendorlib}/Sub/Exporter/Util.pm |
---|
| 61 | %doc %{perl_vendorlib}/Sub/Exporter/Cookbook.pod |
---|
| 62 | %doc %{perl_vendorlib}/Sub/Exporter/Tutorial.pod |
---|
| 63 | %{_mandir}/man3/Sub::Exporter.3pm* |
---|
| 64 | %{_mandir}/man3/Sub::Exporter::Cookbook.3pm* |
---|
| 65 | %{_mandir}/man3/Sub::Exporter::Tutorial.3pm* |
---|
| 66 | %{_mandir}/man3/Sub::Exporter::Util.3pm* |
---|
| 67 | |
---|
| 68 | %changelog |
---|
| 69 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.982-1 |
---|
| 70 | - initial build for Vine Linux |
---|
| 71 | |
---|
| 72 | * Sat Mar 3 2012 Paul Howarth <paul@city-fan.org> - 0.982-10 |
---|
| 73 | - Explicitly require perl(Package::Generator) |
---|
| 74 | - Make %%files list more explicit |
---|
| 75 | - Mark POD files as %%doc |
---|
| 76 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
| 77 | - Don't need to remove empty directories from buildroot |
---|
| 78 | - Don't use macros for commands |
---|
| 79 | - Use tabs |
---|
| 80 | |
---|
| 81 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-9 |
---|
| 82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 83 | |
---|
| 84 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.982-8 |
---|
| 85 | - Perl mass rebuild |
---|
| 86 | |
---|
| 87 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-7 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-6 |
---|
| 91 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 92 | |
---|
| 93 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-5 |
---|
| 94 | - Mass rebuild with perl-5.12.0 |
---|
| 95 | |
---|
| 96 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.982-4 |
---|
| 97 | - Rebuild against perl 5.10.1 |
---|
| 98 | |
---|
| 99 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-3 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-2 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.982-1 |
---|
| 106 | - Update to 0.982 |
---|
| 107 | |
---|
| 108 | * Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.981-1 |
---|
| 109 | - Update to 0.981 |
---|
| 110 | |
---|
| 111 | * Thu Oct 23 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.980-1 |
---|
| 112 | - Update to 0.980 |
---|
| 113 | |
---|
| 114 | * Mon Jun 30 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.979-1 |
---|
| 115 | - Update to 0.979 |
---|
| 116 | - Drop BR's on: perl(Test::Pod::Coverage), perl(Test::Pod) |
---|
| 117 | |
---|
| 118 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-2 |
---|
| 119 | - Rebuild for perl 5.10 (again) |
---|
| 120 | |
---|
| 121 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-1 |
---|
| 122 | - Update to 0.978 |
---|
| 123 | - Fix license tag |
---|
| 124 | - Rebuild for new perl |
---|
| 125 | |
---|
| 126 | * Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.975-1 |
---|
| 127 | - Update to 0.975 |
---|
| 128 | |
---|
| 129 | * Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.974-1 |
---|
| 130 | - Update to 0.974 |
---|
| 131 | |
---|
| 132 | * Sat Dec 09 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.972-1 |
---|
| 133 | - Update to 0.972 |
---|
| 134 | |
---|
| 135 | * Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-2 |
---|
| 136 | - Bump |
---|
| 137 | |
---|
| 138 | * Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-1 |
---|
| 139 | - Specfile autogenerated by cpanspec 1.69.1 |
---|