perl-aliased-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. %description
  17. aliased is simple in concept but is a rather handy module. It loads the
  18. class you specify and exports into your namespace a subroutine that returns
  19. the class name. You can explicitly alias the class to another name or, if
  20. you prefer, you can do so implicitly. In the latter case, the name of the
  21. subroutine is the last part of the class name.
  22. %prep
  23. %setup -q -n aliased-%{version}
  24. %build
  25. perl Build.PL installdirs=vendor
  26. ./Build
  27. %install
  28. rm -rf %{buildroot}
  29. ./Build install destdir=%{buildroot} create_packlist=0
  30. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  31. %{_fixperms} %{buildroot}
  32. %check
  33. ./Build test
  34. %clean
  35. rm -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc Changes README
  39. %{perl_vendorlib}/aliased.pm
  40. %{_mandir}/man3/aliased.3pm*
  41. %changelog
  42. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.30-1
  43. - initial build for Vine Linux
  44. * Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> - 0.30-8
  45. - Spec clean-up:
  46. - BR: perl(Exporter)
  47. - Make %%files list more explicit
  48. - Don't use macros for commands
  49. - Use tabs
  50. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  52. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-6
  53. - Perl mass rebuild
  54. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-5
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  56. * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-4
  57. - Rebuild to fix problems with vendorarch/lib (#661697)
  58. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-3
  59. - Mass rebuild with perl-5.12.0
  60. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-2
  61. - rebuild against perl 5.10.1
  62. * Sat Aug 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1
  63. - auto-update to 0.30 (by cpan-spec-update 0.01)
  64. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  68. * Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1
  69. - update to 0.22
  70. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.21-2
  71. - rebuild for new perl
  72. * Fri Mar 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.21-1
  73. - update to 0.21
  74. * Thu Oct 12 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.20-2
  75. - bump
  76. * Mon Oct 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.20-1
  77. - Specfile autogenerated by cpanspec 1.69.