3e30b1d
Name:		perl-Event
9fd59d9
Version:	1.24
56f726d
Release:	4%{?dist}
3e30b1d
Summary:	Event loop processing
3e30b1d
Group:		Development/Libraries
3e30b1d
License:	GPL+ or Artistic
3e30b1d
URL:		http://search.cpan.org/dist/Event/
92ee289
Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETJ/Event-%{version}.tar.gz
9fd59d9
# Module Build
92ee289
BuildRequires:	perl
9fd59d9
BuildRequires:	perl(ExtUtils::MakeMaker)
9fd59d9
# Module Runtime
92ee289
BuildRequires:	perl(base)
3e30b1d
BuildRequires:	perl(Carp)
3e30b1d
BuildRequires:	perl(Config)
5e80f92
BuildRequires:	perl(DynaLoader)
3e30b1d
BuildRequires:	perl(Exporter)
5e80f92
BuildRequires:	perl(integer)
5e80f92
BuildRequires:	perl(strict)
3e30b1d
BuildRequires:	perl(Time::HiRes)
5e80f92
BuildRequires:	perl(vars)
9fd59d9
# Test Suite
9fd59d9
BuildRequires:	perl(Symbol)
9fd59d9
BuildRequires:	perl(Test) >= 1
9fd59d9
# Runtime
3e30b1d
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
3e30b1d
Requires:	perl(Time::HiRes)
Chris Weyl bb655e0
a885b88
%{?perl_default_filter}
Chris Weyl 68adb35
Chris Weyl bb655e0
%description
Chris Weyl bb655e0
The Event module provide a central facility to watch for various types of
Chris Weyl bb655e0
events and invoke a callback when these events occur. The idea is to delay the
Chris Weyl bb655e0
handling of events so that they may be dispatched in priority order when it is
Chris Weyl bb655e0
safe for callbacks to execute.
Chris Weyl bb655e0
Chris Weyl bb655e0
%prep
Chris Weyl 68adb35
%setup -q -n Event-%{version}
Chris Weyl bb655e0
a885b88
# Fix up permissions and shellbangs
a885b88
perl -pi -e 's|#!./perl|#!/usr/bin/perl|' demo/*.t t/*.t util/bench.pl
a885b88
%{_fixperms} demo/ util/
Chris Weyl bb655e0
Chris Weyl bb655e0
%build
a885b88
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
Chris Weyl bb655e0
make %{?_smp_mflags}
Chris Weyl bb655e0
Chris Weyl bb655e0
%install
a885b88
make pure_install DESTDIR=%{buildroot}
a885b88
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
a885b88
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
a885b88
%{_fixperms} %{buildroot}
Chris Weyl bb655e0
Chris Weyl bb655e0
%check
Chris Weyl bb655e0
make test
Chris Weyl bb655e0
Chris Weyl bb655e0
%files
a885b88
%doc ANNOUNCE ChangeLog README README.EV TODO
a885b88
%doc Tutorial.pdf Tutorial.pdf-errata.txt demo/ t/ util/
a885b88
%doc %{perl_vendorarch}/Event.pod
a885b88
%{perl_vendorarch}/auto/Event/
a885b88
%{perl_vendorarch}/Event.pm
a885b88
%{perl_vendorarch}/Event/
9fd59d9
%{_mandir}/man3/Event.3*
9fd59d9
%{_mandir}/man3/Event::MakeMaker.3*
9fd59d9
%{_mandir}/man3/Event::generic.3*
Chris Weyl bb655e0
Chris Weyl bb655e0
%changelog
56f726d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-4
56f726d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
56f726d
dfe7d0f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-3
dfe7d0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
dfe7d0f
78b4814
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-2
78b4814
- Perl 5.22 rebuild
78b4814
9fd59d9
* Sun Mar  1 2015 Paul Howarth <paul@city-fan.org> - 1.24-1
9fd59d9
- Update to 1.24
9fd59d9
  - Bump minimum perl version to 5.8.0
9fd59d9
- Drop upstreamed UTF8 patch
9fd59d9
- Classify buildreqs by usage
9fd59d9
388ec87
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-3
388ec87
- Perl 5.20 rebuild
388ec87
b2e018e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
b2e018e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b2e018e
5e80f92
* Wed Jul  9 2014 Paul Howarth <paul@city-fan.org> - 1.23-1
5e80f92
- Update to 1.23
5e80f92
92ee289
* Mon Jun 30 2014 Paul Howarth <paul@city-fan.org> - 1.22-1
92ee289
- Update to 1.22
92ee289
- This release by ETJ → update source URL
92ee289
- Don't need to remove empty directories from the buildroot
92ee289
4bf34b8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-5
4bf34b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4bf34b8
30435e9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-4
30435e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
30435e9
1a3de24
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.21-3
1a3de24
- Perl 5.18 rebuild
1a3de24
97369b3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-2
97369b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
97369b3
8daa185
* Mon Dec 17 2012 Paul Howarth <paul@city-fan.org> - 1.21-1
8daa185
- Update to 1.21:
8daa185
  - Silence some clang warnings
8daa185
    (http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html)
8daa185
12faacd
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-3
12faacd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
12faacd
9456441
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.20-2
9456441
- Perl 5.16 rebuild
9456441
3e30b1d
* Sun Jan 15 2012 Paul Howarth <paul@city-fan.org> 1.20-1
a885b88
- update to 1.20 (test suite fixes)
a885b88
- BR: perl(Carp), perl(Config), perl(Exporter)
a885b88
- since upstream doesn't ship license files, neither should we
a885b88
- make %%files list more explicit
a885b88
- use a patch to fix character encoding rather than scripted iconv
a885b88
- use DESTDIR rather than PERL_INSTALL_ROOT
a885b88
- no need for additional filtering on top of %%{?perl_default_filter}
a885b88
- don't package INSTALL file
a885b88
3e30b1d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.15-3
3e30b1d
- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d6d90aa
3e30b1d
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.15-2
3e30b1d
- perl mass rebuild
6f3e1be
b3eec53
* Wed May 11 2011 Iain Arnell <iarnell@gmail.com> 1.15-1
b3eec53
- update to latest upstream version
b3eec53
- clean up spec for modern rpmbuild
b3eec53
- filter perl(attrs) from requires
b3eec53
3e30b1d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.12-6
3e30b1d
- rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
186338f
3e30b1d
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-5
3e30b1d
- rebuild to fix problems with vendorarch/lib (#661697)
212d531
3e30b1d
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-4
3e30b1d
- mass rebuild with perl-5.12.0
966a56a
3e30b1d
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> 1.12-3
3e30b1d
- mass rebuild with perl-5.12.0
9820008
3e30b1d
* Mon Dec 07 2009 Stepan Kasal <skasal@redhat.com> 1.12-2
4b1f43b
- rebuild against perl 5.10.1
4b1f43b
Chris Weyl 68adb35
* Tue Sep 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.12-1
Chris Weyl 68adb35
- add perl_default_filter
Chris Weyl 68adb35
- auto-update to 1.12 (by cpan-spec-update 0.01)
Chris Weyl 68adb35
- added a new req on perl(Test) (version 1)
Chris Weyl 68adb35
3e30b1d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.11-3
3e30b1d
- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8bf3cdc
3e30b1d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.11-2
3e30b1d
- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c8de38c
Chris Weyl 4327d5c
* Wed May 21 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.11-1
Chris Weyl 4327d5c
- update to 1.11
Chris Weyl 4327d5c
3e30b1d
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-5
3e30b1d
- rebuild for perl 5.10 (again)
1f51408
3e30b1d
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> 1.09-4
3e30b1d
- autorebuild for GCC 4.3
799c313
3e30b1d
* Tue Feb 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-3
47a44d1
- rebuild for new perl
47a44d1
Chris Weyl 993cc22
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.09-2
Chris Weyl 993cc22
- bump
Chris Weyl 993cc22
Chris Weyl d5809f3
* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.09-1
Chris Weyl d5809f3
- update to 1.09
Chris Weyl d5809f3
- add t/ to doc
Chris Weyl d5809f3
Chris Weyl 8f0a304
* Sat Nov 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.08-1
Chris Weyl 8f0a304
- update to 1.08
Chris Weyl 8f0a304
Chris Weyl 5d1e6dc
* Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.07-1
Chris Weyl 5d1e6dc
- update to 1.07
Chris Weyl 5d1e6dc
Chris Weyl c5715d9
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-2
Chris Weyl c5715d9
- bump for mass rebuild
Chris Weyl c5715d9
Chris Weyl 6efb09b
* Wed Jun 14 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-1
Chris Weyl 6efb09b
- add explicit provides: perl(Event) = version...  wasn't being picked up
Chris Weyl 6efb09b
  automagically for some reason
3e30b1d
- tweaked summary line
3e30b1d
- bumped release
Chris Weyl 6efb09b
Chris Weyl bb655e0
* Thu Jun 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.06-0
Chris Weyl bb655e0
- initial spec file for F-E