perl-Tie-IxHash-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Name: perl-Tie-IxHash
  2. Version: 1.22
  3. Release: 2%{?_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 INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  35. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  36. find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
  37. chmod -R u+w %{buildroot}/*
  38. %check
  39. make test
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc Changes README
  45. %{perl_vendorlib}/Tie/
  46. %{_mandir}/man3/*.3pm*
  47. %changelog
  48. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-2
  49. - rebuild
  50. * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-1
  51. - initial package for Vine Linux
  52. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-6
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  54. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.22-5
  55. - Perl mass rebuild
  56. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  58. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-3
  59. - 661697 rebuild for fixing problems with vendorach/lib
  60. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2
  61. - Mass rebuild with perl-5.12.0
  62. * Wed Mar 3 2010 Paul Howarth <paul@city-fan.org> - 1.22-1
  63. - Update to 1.22 (modernize distribution)
  64. - BR: perl(Test::More), perl(Test::Pod)
  65. - Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
  66. - Fix argument order for find with -depth
  67. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.21-11
  68. - Rebuild against perl 5.10.1
  69. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  71. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-9
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  73. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-8
  74. - Rebuild for perl 5.10 (again)
  75. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-7
  76. - Rebuild for new perl
  77. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-6.1
  78. - Correct license tag
  79. - Add BR: perl(ExtUtils::MakeMaker)
  80. * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-6
  81. - Rebuild for FC6.
  82. * Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-5
  83. - Rebuild for FC5 (perl 5.8.8).
  84. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-4
  85. - Dist tag.
  86. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-3
  87. - Rebuilt
  88. * Sun May 9 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.2
  89. - Avoid creation of the perllocal.pod file (make pure_install).
  90. * Thu May 6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.1
  91. - First build.