| 1 | Summary: Abstract asynchronous event notification library |
|---|
| 2 | Summary(ja): 非同期イベント通知ライブラリ |
|---|
| 3 | Name: libevent |
|---|
| 4 | Version: 2.0.10 |
|---|
| 5 | Release: 2%{?_dist_release} |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: BSD |
|---|
| 8 | URL: http://monkey.org/~provos/libevent/ |
|---|
| 9 | Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.gz |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | |
|---|
| 13 | BuildRequires: openssl-devel |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | The libevent API provides a mechanism to execute a callback function |
|---|
| 18 | when a specific event occurs on a file descriptor or after a timeout |
|---|
| 19 | has been reached. libevent is meant to replace the asynchronous event |
|---|
| 20 | loop found in event driven network servers. An application just needs |
|---|
| 21 | to call event_dispatch() and can then add or remove events dynamically |
|---|
| 22 | without having to change the event loop. |
|---|
| 23 | |
|---|
| 24 | %package devel |
|---|
| 25 | Summary: Header files, libraries and development documentation for %{name} |
|---|
| 26 | Group: Development/Libraries |
|---|
| 27 | Requires: %{name} = %{version}-%{release} |
|---|
| 28 | |
|---|
| 29 | %description devel |
|---|
| 30 | This package contains the header files, static libraries and development |
|---|
| 31 | documentation for %{name}. If you like to develop programs using %{name}, |
|---|
| 32 | you will need to install %{name}-devel. |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | %prep |
|---|
| 36 | %setup -q -n %{name}-%{version}-stable |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | %build |
|---|
| 40 | %configure \ |
|---|
| 41 | --disable-static \ |
|---|
| 42 | --disable-dependency-tracking |
|---|
| 43 | %__make %{?_smp_mflags} |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %install |
|---|
| 47 | rm -rf $RPM_BUILD_ROOT |
|---|
| 48 | %__make DESTDIR=$RPM_BUILD_ROOT install |
|---|
| 49 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | %clean |
|---|
| 53 | rm -rf $RPM_BUILD_ROOT |
|---|
| 54 | |
|---|
| 55 | %post -p /sbin/ldconfig |
|---|
| 56 | |
|---|
| 57 | %postun -p /sbin/ldconfig |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %files |
|---|
| 61 | %defattr(-,root,root,0755) |
|---|
| 62 | %doc README |
|---|
| 63 | %{_bindir}/* |
|---|
| 64 | %{_libdir}/lib*.so.* |
|---|
| 65 | |
|---|
| 66 | %files devel |
|---|
| 67 | %defattr(-,root,root,0755) |
|---|
| 68 | %doc sample/*.c |
|---|
| 69 | %{_includedir}/* |
|---|
| 70 | %{_libdir}/lib*.so |
|---|
| 71 | %{_libdir}/pkgconfig/%{name}*.pc |
|---|
| 72 | #%{_mandir}/man3/* |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | %changelog |
|---|
| 76 | * Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-2 |
|---|
| 77 | - add BuildRequires: openssl-devel |
|---|
| 78 | |
|---|
| 79 | * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1 |
|---|
| 80 | - new upstream release |
|---|
| 81 | |
|---|
| 82 | * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2 |
|---|
| 83 | - rebuilt with gcc-4.4.3-3 on ppc |
|---|
| 84 | |
|---|
| 85 | * Mon Feb 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1 |
|---|
| 86 | - new upstream release |
|---|
| 87 | - built with new toolchains |
|---|
| 88 | |
|---|
| 89 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2 |
|---|
| 90 | - spec in utf-8 |
|---|
| 91 | - remove static libs |
|---|
| 92 | |
|---|
| 93 | * Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1 |
|---|
| 94 | - new upstream release |
|---|
| 95 | |
|---|
| 96 | * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1 |
|---|
| 97 | - new upstream release |
|---|
| 98 | |
|---|
| 99 | * Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1 |
|---|
| 100 | - new upstream release |
|---|
| 101 | |
|---|
| 102 | * Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1 |
|---|
| 103 | - initial build for Vine Linux |
|---|
| 104 | |
|---|
| 105 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2 |
|---|
| 106 | - bump again for double-long bug on ppc(64) |
|---|
| 107 | |
|---|
| 108 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1 |
|---|
| 109 | - rebuilt for new gcc4.1 snapshot and glibc changes |
|---|
| 110 | |
|---|
| 111 | * Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3 |
|---|
| 112 | - rebuild (#177697) |
|---|
| 113 | |
|---|
| 114 | * Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2 |
|---|
| 115 | - Removed unnecessary -r from rm |
|---|
| 116 | |
|---|
| 117 | * Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1 |
|---|
| 118 | - Upstream update |
|---|
| 119 | |
|---|
| 120 | * Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2 |
|---|
| 121 | - Added some docs |
|---|
| 122 | - Moved "make verify" into %%check |
|---|
| 123 | |
|---|
| 124 | * Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1 |
|---|
| 125 | - Initial build for Fedora Extras, based on the package |
|---|
| 126 | by Dag Wieers |
|---|