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 |
* Fri Jul 26 2013 Remi Collet <remi@fedoraproject.org> - 2.0.18-1 |
94 |
- rename to libevent2 for EPEL |
95 |
- drop -doc sub-package |
96 |
- own /usr/include/event2 |
97 |
|
98 |
* Wed Apr 4 2012 Steve Dickson <steved@redhat.com> 2.0.18-1 |
99 |
- Updated to latest stable upstream version: 2.0.18-stable |
100 |
- Moved documentation into its own rpm (bz 810138) |
101 |
|
102 |
* Mon Mar 12 2012 Steve Dickson <steved@redhat.com> 2.0.17-1 |
103 |
- Updated to latest stable upstream version: 2.0.17-stable |
104 |
|
105 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.14-2 |
106 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
107 |
|
108 |
* Wed Aug 10 2011 Steve Dickson <steved@redhat.com> 2.0.14-1 |
109 |
- Updated to latest stable upstream version: 2.0.14-stable (bz 727129) |
110 |
- Removed the installion of the outdate man pages and the latex raw docs. |
111 |
- Corrected where the other doc are installed. |
112 |
|
113 |
* Wed Aug 10 2011 Steve Dickson <steved@redhat.com> 2.0.13-1 |
114 |
- Updated to latest stable upstream version: 2.0.13-stable (bz 727129) |
115 |
|
116 |
* Tue Aug 2 2011 Steve Dickson <steved@redhat.com> 2.0.12-1 |
117 |
- Updated to latest stable upstream version: 2.0.12-stable |
118 |
|
119 |
* Wed Feb 09 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.0.10-2 |
120 |
- Fix build |
121 |
- Update spec to match current guidelines |
122 |
- drop no longer needed patch |
123 |
|
124 |
* Tue Feb 8 2011 Steve Dickson <steved@redhat.com> 2.0.10-1 |
125 |
- Updated to latest stable upstream version: 2.0.10-stable |
126 |
|
127 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.14b-2 |
128 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
129 |
|
130 |
* Tue Jun 22 2010 Steve Dickson <steved@redhat.com> 1.4.14b-1 |
131 |
- Updated to latest stable upstream version: 1.4.14b |
132 |
|
133 |
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.13-2 |
134 |
- disable static libs (bz 556067) |
135 |
|
136 |
* Tue Dec 15 2009 Steve Dickson <steved@redhat.com> 1.4.13-1 |
137 |
- Updated to latest stable upstream version: 1.4.13 |
138 |
|
139 |
* Tue Aug 18 2009 Steve Dickson <steved@redhat.com> 1.4.12-1 |
140 |
- Updated to latest stable upstream version: 1.4.12 |
141 |
- API documentation is now installed (bz 487977) |
142 |
- libevent-devel multilib conflict (bz 477685) |
143 |
- epoll backend allocates too much memory (bz 517918) |
144 |
|
145 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.10-2 |
146 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
147 |
|
148 |
* Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 1.4.10-1 |
149 |
- Updated to latest stable upstream version: 1.4.10 |
150 |
|
151 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2 |
152 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
153 |
|
154 |
* Tue Jul 1 2008 Steve Dickson <steved@redhat.com> 1.4.5-1 |
155 |
- Updated to latest stable upstream version 1.4.5-stable |
156 |
|
157 |
* Mon Jun 2 2008 Steve Dickson <steved@redhat.com> 1.4.4-1 |
158 |
- Updated to latest stable upstream version 1.4.4-stable |
159 |
|
160 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3e-2 |
161 |
- Autorebuild for GCC 4.3 |
162 |
|
163 |
* Tue Jan 22 2008 Steve Dickson <steved@redhat.com> 1.3e-1 |
164 |
- Updated to latest stable upstream version 1.3e |
165 |
|
166 |
* Fri Mar 9 2007 Steve Dickson <steved@redhat.com> 1.3b-1 |
167 |
- Updated to latest upstream version 1.3b |
168 |
- Incorporated Merge Review comments (bz 226002) |
169 |
- Increased the polling timeout (bz 204990) |
170 |
|
171 |
* Tue Feb 20 2007 Steve Dickson <steved@redhat.com> 1.2a-1 |
172 |
- Updated to latest upstream version 1.2a |
173 |
|
174 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> |
175 |
- rebuild |
176 |
|
177 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2 |
178 |
- bump again for double-long bug on ppc(64) |
179 |
|
180 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1 |
181 |
- rebuilt for new gcc4.1 snapshot and glibc changes |
182 |
|
183 |
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3 |
184 |
- rebuild (#177697) |
185 |
|
186 |
* Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2 |
187 |
- Removed unnecessary -r from rm |
188 |
|
189 |
* Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1 |
190 |
- Upstream update |
191 |
|
192 |
* Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2 |
193 |
- Added some docs |
194 |
- Moved "make verify" into %%check |
195 |
|
196 |
* Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1 |
197 |
- Initial build for Fedora Extras, based on the package |
198 |
by Dag Wieers |