source: projects/specs/trunk/p/perl-Event-Lib/perl-Event-Lib-vl.spec @ 12374

Revision 12374, 4.3 KB checked in by tomop, 4 years ago (diff)

updated 9 packages

libevent-2.1.11-1

memcached-1.6.5-1

netatalk-3.1.12-2

nfs-utils-2.4.3-1

nsd-4.3.0-3

perl-Event-Lib-1.03-5

tmux-3.0a-1

unbound-1.10.0-2

zabbix-4.0.19-2

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