perl-Tie-IxHash-vl.spec 4.0 KB

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