From d740f3e869b47e311fc6568b7f66799a83f0a9ce6ddd0d270a3f05ccc2a4dadd Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Sat, 29 Jun 2013 13:07:21 +0000 Subject: [PATCH] Accepting request 181437 from home:MargueriteSu:branches:devel:libraries:c_c++ update version 2.0.21 OBS-URL: https://build.opensuse.org/request/show/181437 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libevent?expand=0&rev=21 --- libevent-2.0.20-stable.tar.gz | 3 -- libevent-2.0.21-stable.tar.gz | 3 ++ libevent.changes | 6 +++ libevent.spec | 76 +++++++++++++++++++++++++---------- 4 files changed, 64 insertions(+), 24 deletions(-) delete mode 100644 libevent-2.0.20-stable.tar.gz create mode 100644 libevent-2.0.21-stable.tar.gz diff --git a/libevent-2.0.20-stable.tar.gz b/libevent-2.0.20-stable.tar.gz deleted file mode 100644 index e572649..0000000 --- a/libevent-2.0.20-stable.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10698a0e6abb3ca00b1c9e8cfddc66933bcc4c9c78b5600a7064c4c3ef9c6a24 -size 845446 diff --git a/libevent-2.0.21-stable.tar.gz b/libevent-2.0.21-stable.tar.gz new file mode 100644 index 0000000..21a40d0 --- /dev/null +++ b/libevent-2.0.21-stable.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5 +size 850772 diff --git a/libevent.changes b/libevent.changes index 398c0f1..d109283 100644 --- a/libevent.changes +++ b/libevent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jun 29 12:36:28 UTC 2013 - i@marguerite.su + +- update to 2.0.21 + * see ChangeLog for details. + ------------------------------------------------------------------- Fri Nov 16 21:24:42 UTC 2012 - andreas.stieger@gmx.de diff --git a/libevent.spec b/libevent.spec index a038319..c21ba4d 100644 --- a/libevent.spec +++ b/libevent.spec @@ -1,7 +1,7 @@ # # spec file for package libevent # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,37 +19,56 @@ Name: libevent %define libsoname %{name}-2_0-5 -Version: 2.0.20 +Version: 2.0.21 Release: 0 -Summary: Library Providing an Event Handling API +Summary: An event notification library License: BSD-3-Clause -Group: Development/Libraries/C and C++ +Group: System/Libraries Url: http://libevent.org/ Source0: https://github.com/downloads/libevent/libevent/%{name}-%{version}-stable.tar.gz -Source1: baselibs.conf +Source1: baselibs.conf BuildRequires: openssl-devel -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: zlib-devel -PreReq: %fillup_prereq -PreReq: %insserv_prereq +Requires(pre): %fillup_prereq +Requires(pre): %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -The libevent library provides a mechanism to execute a function when a -specific event on a file descriptor occurs or after a given time has -passed. +The libevent API provides a mechanism to execute a callback function +when a specific event occurs on a file descriptor or after a timeout +has been reached. Furthermore, libevent also support callbacks due to +signals or regular timeouts. +Currently, libevent supports /dev/poll, kqueue(2), event ports, +POSIX select(2), Windows select(), poll(2), and epoll(4). + +Libevent additionally provides a sophisticated framework for buffered +network IO, with support for sockets, filters, rate-limiting, SSL, +zero-copy file transmission, and IOCP. Libevent includes support for +several useful protocols, including DNS, HTTP, and a minimal RPC +framework. %package -n %{libsoname} -Summary: Shared libraries from libevent -Group: Development/Libraries/C and C++ +Summary: An event notification library +Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n %{libsoname} -The libevent library provides a mechanism to execute a function when a -specific event on a file descriptor occurs or after a given time has -passed. +The libevent API provides a mechanism to execute a callback function +when a specific event occurs on a file descriptor or after a timeout +has been reached. Furthermore, libevent also support callbacks due to +signals or regular timeouts. + +Currently, libevent supports /dev/poll, kqueue(2), event ports, +POSIX select(2), Windows select(), poll(2), and epoll(4). + +Libevent additionally provides a sophisticated framework for buffered +network IO, with support for sockets, filters, rate-limiting, SSL, +zero-copy file transmission, and IOCP. Libevent includes support for +several useful protocols, including DNS, HTTP, and a minimal RPC +framework. This package holds the shared libraries for libevent. @@ -63,9 +82,19 @@ Provides: %{name}:/usr/include/event.h Conflicts: libev-devel %description devel -The libevent library provides a mechanism to execute a function when a -specific event on a file descriptor occurs or after a given time has -passed. +The libevent API provides a mechanism to execute a callback function +when a specific event occurs on a file descriptor or after a timeout +has been reached. Furthermore, libevent also support callbacks due to +signals or regular timeouts. + +Currently, libevent supports /dev/poll, kqueue(2), event ports, +POSIX select(2), Windows select(), poll(2), and epoll(4). + +Libevent additionally provides a sophisticated framework for buffered +network IO, with support for sockets, filters, rate-limiting, SSL, +zero-copy file transmission, and IOCP. Libevent includes support for +several useful protocols, including DNS, HTTP, and a minimal RPC +framework. This package holds the development files for libevent2. @@ -74,7 +103,7 @@ This package holds the development files for libevent2. %build %configure --disable-static -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install %makeinstall @@ -86,6 +115,7 @@ find %{buildroot}%{_libdir} -name "*.la" -delete -print %files -n %{libsoname} %defattr(-,root,root,-) +%doc ChangeLog README LICENSE whatsnew-2.0.txt %{_libdir}/%{name}-2.0.so.5* %{_libdir}/%{name}_core-2.0.so.5* %{_libdir}/%{name}_extra-2.0.so.5* @@ -95,7 +125,11 @@ find %{buildroot}%{_libdir} -name "*.la" -delete -print %files devel %defattr(-,root,root) %{_bindir}/event_rpcgen.py -%{_includedir}/*.h +%{_includedir}/evdns.h +%{_includedir}/event.h +%{_includedir}/evhttp.h +%{_includedir}/evrpc.h +%{_includedir}/evutil.h %{_includedir}/event2 %{_libdir}/%{name}.so %{_libdir}/%{name}_core.so