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