1 Summary: Coronet library
2 Summary(pl.UTF-8): Biblioteka coronet
8 Source0: http://www.xmailserver.org/%{name}-%{version}.tar.gz
9 # Source0-md5: 30637e028bd95d1e54774b5d07ab44b4
10 URL: http://www.xmailserver.org/coronet-lib.html
11 BuildRequires: libpcl-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 The coronet library implements an epoll and coroutine based library
16 that allows for async operations over certain kinds of files. Any file
17 that supports poll(2) and the O_NONBLOCK fcntl(2) flag can be hosted;
18 this includes like sockets and pipes.
20 The coronet library uses the epoll support available in the 2.6 series
21 of Linux kernels, and the libpcl library for coroutine support.
23 %description -l pl.UTF-8
24 Biblioteka coronet to implementacja biblioteki opartnej na epoll i
25 korutynach pozwalająca na operacje asynchroniczne na plikach
26 wszelkiego rodzaju. Obsługiwany może być dowolny plik obsługujący
27 poll(2) i flagę fcntl(2) O_NONBLOCK; obejmuje to gniazda i potoki.
29 Biblioteka coronet wykorzystuje wywołanie epoll dostępne w jądrach
30 Linuksa od wersji 2.6 oraz bibliotekę libpcl do obsługi korutyn.
33 Summary: Header files for coronet library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki coronet
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 This is the package containing the header files for coronet library.
41 %description devel -l pl.UTF-8
42 Pakiet zawierający pliki nagłówkowe biblioteki coronet.
45 Summary: Static coronet library
46 Summary(pl.UTF-8): Statyczna biblioteka coronet
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static coronet library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka coronet.
64 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libcoronet.so.*.*.*
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/libcoronet.so
82 %{_libdir}/libcoronet.la
83 %{_includedir}/coronet.h
84 %{_mandir}/man3/coronet.3*
87 %defattr(644,root,root,755)
88 %{_libdir}/libcoronet.a