SPECS: coronet.spec (NEW) - new

glen glen at pld-linux.org
Sat Mar 3 14:09:56 CET 2007


Author: glen                         Date: Sat Mar  3 13:09:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   coronet.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/coronet.spec
diff -u /dev/null SPECS/coronet.spec:1.1
--- /dev/null	Sat Mar  3 14:09:55 2007
+++ SPECS/coronet.spec	Sat Mar  3 14:09:50 2007
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/03 13:09:50  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list