]> git.pld-linux.org Git - packages/coronet.git/blob - coronet.spec
- pl
[packages/coronet.git] / coronet.spec
1 Summary:        Coronet library
2 Summary(pl.UTF-8):      Biblioteka coronet
3 Name:           coronet
4 Version:        0.23
5 Release:        0.1
6 License:        LGPL
7 Group:          Libraries
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)
13
14 %description
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.
19
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.
22
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.
28
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.
31
32 %package devel
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}
37
38 %description devel
39 This is the package containing the header files for coronet library.
40
41 %description devel -l pl.UTF-8
42 Pakiet zawierający pliki nagłówkowe biblioteki coronet.
43
44 %package static
45 Summary:        Static coronet library
46 Summary(pl.UTF-8):      Statyczna biblioteka coronet
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static coronet library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka coronet.
55
56 %prep
57 %setup -q
58
59 %build
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS
77 %attr(755,root,root) %{_libdir}/libcoronet.so.*.*.*
78
79 %files devel
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*
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/libcoronet.a
This page took 0.049503 seconds and 3 git commands to generate.