From a5d6aab7809fd332e7495e693e3bf50441a85081 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 3 Mar 2007 13:09:50 +0000 Subject: [PATCH] - new Changed files: coronet.spec -> 1.1 --- coronet.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 coronet.spec diff --git a/coronet.spec b/coronet.spec new file mode 100644 index 0000000..61aa957 --- /dev/null +++ b/coronet.spec @@ -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 -- 2.43.0