[5859] | 1 | Name: perl-aliased |
---|
| 2 | Version: 0.30 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Use shorter versions of class names |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/aliased/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/aliased-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl(Exporter) |
---|
| 12 | BuildRequires: perl(Module::Build) |
---|
| 13 | BuildRequires: perl(Test::Pod) |
---|
| 14 | BuildRequires: perl(Test::Pod::Coverage) |
---|
| 15 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | aliased is simple in concept but is a rather handy module. It loads the |
---|
| 19 | class you specify and exports into your namespace a subroutine that returns |
---|
| 20 | the class name. You can explicitly alias the class to another name or, if |
---|
| 21 | you prefer, you can do so implicitly. In the latter case, the name of the |
---|
| 22 | subroutine is the last part of the class name. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q -n aliased-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | perl Build.PL installdirs=vendor |
---|
| 29 | ./Build |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf %{buildroot} |
---|
| 33 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
| 34 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 35 | %{_fixperms} %{buildroot} |
---|
| 36 | |
---|
| 37 | %check |
---|
| 38 | ./Build test |
---|
| 39 | |
---|
| 40 | %clean |
---|
| 41 | rm -rf %{buildroot} |
---|
| 42 | |
---|
| 43 | %files |
---|
| 44 | %defattr(-,root,root,-) |
---|
| 45 | %doc Changes README |
---|
| 46 | %{perl_vendorlib}/aliased.pm |
---|
| 47 | %{_mandir}/man3/aliased.3pm* |
---|
| 48 | |
---|
| 49 | %changelog |
---|
| 50 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.30-1 |
---|
| 51 | - initial build for Vine Linux |
---|
| 52 | |
---|
| 53 | * Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> - 0.30-8 |
---|
| 54 | - Spec clean-up: |
---|
| 55 | - BR: perl(Exporter) |
---|
| 56 | - Make %%files list more explicit |
---|
| 57 | - Don't use macros for commands |
---|
| 58 | - Use tabs |
---|
| 59 | |
---|
| 60 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7 |
---|
| 61 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 62 | |
---|
| 63 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-6 |
---|
| 64 | - Perl mass rebuild |
---|
| 65 | |
---|
| 66 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-5 |
---|
| 67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 68 | |
---|
| 69 | * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-4 |
---|
| 70 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 71 | |
---|
| 72 | * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-3 |
---|
| 73 | - Mass rebuild with perl-5.12.0 |
---|
| 74 | |
---|
| 75 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-2 |
---|
| 76 | - rebuild against perl 5.10.1 |
---|
| 77 | |
---|
| 78 | * Sat Aug 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1 |
---|
| 79 | - auto-update to 0.30 (by cpan-spec-update 0.01) |
---|
| 80 | |
---|
| 81 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3 |
---|
| 82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 83 | |
---|
| 84 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1 |
---|
| 88 | - update to 0.22 |
---|
| 89 | |
---|
| 90 | * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.21-2 |
---|
| 91 | - rebuild for new perl |
---|
| 92 | |
---|
| 93 | * Fri Mar 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.21-1 |
---|
| 94 | - update to 0.21 |
---|
| 95 | |
---|
| 96 | * Thu Oct 12 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.20-2 |
---|
| 97 | - bump |
---|
| 98 | |
---|
| 99 | * Mon Oct 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.20-1 |
---|
| 100 | - Specfile autogenerated by cpanspec 1.69. |
---|