]> git.pld-linux.org Git - packages/coronet.git/blob - coronet.spec
- new
[packages/coronet.git] / coronet.spec
1 Summary:        Coronet
2 Name:           coronet
3 Version:        0.23
4 Release:        0.1
5 License:        LGPL
6 Group:          Libraries
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)
12
13 %description
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.
18
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.
21
22 %package devel
23 Summary:        Header files for coronet library
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}-%{release}
26
27 %description devel
28 This is the package containing the header files for coronet library.
29
30 %package static
31 Summary:        Static coronet library
32 Group:          Development/Libraries
33 Requires:       %{name}-devel = %{version}-%{release}
34
35 %description static
36 Static coronet library.
37
38 %prep
39 %setup -q
40
41 %build
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post   -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS
59 %attr(755,root,root) %{_libdir}/libcoronet.so.*.*.*
60
61 %files devel
62 %defattr(644,root,root,755)
63 %{_libdir}/libcoronet.so
64 %{_libdir}/libcoronet.la
65 %{_includedir}/coronet.h
66 %{_mandir}/man3/coronet.3*
67
68 %files static
69 %defattr(644,root,root,755)
70 %{_libdir}/libcoronet.a
This page took 0.052737 seconds and 4 git commands to generate.