perl-DBM-Deep-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Name: perl-DBM-Deep
  2. Version: 2.0008
  3. Release: 1%{?_dist_release}
  4. Summary: A pure perl multi-level hash/array DBM
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/DBM-Deep/
  8. Source0: http://www.cpan.org/modules/by-module/DBM/DBM-Deep-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Digest::MD5)
  12. BuildRequires: perl(Module::Build) >= 0.36
  13. BuildRequires: perl(Test::Exception) >= 0.21
  14. BuildRequires: perl(Test::Deep) >= 0.095
  15. BuildRequires: perl(Test::Warn) >= 0.08
  16. BuildRequires: perl(DBD::mysql)
  17. BuildRequires: perl(FileHandle::Fmode)
  18. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  19. # not automatically detected
  20. Requires: perl(Digest::MD5)
  21. %description
  22. A unique flat-file database module, written in pure perl. True multi-level
  23. hash/array support (unlike MLDBM, which is faked), hybrid OO / tie()
  24. interface, cross-platform FTPable files, and quite fast. Can handle
  25. millions of keys and unlimited hash levels without significant slow-down.
  26. Written from the ground-up in pure perl -- this is NOT a wrapper around a
  27. C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and Windows.
  28. %prep
  29. %setup -q -n DBM-Deep-%{version}
  30. %build
  31. export PERL_MM_USE_DEFAULT=1
  32. %{__perl} Build.PL installdirs=vendor
  33. ./Build
  34. %install
  35. rm -rf %{buildroot}
  36. ./Build install destdir=%{buildroot} create_packlist=0
  37. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
  38. chmod -R u+rwX,go+rX,go-w %{buildroot}/*
  39. %check
  40. LONG_TESTS=1 ./Build test
  41. %files
  42. %doc Changes README
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0008-1
  47. - updated to 2.0008
  48. - built with perl 5.16.3
  49. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.0004-1
  50. - initial build for Vine Linux
  51. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0004-3
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  53. * Sun Oct 09 2011 Iain Arnell <iarnell@gmail.com> 2.0004-2
  54. - R/BR perl(Digest::MD5)
  55. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.0004-1
  56. - update to 2.004
  57. - clean spec, add BR Test::Deep, Test::Warn
  58. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.983-12
  59. - Perl mass rebuild
  60. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.983-11
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.983-10
  63. - 661697 rebuild for fixing problems with vendorach/lib
  64. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.983-9
  65. - Mass rebuild with perl-5.12.0
  66. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.983-7
  67. - Mass rebuild with perl-5.12.0
  68. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.983-6
  69. - rebuild against perl 5.10.1
  70. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.983-5
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.983-4
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  74. * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.983-3
  75. - rebuild for new perl
  76. * Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 0.983-2
  77. - FE6 Rebuild
  78. * Thu Apr 27 2006 Andreas Thienemann <andreas@bawue.net> 0.983-1
  79. - Specfile autogenerated by cpanspec 1.64.
  80. - Cleaned up for FE