1 | Summary: Abstract asynchronous event notification library |
---|
2 | Summary(ja): 非同期イベント通知ライブラリ |
---|
3 | Name: libevent |
---|
4 | Version: 2.1.8 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | URL: https://libevent.org/ |
---|
9 | Source0: https://github.com/libevent/libevent/releases/download/release-%{version}-stable/libevent-%{version}-stable.tar.gz |
---|
10 | |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: openssl-devel |
---|
17 | |
---|
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 | |
---|
27 | %package devel |
---|
28 | Summary: Header files, libraries and development documentation for %{name} |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | |
---|
32 | %description devel |
---|
33 | This package contains the header files, static libraries and development |
---|
34 | documentation for %{name}. If you like to develop programs using %{name}, |
---|
35 | you will need to install %{name}-devel. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n %{name}-%{version}-stable |
---|
40 | |
---|
41 | |
---|
42 | %build |
---|
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 |
---|
74 | %{_libdir}/pkgconfig/%{name}*.pc |
---|
75 | |
---|
76 | |
---|
77 | %changelog |
---|
78 | * Sun Nov 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1 |
---|
79 | - updated to 2.1.8. |
---|
80 | |
---|
81 | * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.21-2 |
---|
82 | - rebuild with openssl-1.0.2 |
---|
83 | |
---|
84 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.21-1 |
---|
85 | - update to 2.0.21 |
---|
86 | |
---|
87 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.20-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-2 |
---|
91 | - add BuildRequires: openssl-devel |
---|
92 | |
---|
93 | * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2 |
---|
97 | - rebuilt with gcc-4.4.3-3 on ppc |
---|
98 | |
---|
99 | * Mon Feb 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1 |
---|
100 | - new upstream release |
---|
101 | - built with new toolchains |
---|
102 | |
---|
103 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2 |
---|
104 | - spec in utf-8 |
---|
105 | - remove static libs |
---|
106 | |
---|
107 | * Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1 |
---|
117 | - initial build for Vine Linux |
---|
118 | |
---|
119 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2 |
---|
120 | - bump again for double-long bug on ppc(64) |
---|
121 | |
---|
122 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1 |
---|
123 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
124 | |
---|
125 | * Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3 |
---|
126 | - rebuild (#177697) |
---|
127 | |
---|
128 | * Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2 |
---|
129 | - Removed unnecessary -r from rm |
---|
130 | |
---|
131 | * Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1 |
---|
132 | - Upstream update |
---|
133 | |
---|
134 | * Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2 |
---|
135 | - Added some docs |
---|
136 | - Moved "make verify" into %%check |
---|
137 | |
---|
138 | * Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1 |
---|
139 | - Initial build for Fedora Extras, based on the package |
---|
140 | by Dag Wieers |
---|