perl-Sub-Identify-vl.spec 4.0 KB

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