7 Source0: http://www.xmailserver.org/%{name}-%{version}.tar.gz
8 # Source0-md5: 30637e028bd95d1e54774b5d07ab44b4
9 URL: http://www.xmailserver.org/coronet-lib.html
10 BuildRequires: libpcl-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 The coronet library implements an epoll and coroutine based library
15 that allows for async operations over certain kinds of files. Any file
16 that supports poll(2) and the O_NONBLOCK fcntl(2) flag can be hosted;
17 this includes like sockets and pipes.
19 The coronet library uses the epoll support available in the 2.6 series
20 of Linux kernels, and the libpcl library for coroutine support.
23 Summary: Header files for coronet library
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
28 This is the package containing the header files for coronet library.
31 Summary: Static coronet library
32 Group: Development/Libraries
33 Requires: %{name}-devel = %{version}-%{release}
36 Static coronet library.
46 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
53 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_libdir}/libcoronet.so.*.*.*
62 %defattr(644,root,root,755)
63 %{_libdir}/libcoronet.so
64 %{_libdir}/libcoronet.la
65 %{_includedir}/coronet.h
66 %{_mandir}/man3/coronet.3*
69 %defattr(644,root,root,755)
70 %{_libdir}/libcoronet.a