perl-Event-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Summary: Event loop processing
  2. Name: perl-Event
  3. Version: 1.28
  4. Release: 2%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL+ or Artistic
  9. URL: https://metacpan.org/pod/Event
  10. Source0: https://cpan.metacpan.org/authors/id/E/ET/ETJ/Event-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: perl(Carp)
  13. BuildRequires: perl(Config)
  14. BuildRequires: perl(Exporter)
  15. BuildRequires: perl(ExtUtils::MakeMaker)
  16. BuildRequires: perl(Test)
  17. BuildRequires: perl(Time::HiRes)
  18. Requires: perl
  19. Requires: perl(Time::HiRes)
  20. %global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(attrs\\)
  21. %{?perl_default_filter}
  22. %description
  23. The Event module provide a central facility to watch for various types of
  24. events and invoke a callback when these events occur. The idea is to delay the
  25. handling of events so that they may be dispatched in priority order when it is
  26. safe for callbacks to execute.
  27. %debug_package
  28. %prep
  29. %setup -q -n Event-%{version}
  30. # Fix up permissions and shellbangs
  31. find ./ -type f -exec chmod -c -x {} \;
  32. perl -pi -e 's|#!./perl|#!/usr/bin/perl|' demo/*.t t/*.t util/bench.pl
  33. %{_fixperms} demo/ util/
  34. # Fix character encoding
  35. #patch0 -p1
  36. %build
  37. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  38. make %{?_smp_mflags}
  39. %install
  40. make pure_install DESTDIR=%{buildroot}
  41. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  42. find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  43. find %{buildroot} -depth -type d -exec rmdir --ignore-fail-on-non-empty {} ';'
  44. %{_fixperms} %{buildroot}
  45. %check
  46. make test
  47. %files
  48. %doc ANNOUNCE ChangeLog README README.EV TODO
  49. %doc Tutorial.pdf Tutorial.pdf-errata.txt demo/ t/ util/
  50. %doc %{perl_vendorarch}/Event.pod
  51. %{perl_vendorarch}/auto/Event/
  52. %{perl_vendorarch}/Event.pm
  53. %{perl_vendorarch}/Event/
  54. %{_mandir}/man3/Event.3pm*
  55. %{_mandir}/man3/Event::MakeMaker.3pm*
  56. %{_mandir}/man3/Event::generic.3pm*
  57. %changelog
  58. * Wed Jun 11 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.28-2
  59. - built with perl-5.40.2.
  60. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.28-1
  61. - new upstream release.
  62. - built with perl-5.34.0.
  63. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
  64. - new upstream release.
  65. - rebuilt with perl-5.26.
  66. * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.24-1
  67. - new upstream release
  68. - dropt Patch0 merged into upstream
  69. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20-2
  70. - build with Perl 5.16
  71. * Fri Mar 02 2012 MATSUBAYASHi Kohji <shaolin@vinelinux.org> - 1.20-1
  72. - initial build for Vine Linux
  73. * Sun Jan 15 2012 Paul Howarth <paul@city-fan.org> 1.20-1
  74. - update to 1.20 (test suite fixes)
  75. - BR: perl(Carp), perl(Config), perl(Exporter)
  76. - since upstream doesn't ship license files, neither should we
  77. - make %%files list more explicit
  78. - use a patch to fix character encoding rather than scripted iconv
  79. - use DESTDIR rather than PERL_INSTALL_ROOT
  80. - no need for additional filtering on top of %%{?perl_default_filter}
  81. - don't package INSTALL file
  82. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.15-3
  83. - rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  84. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.15-2
  85. - perl mass rebuild
  86. * Wed May 11 2011 Iain Arnell <iarnell@gmail.com> 1.15-1
  87. - update to latest upstream version
  88. - clean up spec for modern rpmbuild
  89. - filter perl(attrs) from requires
  90. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.12-6
  91. - rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  92. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-5
  93. - rebuild to fix problems with vendorarch/lib (#661697)
  94. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-4
  95. - mass rebuild with perl-5.12.0
  96. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-3
  97. - mass rebuild with perl-5.12.0
  98. * Mon Dec 07 2009 Stepan Kasal <skasal@redhat.com> 1.12-2
  99. - rebuild against perl 5.10.1
  100. * Tue Sep 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.12-1
  101. - add perl_default_filter
  102. - auto-update to 1.12 (by cpan-spec-update 0.01)
  103. - added a new req on perl(Test) (version 1)
  104. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.11-3
  105. - rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  106. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.11-2
  107. - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  108. * Wed May 21 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.11-1
  109. - update to 1.11
  110. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-5
  111. - rebuild for perl 5.10 (again)
  112. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> 1.09-4
  113. - autorebuild for GCC 4.3
  114. * Tue Feb 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-3
  115. - rebuild for new perl
  116. * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.09-2
  117. - bump
  118. * Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.09-1
  119. - update to 1.09
  120. - add t/ to doc
  121. * Sat Nov 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.08-1
  122. - update to 1.08
  123. * Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.07-1
  124. - update to 1.07
  125. * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-2
  126. - bump for mass rebuild
  127. * Wed Jun 14 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-1
  128. - add explicit provides: perl(Event) = version... wasn't being picked up
  129. automagically for some reason
  130. - tweaked summary line
  131. - bumped release
  132. * Thu Jun 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-0
  133. - initial spec file for F-E