source: projects/specs/trunk/lib/libe/libevent/libevent-vl.spec @ 2689

Revision 2689, 3.2 KB checked in by kudoh, 13 years ago (diff)
Line 
1Summary:        Abstract asynchronous event notification library
2Summary(ja):    非同期イベント通知ライブラリ
3Name:           libevent
4Version:        2.0.10
5Release:        1%{?_dist_release}
6Group:          System Environment/Libraries
7License:        BSD
8URL:            http://monkey.org/~provos/libevent/
9Source0:        http://monkey.org/~provos/libevent-%{version}-stable.tar.gz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13
14%description
15The libevent API provides a mechanism to execute a callback function
16when a specific event occurs on a file descriptor or after a timeout
17has been reached. libevent is meant to replace the asynchronous event
18loop found in event driven network servers. An application just needs
19to call event_dispatch() and can then add or remove events dynamically
20without having to change the event loop.
21
22%package devel
23Summary: Header files, libraries and development documentation for %{name}
24Group: Development/Libraries
25Requires: %{name} = %{version}-%{release}
26
27%description devel
28This package contains the header files, static libraries and development
29documentation for %{name}. If you like to develop programs using %{name},
30you 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
45rm -rf $RPM_BUILD_ROOT
46%__make DESTDIR=$RPM_BUILD_ROOT install
47rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
48
49
50%clean
51rm -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%{_libdir}/pkgconfig/%{name}*.pc
70#%{_mandir}/man3/*
71
72
73%changelog
74* Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1
75- new upstream release
76
77* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2
78- rebuilt with gcc-4.4.3-3 on ppc
79
80* Mon Feb  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1
81- new upstream release
82- built with new toolchains
83
84* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2
85- spec in utf-8
86- remove static libs
87
88* Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
89- new upstream release
90
91* Sun Jul  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1
92- new upstream release
93
94* Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1
95- new upstream release
96
97* Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1
98- initial build for Vine Linux
99
100* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2
101- bump again for double-long bug on ppc(64)
102
103* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1
104- rebuilt for new gcc4.1 snapshot and glibc changes
105
106* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3
107- rebuild (#177697)
108
109* Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2
110- Removed unnecessary -r from rm
111
112* Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1
113- Upstream update
114
115* Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2
116- Added some docs
117- Moved "make verify" into %%check
118
119* Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1
120- Initial build for Fedora Extras, based on the package
121  by Dag Wieers
Note: See TracBrowser for help on using the repository browser.