Name: perl-Event Version: 1.27 Release: 1%{?_dist_release} Summary: Event loop processing Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Event/ Source0: http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/Event-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test) BuildRequires: perl(Time::HiRes) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Time::HiRes) Vendor: Project Vine Distribution: Vine Linux %if %{_dist_release} > "vl6" %global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(attrs\\) %endif %{?perl_default_filter} %description The Event module provide a central facility to watch for various types of events and invoke a callback when these events occur. The idea is to delay the handling of events so that they may be dispatched in priority order when it is safe for callbacks to execute. %prep %setup -q -n Event-%{version} # Fix up permissions and shellbangs find ./ -type f -exec chmod -c -x {} \; perl -pi -e 's|#!./perl|#!/usr/bin/perl|' demo/*.t t/*.t util/bench.pl %{_fixperms} demo/ util/ # Fix character encoding #patch0 -p1 %if %{_dist_release} <= "vl6" cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* | sed -e '/perl(attrs)/d' EOF %global __perl_requires %{_builddir}/Event-%{version}/%{name}-req chmod +x %{__perl_requires} %endif %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir --ignore-fail-on-non-empty {} ';' %{_fixperms} %{buildroot} %check make test %files %doc ANNOUNCE ChangeLog README README.EV TODO %doc Tutorial.pdf Tutorial.pdf-errata.txt demo/ t/ util/ %doc %{perl_vendorarch}/Event.pod %{perl_vendorarch}/auto/Event/ %{perl_vendorarch}/Event.pm %{perl_vendorarch}/Event/ %{_mandir}/man3/Event.3pm* %{_mandir}/man3/Event::MakeMaker.3pm* %{_mandir}/man3/Event::generic.3pm* %changelog * Thu May 16 2019 Tomohiro "Tomo-p" KATO 1.27-1 - new upstream release. - rebuilt with perl-5.26. * Thu Apr 16 2015 Ryoichi INAGAKI 1.24-1 - new upstream release - dropt Patch0 merged into upstream * Fri Jun 27 2014 IWAI, Masaharu 1.20-2 - build with Perl 5.16 * Fri Mar 02 2012 MATSUBAYASHi Kohji - 1.20-1 - initial build for Vine Linux * Sun Jan 15 2012 Paul Howarth 1.20-1 - update to 1.20 (test suite fixes) - BR: perl(Carp), perl(Config), perl(Exporter) - since upstream doesn't ship license files, neither should we - make %%files list more explicit - use a patch to fix character encoding rather than scripted iconv - use DESTDIR rather than PERL_INSTALL_ROOT - no need for additional filtering on top of %%{?perl_default_filter} - don't package INSTALL file * Fri Jan 13 2012 Fedora Release Engineering 1.15-3 - rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová 1.15-2 - perl mass rebuild * Wed May 11 2011 Iain Arnell 1.15-1 - update to latest upstream version - clean up spec for modern rpmbuild - filter perl(attrs) from requires * Tue Feb 08 2011 Fedora Release Engineering 1.12-6 - rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova 1.12-5 - rebuild to fix problems with vendorarch/lib (#661697) * Sat May 01 2010 Marcela Maslanova 1.12-4 - mass rebuild with perl-5.12.0 * Fri Apr 30 2010 Marcela Maslanova 1.12-3 - mass rebuild with perl-5.12.0 * Mon Dec 07 2009 Stepan Kasal 1.12-2 - rebuild against perl 5.10.1 * Tue Sep 01 2009 Chris Weyl 1.12-1 - add perl_default_filter - auto-update to 1.12 (by cpan-spec-update 0.01) - added a new req on perl(Test) (version 1) * Sat Jul 25 2009 Fedora Release Engineering 1.11-3 - rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering 1.11-2 - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed May 21 2008 Chris Weyl 1.11-1 - update to 1.11 * Wed Feb 27 2008 Tom "spot" Callaway 1.09-5 - rebuild for perl 5.10 (again) * Mon Feb 18 2008 Fedora Release Engineering 1.09-4 - autorebuild for GCC 4.3 * Tue Feb 05 2008 Tom "spot" Callaway 1.09-3 - rebuild for new perl * Tue Aug 21 2007 Chris Weyl 1.09-2 - bump * Fri Jun 01 2007 Chris Weyl 1.09-1 - update to 1.09 - add t/ to doc * Sat Nov 04 2006 Chris Weyl 1.08-1 - update to 1.08 * Sun Oct 15 2006 Chris Weyl 1.07-1 - update to 1.07 * Thu Aug 31 2006 Chris Weyl 1.06-2 - bump for mass rebuild * Wed Jun 14 2006 Chris Weyl 1.06-1 - add explicit provides: perl(Event) = version... wasn't being picked up automagically for some reason - tweaked summary line - bumped release * Thu Jun 08 2006 Chris Weyl 1.06-0 - initial spec file for F-E