perl-Sub-Identify-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: perl-Sub-Identify
  2. Version: 0.04
  3. Release: 1%{?_dist_release}
  4. Summary: Retrieve names of code references
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Sub-Identify/
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  10. BuildRequires: perl(Exporter)
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. BuildRequires: perl(Test::Pod)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  15. # Don't provide private perl libs
  16. %{?perl_default_filter}
  17. %description
  18. Sub::Identify allows you to retrieve the real name of code references. For
  19. this, it uses Perl's introspection mechanism, provided by the B module.
  20. %prep
  21. %setup -q -n Sub-Identify-%{version}
  22. # Fix script interpreters
  23. perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
  24. %build
  25. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf %{buildroot}
  29. make pure_install DESTDIR=%{buildroot}
  30. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  31. find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  32. %{_fixperms} %{buildroot}
  33. %check
  34. make test
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes t/
  40. %{perl_vendorarch}/auto/Sub/
  41. %{perl_vendorarch}/Sub/
  42. %{_mandir}/man3/Sub::Identify.3pm*
  43. %changelog
  44. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
  45. - initial build for Vine Linux
  46. * Mon Mar 5 2012 Paul Howarth <paul@city-fan.org> - 0.04-13
  47. - Use %%{optflags}
  48. - BR: perl(Exporter) and perl(Test::Pod)
  49. - Make %%files list more explicit
  50. - Use DESTDIR rather than PERL_INSTALL_ROOT
  51. - No need to remove empty directories from buildroot
  52. - Don't use macros for commands
  53. - Use tabs
  54. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-12
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-11
  57. - Perl mass rebuild
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-10
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-9
  61. - Rebuild to fix problems with vendorarch/lib (#661697)
  62. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-8
  63. - Mass rebuild with perl-5.12.0
  64. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-7
  65. - Rebuild against perl 5.10.1
  66. * Fri Aug 28 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-6
  67. - Bump
  68. * Thu Aug 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-5
  69. - Filtering errant private provides
  70. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-4
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  74. * Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-2
  75. - Aaaand change files to look in the the arch-dependent dirs
  76. * Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-1
  77. - Update to 0.04
  78. - Drop buildarch noarch, as we have some XS bits now
  79. * Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.03-1
  80. - Update to 0.03
  81. * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-3
  82. - Rebuild for new perl
  83. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-2.2
  84. - Add BR: perl(Test::More)
  85. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-2.1
  86. - Correct license tag
  87. - Add BR: perl(ExtUtils::MakeMaker)
  88. * Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-2
  89. - Bump
  90. * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-1
  91. - Specfile autogenerated by cpanspec 1.69.1