perl-Event-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. Summary: Event loop processing
  2. Name: perl-Event
  3. Version: 1.28
  4. Release: 1%{?_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 Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.28-1
  59. - new upstream release.
  60. - built with perl-5.34.0.
  61. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
  62. - new upstream release.
  63. - rebuilt with perl-5.26.
  64. * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.24-1
  65. - new upstream release
  66. - dropt Patch0 merged into upstream
  67. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20-2
  68. - build with Perl 5.16
  69. * Fri Mar 02 2012 MATSUBAYASHi Kohji <shaolin@vinelinux.org> - 1.20-1
  70. - initial build for Vine Linux
  71. * Sun Jan 15 2012 Paul Howarth <paul@city-fan.org> 1.20-1
  72. - update to 1.20 (test suite fixes)
  73. - BR: perl(Carp), perl(Config), perl(Exporter)
  74. - since upstream doesn't ship license files, neither should we
  75. - make %%files list more explicit
  76. - use a patch to fix character encoding rather than scripted iconv
  77. - use DESTDIR rather than PERL_INSTALL_ROOT
  78. - no need for additional filtering on top of %%{?perl_default_filter}
  79. - don't package INSTALL file
  80. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.15-3
  81. - rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  82. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.15-2
  83. - perl mass rebuild
  84. * Wed May 11 2011 Iain Arnell <iarnell@gmail.com> 1.15-1
  85. - update to latest upstream version
  86. - clean up spec for modern rpmbuild
  87. - filter perl(attrs) from requires
  88. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.12-6
  89. - rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  90. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-5
  91. - rebuild to fix problems with vendorarch/lib (#661697)
  92. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-4
  93. - mass rebuild with perl-5.12.0
  94. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-3
  95. - mass rebuild with perl-5.12.0
  96. * Mon Dec 07 2009 Stepan Kasal <skasal@redhat.com> 1.12-2
  97. - rebuild against perl 5.10.1
  98. * Tue Sep 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.12-1
  99. - add perl_default_filter
  100. - auto-update to 1.12 (by cpan-spec-update 0.01)
  101. - added a new req on perl(Test) (version 1)
  102. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.11-3
  103. - rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  104. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.11-2
  105. - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  106. * Wed May 21 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.11-1
  107. - update to 1.11
  108. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-5
  109. - rebuild for perl 5.10 (again)
  110. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> 1.09-4
  111. - autorebuild for GCC 4.3
  112. * Tue Feb 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-3
  113. - rebuild for new perl
  114. * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.09-2
  115. - bump
  116. * Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.09-1
  117. - update to 1.09
  118. - add t/ to doc
  119. * Sat Nov 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.08-1
  120. - update to 1.08
  121. * Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.07-1
  122. - update to 1.07
  123. * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-2
  124. - bump for mass rebuild
  125. * Wed Jun 14 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-1
  126. - add explicit provides: perl(Event) = version... wasn't being picked up
  127. automagically for some reason
  128. - tweaked summary line
  129. - bumped release
  130. * Thu Jun 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-0
  131. - initial spec file for F-E