[521] | 1 | Summary: Abstract asynchronous event notification library |
---|
| 2 | Summary(ja): 非同期イベント通知ライブラリ |
---|
| 3 | Name: libevent |
---|
[8758] | 4 | Version: 2.0.21 |
---|
[7064] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 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 | |
---|
[2690] | 13 | BuildRequires: openssl-devel |
---|
[521] | 14 | |
---|
[2690] | 15 | |
---|
[521] | 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 |
---|
[2689] | 71 | %{_libdir}/pkgconfig/%{name}*.pc |
---|
[521] | 72 | |
---|
| 73 | |
---|
| 74 | %changelog |
---|
[8758] | 75 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.21-1 |
---|
| 76 | - update to 2.0.21 |
---|
| 77 | |
---|
[7064] | 78 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.20-1 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
[2690] | 81 | * Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-2 |
---|
| 82 | - add BuildRequires: openssl-devel |
---|
| 83 | |
---|
[2689] | 84 | * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[521] | 87 | * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2 |
---|
| 88 | - rebuilt with gcc-4.4.3-3 on ppc |
---|
| 89 | |
---|
| 90 | * Mon Feb 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1 |
---|
| 91 | - new upstream release |
---|
| 92 | - built with new toolchains |
---|
| 93 | |
---|
| 94 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2 |
---|
| 95 | - spec in utf-8 |
---|
| 96 | - remove static libs |
---|
| 97 | |
---|
| 98 | * Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
| 101 | * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
| 104 | * Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
| 107 | * Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1 |
---|
| 108 | - initial build for Vine Linux |
---|
| 109 | |
---|
| 110 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2 |
---|
| 111 | - bump again for double-long bug on ppc(64) |
---|
| 112 | |
---|
| 113 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1 |
---|
| 114 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 115 | |
---|
| 116 | * Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3 |
---|
| 117 | - rebuild (#177697) |
---|
| 118 | |
---|
| 119 | * Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2 |
---|
| 120 | - Removed unnecessary -r from rm |
---|
| 121 | |
---|
| 122 | * Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1 |
---|
| 123 | - Upstream update |
---|
| 124 | |
---|
| 125 | * Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2 |
---|
| 126 | - Added some docs |
---|
| 127 | - Moved "make verify" into %%check |
---|
| 128 | |
---|
| 129 | * Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1 |
---|
| 130 | - Initial build for Fedora Extras, based on the package |
---|
| 131 | by Dag Wieers |
---|