]> git.pld-linux.org Git - packages/coronet.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 3 Mar 2007 13:09:50 +0000 (13:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    coronet.spec -> 1.1

coronet.spec [new file with mode: 0644]

diff --git a/coronet.spec b/coronet.spec
new file mode 100644 (file)
index 0000000..61aa957
--- /dev/null
@@ -0,0 +1,70 @@
+Summary:       Coronet
+Name:          coronet
+Version:       0.23
+Release:       0.1
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.xmailserver.org/%{name}-%{version}.tar.gz
+# Source0-md5: 30637e028bd95d1e54774b5d07ab44b4
+URL:           http://www.xmailserver.org/coronet-lib.html
+BuildRequires: libpcl-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The coronet library implements an epoll and coroutine based library
+that allows for async operations over certain kinds of files. Any file
+that supports poll(2) and the O_NONBLOCK fcntl(2) flag can be hosted;
+this includes like sockets and pipes.
+
+The coronet library uses the epoll support available in the 2.6 series
+of Linux kernels, and the libpcl library for coroutine support.
+
+%package devel
+Summary:       Header files for coronet library
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the header files for coronet library.
+
+%package static
+Summary:       Static coronet library
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static coronet library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS
+%attr(755,root,root) %{_libdir}/libcoronet.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libcoronet.so
+%{_libdir}/libcoronet.la
+%{_includedir}/coronet.h
+%{_mandir}/man3/coronet.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcoronet.a
This page took 0.065152 seconds and 4 git commands to generate.