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