1 | Name: perl-Event-Lib |
---|
2 | Version: 1.03 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Perl wrapper around libevent |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: GPL+ or Artistic |
---|
8 | URL: http://search.cpan.org/dist/Event-Lib/ |
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Event-Lib-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
13 | BuildRequires: perl(GTop) |
---|
14 | # Needed for test |
---|
15 | BuildRequires: perl(Test::Pod) |
---|
16 | BuildRequires: perl(Test::Pod::Coverage) |
---|
17 | BuildRequires: libevent-devel |
---|
18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
19 | |
---|
20 | %description |
---|
21 | This module is a Perl wrapper around libevent(3) as available from |
---|
22 | http://monkey.org/~provos/libevent/. It allows to execute a function |
---|
23 | whenever a given event on a filehandle happens, a timeout occurs or a signal is |
---|
24 | received. |
---|
25 | |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q -n Event-Lib-%{version} |
---|
29 | |
---|
30 | |
---|
31 | %build |
---|
32 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \ |
---|
33 | INC=-I%{_includedir} LIBS="-L%{_libdir} -levent" |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf %{buildroot} |
---|
39 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
40 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
41 | find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
42 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
43 | chmod -R u+w %{buildroot}/* |
---|
44 | |
---|
45 | |
---|
46 | %check |
---|
47 | #Known to fail - Upstream emailed |
---|
48 | # t/20_signal.t |
---|
49 | # t/51_cleanup_persistent.t |
---|
50 | # t/90_leak.t |
---|
51 | make test || : |
---|
52 | |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc Changes README |
---|
61 | %{perl_vendorarch}/auto/* |
---|
62 | %{perl_vendorarch}/Event/ |
---|
63 | %{_mandir}/man3/*.3* |
---|
64 | |
---|
65 | |
---|
66 | %changelog |
---|
67 | * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.03-2 |
---|
68 | - build with Perl 5.16 |
---|
69 | |
---|
70 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1 |
---|
71 | - initial build for Vine Linux |
---|
72 | |
---|
73 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-16 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
75 | |
---|
76 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-15 |
---|
77 | - Perl mass rebuild |
---|
78 | |
---|
79 | * Thu Feb 10 2011 Christopher Aillon <caillon@redhat.com> - 1.03-14 |
---|
80 | - Rebuild against newer libevent |
---|
81 | |
---|
82 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-13 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
84 | |
---|
85 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-12 |
---|
86 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
87 | |
---|
88 | * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-11 |
---|
89 | - Mass rebuild with perl-5.12.0 |
---|
90 | |
---|
91 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-10 |
---|
92 | - Mass rebuild with perl-5.12.0 |
---|
93 | |
---|
94 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.03-9 |
---|
95 | - rebuild against perl 5.10.1 |
---|
96 | |
---|
97 | * Mon Jul 27 2009 kwizart < kwizart at gmail.com > - 1.0.3-8 |
---|
98 | - Fix FTBFS |
---|
99 | |
---|
100 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7 |
---|
101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
102 | |
---|
103 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-6 |
---|
104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
105 | |
---|
106 | * Wed Oct 15 2008 kwizart < kwizart at gmail.com > - 1.0.3-5 |
---|
107 | - Fix typo |
---|
108 | |
---|
109 | * Sat Jun 28 2008 kwizart < kwizart at gmail.com > - 1.0.3-4 |
---|
110 | - Disable some tests known to fail |
---|
111 | |
---|
112 | * Sat Jun 28 2008 kwizart < kwizart at gmail.com > - 1.0.3-3 |
---|
113 | - rebuild for libevent |
---|
114 | |
---|
115 | * Fri May 16 2008 kwizart < kwizart at gmail.com > - 1.0.3-2 |
---|
116 | - Add Missing BR for test |
---|
117 | |
---|
118 | * Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 1.0.3-1 |
---|
119 | - Initial package for Fedora |
---|