perl-EV-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Summary: Wrapper for the libev high-performance event loop library
  2. Summary(ja): 高性能イベントループライブラリ libev の Perl ラッパー
  3. Name: perl-EV
  4. Version: 4.34
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. # Note: The source archive includes a libev/ folder which contents are licensed
  10. # as "BSD or GPLv2+". However, those are removed at build-time and
  11. # perl-EV is instead built against the system-provided libev.
  12. License: GPL+ or Artistic
  13. URL: https://metacpan.org/pod/EV
  14. Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
  15. Patch0: perl-EV-4.03-Don-t-ask-questions-at-build-time.patch
  16. Patch1: perl-EV-4.30-Don-t-check-bundled-libev.patch
  17. # https://github.com/Perl/perl5/issues/22353#issuecomment-2198256977
  18. Patch2: perl-EV-4.34-typemap-remove-unescaped-quotes.patch
  19. BuildRequires: perl(ExtUtils::MakeMaker)
  20. BuildRequires: perl(common::sense)
  21. BuildRequires: gdbm-devel
  22. BuildRequires: libxcrypt-devel
  23. BuildRequires: libev-source >= 4.33
  24. BuildRequires: perl(AnyEvent)
  25. BuildRequires: perl(Canary::Stability)
  26. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  27. # As per review, a perl-EV-devel subpackage had at first been pushed to the
  28. # repositories. It now has broken deps if it's not properly obsoleted/provided.
  29. # TODO: Remove those two lines during the Fedora 17 development cycle.
  30. Provides: %{name}-devel = %{version}-%{release}
  31. Obsoletes: %{name}-devel < 4.03-5
  32. %{?perl_default_filter}
  33. %description
  34. This module provides an interface to libev
  35. (<http://software.schmorp.de/pkg/libev.html>). While the included documentation
  36. is comprehensive, one might also consult the documentation of libev itself
  37. (<http://cvs.schmorp.de/libev/ev.html>) for more subtle details on watcher
  38. semantics or some discussion on the available backends, or how to force a
  39. specific backend with "LIBEV_FLAGS", or just about in any case because it has
  40. much more detailed information.
  41. %debug_package
  42. %prep
  43. %setup -q -n EV-%{version}
  44. %patch0 -p1
  45. %patch1 -p0
  46. # remove all traces of the bundled libev
  47. rm -fr libev/*
  48. # use the sources from the system libev
  49. mkdir -p ./libev
  50. cp -r /usr/share/libev-source/* ./libev/
  51. %build
  52. PERL_CANARY_STABILITY_NOPROMPT=1 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1
  53. %{make_build}
  54. %install
  55. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  56. %{_fixperms} $RPM_BUILD_ROOT/*
  57. %check
  58. make test
  59. %clean
  60. rm -rf %{buildroot}
  61. %files
  62. %defattr(-,root,root,-)
  63. %license COPYING
  64. %doc Changes README
  65. %{perl_vendorarch}/*
  66. %exclude %dir %{perl_vendorarch}/auto/
  67. %{_mandir}/man3/*.3*
  68. %changelog
  69. * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.34-1
  70. - new upstream release.
  71. - built with perl-5.40.
  72. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.33-1
  73. - new upstream release.
  74. - built with perl-5.34.0.
  75. - imported Patch1 from rawhide.
  76. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.25-1
  77. - new upstream release.
  78. - rebuilt with perl-5.26.
  79. - added BR:libxcrypt-devel.
  80. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 4.03-2
  81. - build with Perl 5.16
  82. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.03-1
  83. - initial build for Vine Linux
  84. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-8
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  86. * Thu Dec 01 2011 Petr Pisar <ppisar@redhat.com> - 4.03-7
  87. - Build-require exact or higher version of libev-source (bug #759021)
  88. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.03-6
  89. - Perl mass rebuild
  90. * Tue Apr 12 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-5
  91. - Add the correct Obsoletes/Provides to avoid broken deps from the -devel
  92. subpackage removal.
  93. * Thu Apr 07 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-4
  94. - Readded the header file to the main package, as per guidelines:
  95. -> http://fedoraproject.org/wiki/Packaging/Perl#.h_files_in_module_packages
  96. * Tue Mar 08 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-3
  97. - Some more fixes as part of the review process:
  98. - Fix the license tag to be only the license of perl-EV, and add a note about
  99. the included libev sources.
  100. - Removed manual cleaning of the buildroot since it has been useless since
  101. Fedora 10 and even EPEL (>=6) doesn't need it now.
  102. * Wed Feb 23 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-2
  103. - Fixes asked during the review process:
  104. - Filter the private shared EV.so out of the automatic Provides
  105. - Put the header files in a -devel package
  106. - Removed the Buildroot line since it's useless for newer versions of Fedora
  107. and this package can only go in Fedora >= 15 due to its libev dependency)
  108. * Mon Jan 24 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-1
  109. - Update to 4.03.
  110. - Use the system libev instead of the bundled one.
  111. * Sun Nov 8 2009 kwizart < kwizart at gmail.com > - 3.8-1
  112. - Update to 3.8
  113. * Tue Apr 28 2009 kwizart < kwizart at gmail.com > - 3.6-1
  114. - Update to 3.6
  115. * Mon Mar 2 2009 kwizart < kwizart at gmail.com > - 3.53-1
  116. - Update to 3.53
  117. * Tue Feb 3 2009 kwizart < kwizart at gmail.com > - 3.52-1
  118. - Update to 3.52
  119. * Tue Oct 14 2008 kwizart < kwizart at gmail.com > - 3.44-1
  120. - Update to 3.44
  121. - WIP conditional --with systemlibev
  122. * Tue Jul 15 2008 kwizart < kwizart at gmail.com > - 3.431-1
  123. - Update to 3.431
  124. - Update License to (GPL+ or Artistic) and (BSD or GPLv2+)
  125. - Add libev README and LICENSE
  126. * Tue Jul 8 2008 kwizart < kwizart at gmail.com > - 3.43-1
  127. - Update to 3.43
  128. * Mon Jun 9 2008 kwizart < kwizart at gmail.com > - 3.42-2
  129. - Disable filter AnyEvent
  130. * Tue May 27 2008 kwizart < kwizart at gmail.com > - 3.42-1
  131. - Update to 3.42
  132. * Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 3.31-1
  133. - Initial package for Fedora