perl-Devel-Refcount-vl.spec 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Name: perl-Devel-Refcount
  2. Version: 0.10
  3. Release: 1%{?_dist_release}
  4. Summary: Obtain the REFCNT value of a referent
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Devel-Refcount/
  8. Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Devel-Refcount-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: perl(ExtUtils::CBuilder)
  11. BuildRequires: perl(Module::Build)
  12. BuildRequires: perl(Test::Exception)
  13. BuildRequires: perl(Test::Fatal)
  14. BuildRequires: perl(Test::More)
  15. BuildRequires: perl(Test::Pod)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. This module provides a single function which obtains the reference count of
  21. the object being pointed to by the passed reference value.
  22. %prep
  23. %setup -q -n Devel-Refcount-%{version}
  24. %build
  25. %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
  26. ./Build
  27. %install
  28. rm -rf %{buildroot}
  29. ./Build install destdir=%{buildroot} create_packlist=0
  30. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  31. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  32. %{_fixperms} %{buildroot}/*
  33. %check
  34. ./Build test
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %license LICENSE
  40. %doc Changes README
  41. %{perl_vendorarch}/auto/*
  42. %{perl_vendorarch}/Devel*
  43. %{_mandir}/man3/*
  44. %changelog
  45. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10-1
  46. - new upstream release.
  47. - rebuilt with perl-5.26.
  48. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.09-2
  49. - build with Perl 5.16
  50. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.09-1
  51. - initial build for Vine Linux
  52. * Tue Jan 17 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.09-1
  53. - Update to 0.09
  54. - Add missing BR
  55. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  57. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-6
  58. - Perl mass rebuild
  59. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  61. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-4
  62. - 661697 rebuild for fixing problems with vendorach/lib
  63. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-3
  64. - Mass rebuild with perl-5.12.0
  65. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2
  66. - Mass rebuild with perl-5.12.0
  67. * Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.07-1
  68. - Update to 0.07
  69. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2
  70. - rebuild against perl 5.10.1
  71. * Tue Jul 21 2009 Nicolas Chauvet (kwizart) 0.06-1
  72. - Specfile autogenerated by cpanspec 1.78.