1 |
%global libname libevent |
2 |
|
3 |
Name: libevent2 |
4 |
Version: 2.0.22 |
5 |
Release: 1%{?dist} |
6 |
Summary: Abstract asynchronous event notification library |
7 |
|
8 |
Group: System Environment/Libraries |
9 |
License: BSD |
10 |
URL: http://sourceforge.net/projects/levent/ |
11 |
Source0: http://downloads.sourceforge.net/levent/%{libname}-%{version}-stable.tar.gz |
12 |
|
13 |
BuildRequires: openssl-devel |
14 |
|
15 |
#Patch00: %{libname}-2.0.10-stable-configure.patch |
16 |
|
17 |
|
18 |
%description |
19 |
The libevent API provides a mechanism to execute a callback function |
20 |
when a specific event occurs on a file descriptor or after a timeout |
21 |
has been reached. libevent is meant to replace the asynchronous event |
22 |
loop found in event driven network servers. An application just needs |
23 |
to call event_dispatch() and can then add or remove events dynamically |
24 |
without having to change the event loop. |
25 |
|
26 |
|
27 |
%package devel |
28 |
Summary: Header files, libraries and development documentation for %{name} |
29 |
Group: Development/Libraries |
30 |
Requires: %{name}%{?_isa} = %{version}-%{release} |
31 |
# same headers provided by both versions. |
32 |
Conflicts: %{libname}-devel |
33 |
|
34 |
%description devel |
35 |
This package contains the header files, static libraries and development |
36 |
documentation for %{name}. If you like to develop programs using %{name}, |
37 |
you will need to install %{name}-devel. |
38 |
|
39 |
|
40 |
%prep |
41 |
%setup -q -n %{libname}-%{version}-stable |
42 |
|
43 |
# 477685 - libevent-devel multilib conflict |
44 |
#%patch00 -p1 |
45 |
|
46 |
|
47 |
%build |
48 |
%configure \ |
49 |
--disable-dependency-tracking --disable-static |
50 |
make %{?_smp_mflags} all |
51 |
|
52 |
|
53 |
%install |
54 |
rm -rf $RPM_BUILD_ROOT |
55 |
make DESTDIR=$RPM_BUILD_ROOT install |
56 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
57 |
|
58 |
|
59 |
%post -p /sbin/ldconfig |
60 |
|
61 |
%postun -p /sbin/ldconfig |
62 |
|
63 |
|
64 |
%files |
65 |
%defattr(-,root,root,0755) |
66 |
%doc README |
67 |
%{_libdir}/libevent-*.so.* |
68 |
%{_libdir}/libevent_core-*.so.* |
69 |
%{_libdir}/libevent_extra-*.so.* |
70 |
%{_libdir}/libevent_openssl-*.so.* |
71 |
%{_libdir}/libevent_pthreads-*.so.* |
72 |
|
73 |
%files devel |
74 |
%defattr(-,root,root,0755) |
75 |
%{_includedir}/event.h |
76 |
%{_includedir}/evdns.h |
77 |
%{_includedir}/evhttp.h |
78 |
%{_includedir}/evrpc.h |
79 |
%{_includedir}/evutil.h |
80 |
%{_includedir}/event2 |
81 |
%{_libdir}/libevent.so |
82 |
%{_libdir}/libevent_core.so |
83 |
%{_libdir}/libevent_extra.so |
84 |
%{_libdir}/libevent_openssl.so |
85 |
%{_libdir}/libevent_pthreads.so |
86 |
%{_libdir}/pkgconfig/libevent.pc |
87 |
%{_libdir}/pkgconfig/libevent_openssl.pc |
88 |
%{_libdir}/pkgconfig/libevent_pthreads.pc |
89 |
%{_bindir}/event_rpcgen.* |
90 |
|
91 |
|
92 |
%changelog |
93 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> - 2.0.22-1.sme |
94 |
- initial release for SME |
95 |
|
96 |
* Fri Jul 26 2013 Remi Collet <remi@fedoraproject.org> - 2.0.18-1 |
97 |
- rename to libevent2 for EPEL |
98 |
- drop -doc sub-package |
99 |
- own /usr/include/event2 |
100 |
|
101 |
* Wed Apr 4 2012 Steve Dickson <steved@redhat.com> 2.0.18-1 |
102 |
- Updated to latest stable upstream version: 2.0.18-stable |
103 |
- Moved documentation into its own rpm (bz 810138) |
104 |
|
105 |
* Mon Mar 12 2012 Steve Dickson <steved@redhat.com> 2.0.17-1 |
106 |
- Updated to latest stable upstream version: 2.0.17-stable |
107 |
|
108 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.14-2 |
109 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
110 |
|
111 |
* Wed Aug 10 2011 Steve Dickson <steved@redhat.com> 2.0.14-1 |
112 |
- Updated to latest stable upstream version: 2.0.14-stable (bz 727129) |
113 |
- Removed the installion of the outdate man pages and the latex raw docs. |
114 |
- Corrected where the other doc are installed. |
115 |
|
116 |
* Wed Aug 10 2011 Steve Dickson <steved@redhat.com> 2.0.13-1 |
117 |
- Updated to latest stable upstream version: 2.0.13-stable (bz 727129) |
118 |
|
119 |
* Tue Aug 2 2011 Steve Dickson <steved@redhat.com> 2.0.12-1 |
120 |
- Updated to latest stable upstream version: 2.0.12-stable |
121 |
|
122 |
* Wed Feb 09 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.0.10-2 |
123 |
- Fix build |
124 |
- Update spec to match current guidelines |
125 |
- drop no longer needed patch |
126 |
|
127 |
* Tue Feb 8 2011 Steve Dickson <steved@redhat.com> 2.0.10-1 |
128 |
- Updated to latest stable upstream version: 2.0.10-stable |
129 |
|
130 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.14b-2 |
131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
132 |
|
133 |
* Tue Jun 22 2010 Steve Dickson <steved@redhat.com> 1.4.14b-1 |
134 |
- Updated to latest stable upstream version: 1.4.14b |
135 |
|
136 |
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.13-2 |
137 |
- disable static libs (bz 556067) |
138 |
|
139 |
* Tue Dec 15 2009 Steve Dickson <steved@redhat.com> 1.4.13-1 |
140 |
- Updated to latest stable upstream version: 1.4.13 |
141 |
|
142 |
* Tue Aug 18 2009 Steve Dickson <steved@redhat.com> 1.4.12-1 |
143 |
- Updated to latest stable upstream version: 1.4.12 |
144 |
- API documentation is now installed (bz 487977) |
145 |
- libevent-devel multilib conflict (bz 477685) |
146 |
- epoll backend allocates too much memory (bz 517918) |
147 |
|
148 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.10-2 |
149 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
150 |
|
151 |
* Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 1.4.10-1 |
152 |
- Updated to latest stable upstream version: 1.4.10 |
153 |
|
154 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2 |
155 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
156 |
|
157 |
* Tue Jul 1 2008 Steve Dickson <steved@redhat.com> 1.4.5-1 |
158 |
- Updated to latest stable upstream version 1.4.5-stable |
159 |
|
160 |
* Mon Jun 2 2008 Steve Dickson <steved@redhat.com> 1.4.4-1 |
161 |
- Updated to latest stable upstream version 1.4.4-stable |
162 |
|
163 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3e-2 |
164 |
- Autorebuild for GCC 4.3 |
165 |
|
166 |
* Tue Jan 22 2008 Steve Dickson <steved@redhat.com> 1.3e-1 |
167 |
- Updated to latest stable upstream version 1.3e |
168 |
|
169 |
* Fri Mar 9 2007 Steve Dickson <steved@redhat.com> 1.3b-1 |
170 |
- Updated to latest upstream version 1.3b |
171 |
- Incorporated Merge Review comments (bz 226002) |
172 |
- Increased the polling timeout (bz 204990) |
173 |
|
174 |
* Tue Feb 20 2007 Steve Dickson <steved@redhat.com> 1.2a-1 |
175 |
- Updated to latest upstream version 1.2a |
176 |
|
177 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> |
178 |
- rebuild |
179 |
|
180 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2 |
181 |
- bump again for double-long bug on ppc(64) |
182 |
|
183 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1 |
184 |
- rebuilt for new gcc4.1 snapshot and glibc changes |
185 |
|
186 |
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3 |
187 |
- rebuild (#177697) |
188 |
|
189 |
* Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2 |
190 |
- Removed unnecessary -r from rm |
191 |
|
192 |
* Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1 |
193 |
- Upstream update |
194 |
|
195 |
* Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2 |
196 |
- Added some docs |
197 |
- Moved "make verify" into %%check |
198 |
|
199 |
* Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1 |
200 |
- Initial build for Fedora Extras, based on the package |
201 |
by Dag Wieers |