4 Summary: Library Providing an Event Handling API
6 Group: Development/Libraries/C and C++
7 Url: http://monkey.org/~provos/libevent/
8 Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.gz
10 Source1001: libevent.manifest
11 BuildRequires: pkgconfig
14 The libevent library provides a mechanism to execute a function when a
15 specific event on a file descriptor occurs or after a given time has
20 Summary: Development files for libevent2
21 Group: Development/Libraries/C and C++
22 Requires: %name = %{version}
24 Provides: %{name}:/usr/include/event.h
27 The libevent library provides a mechanism to execute a function when a
28 specific event on a file descriptor occurs or after a given time has
31 This package holds the development files for libevent2.
34 %setup -q -n %{name}-%{version}-stable
38 %configure --disable-static
39 %{__make} %{?_smp_mflags}
44 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
49 %manifest %{name}.manifest
50 %defattr(-,root,root,-)
51 %{_libdir}/%{name}-2.0.so.5*
52 %{_libdir}/%{name}_core-2.0.so.5*
53 %{_libdir}/%{name}_extra-2.0.so.5*
54 %{_libdir}/%{name}_pthreads-2.0.so.5*
57 %manifest %{name}.manifest
59 %{_bindir}/event_rpcgen.py
63 %{_libdir}/%{name}_core.so
64 %{_libdir}/%{name}_extra.so
65 %{_libdir}/%{name}_pthreads.so
66 %{_libdir}/pkgconfig/%{name}.pc
67 %{_libdir}/pkgconfig/%{name}_pthreads.pc