perl-Tie-IxHash-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: perl-Tie-IxHash
  2. Version: 1.22
  3. Release: 1%{?_dist_release}
  4. Summary: Ordered associative arrays for Perl
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Tie-IxHash/
  8. Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
  9. Patch0: Tie-IxHash-1.22-Makefile.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. BuildArch: noarch
  12. BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod)
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: shaolin
  17. %description
  18. This Perl module implements Perl hashes that preserve the order in
  19. which the hash elements were added. The order is not affected when
  20. values corresponding to existing keys in the IxHash are changed.
  21. The elements can also be set to any arbitrary supplied order. The
  22. familiar perl array operations can also be performed on the IxHash.
  23. %prep
  24. %setup -q -n Tie-IxHash-%{version}
  25. # Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
  26. %patch0 -p1
  27. # Fix line endings
  28. sed -i -e 's/\r$//' Changes README
  29. %build
  30. %{__perl} Makefile.PL
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  35. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  36. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
  37. chmod -R u+w $RPM_BUILD_ROOT/*
  38. %check
  39. make test
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc Changes README
  45. %{perl_sitelib}/Tie/
  46. %{_mandir}/man3/*.3pm*
  47. %changelog
  48. * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-1
  49. - initial package for Vine Linux
  50. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-6
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  52. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.22-5
  53. - Perl mass rebuild
  54. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  56. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-3
  57. - 661697 rebuild for fixing problems with vendorach/lib
  58. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2
  59. - Mass rebuild with perl-5.12.0
  60. * Wed Mar 3 2010 Paul Howarth <paul@city-fan.org> - 1.22-1
  61. - Update to 1.22 (modernize distribution)
  62. - BR: perl(Test::More), perl(Test::Pod)
  63. - Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
  64. - Fix argument order for find with -depth
  65. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.21-11
  66. - Rebuild against perl 5.10.1
  67. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  69. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-9
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-8
  72. - Rebuild for perl 5.10 (again)
  73. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-7
  74. - Rebuild for new perl
  75. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-6.1
  76. - Correct license tag
  77. - Add BR: perl(ExtUtils::MakeMaker)
  78. * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-6
  79. - Rebuild for FC6.
  80. * Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-5
  81. - Rebuild for FC5 (perl 5.8.8).
  82. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-4
  83. - Dist tag.
  84. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-3
  85. - Rebuilt
  86. * Sun May 9 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.2
  87. - Avoid creation of the perllocal.pod file (make pure_install).
  88. * Thu May 6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.1
  89. - First build.