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