perl-IO-AIO-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: perl-IO-AIO
  2. Version: 4.12
  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-%(id -nu)
  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. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.12-1
  45. - initial build for Vine Linux
  46. * Thu Feb 2 2012 Paul Howarth <paul@city-fan.org> - 4.12-1
  47. - Update to 4.12 (see Changes file for details)
  48. - INCOMPATIBLE CHANGE: fork is no longer supported (indeed, it never was);
  49. see FORK BEHAVIOUR in manpage for details
  50. - BR: perl(Carp)
  51. - Reinstate compatibility with old distributions such as EL-5
  52. - Add back BuildRoot definition and cleaning
  53. - Use DESTDIR rather than PERL_INSTALL_ROOT
  54. - Don't use macros for commands
  55. - Use tabs
  56. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-4
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  58. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.71-3
  59. - Perl mass rebuild
  60. * Thu Mar 10 2011 Paul Howarth <paul@city-fan.org> - 3.71-2
  61. - Spec cleanup
  62. - Use %%{?perl_default_filter} instead of our own custom provides filter
  63. * Wed Feb 9 2011 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.71-1
  64. - Upstream released new version
  65. * Tue Feb 8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.65-3
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  67. * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.65-2
  68. - Rebuild to fix problems with vendorarch/lib (#661697)
  69. * Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.65-1
  70. - Upstream released new version
  71. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.17-5
  72. - Mass rebuild with perl-5.12.0
  73. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 3.17-4
  74. - Rebuild against perl 5.10.1
  75. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-3
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  77. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Thu Dec 18 2008 Nicolas Chauvet <kwizart@gmail.com> - 3.17-1
  80. - Update to 3.17
  81. * Sun Nov 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.16-1
  82. - Upstream release new version
  83. * Mon Mar 03 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.51-2
  84. - Rebuild for new perl (again)
  85. * Sat Feb 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.51-1
  86. - Sync with upstream
  87. * Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.33-2
  88. - Rebuild for new perl
  89. * Sun May 13 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.33-1
  90. - Initial import