perl-IO-AIO-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Name: perl-IO-AIO
  2. Version: 4.32
  3. Release: 1%{?_dist_release}
  4. Summary: Asynchronous Input/Output
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/IO-AIO/
  8. Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: perl >= 2:5.8.2
  11. BuildRequires: perl(Carp)
  12. BuildRequires: perl(common::sense)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  15. %{?perl_default_filter}
  16. %description
  17. This module implements asynchronous I/O using whatever means your operating
  18. system supports.
  19. %prep
  20. %setup -q -n IO-AIO-%{version}
  21. %build
  22. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf %{buildroot}
  26. make pure_install DESTDIR=%{buildroot}
  27. # Remove script we don't want packaged
  28. rm -f %{buildroot}%{_bindir}/treescan
  29. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  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. make test
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes COPYING README
  40. %{perl_vendorarch}/auto/IO/
  41. %{perl_vendorarch}/IO/
  42. %{_mandir}/man3/IO::AIO.3pm*
  43. %changelog
  44. * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.32-1
  45. - new upstream release
  46. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 4.12-2
  47. - build with Perl 5.16
  48. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.12-1
  49. - initial build for Vine Linux
  50. * Thu Feb 2 2012 Paul Howarth <paul@city-fan.org> - 4.12-1
  51. - Update to 4.12 (see Changes file for details)
  52. - INCOMPATIBLE CHANGE: fork is no longer supported (indeed, it never was);
  53. see FORK BEHAVIOUR in manpage for details
  54. - BR: perl(Carp)
  55. - Reinstate compatibility with old distributions such as EL-5
  56. - Add back BuildRoot definition and cleaning
  57. - Use DESTDIR rather than PERL_INSTALL_ROOT
  58. - Don't use macros for commands
  59. - Use tabs
  60. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-4
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  62. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.71-3
  63. - Perl mass rebuild
  64. * Thu Mar 10 2011 Paul Howarth <paul@city-fan.org> - 3.71-2
  65. - Spec cleanup
  66. - Use %%{?perl_default_filter} instead of our own custom provides filter
  67. * Wed Feb 9 2011 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.71-1
  68. - Upstream released new version
  69. * Tue Feb 8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.65-3
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  71. * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.65-2
  72. - Rebuild to fix problems with vendorarch/lib (#661697)
  73. * Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.65-1
  74. - Upstream released new version
  75. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.17-5
  76. - Mass rebuild with perl-5.12.0
  77. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 3.17-4
  78. - Rebuild against perl 5.10.1
  79. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-3
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  81. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-2
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  83. * Thu Dec 18 2008 Nicolas Chauvet <kwizart@gmail.com> - 3.17-1
  84. - Update to 3.17
  85. * Sun Nov 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.16-1
  86. - Upstream release new version
  87. * Mon Mar 03 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.51-2
  88. - Rebuild for new perl (again)
  89. * Sat Feb 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.51-1
  90. - Sync with upstream
  91. * Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.33-2
  92. - Rebuild for new perl
  93. * Sun May 13 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.33-1
  94. - Initial import