Name: libkqueue Summary: A user space implementation of the kqueue kernel event notification mechanism Version: 1.0.2 Release: 1 License: MIT and BSD Group: System Environment/Libraries URL: http://mark.heily.com/proj/libkqueue/index.html Source0: http://mark.heily.com/proj/libkqueue/dist/%{name}-%{version}.tar.gz %description libkqueue is a user space implementation of the kqueue(2) kernel event notification mechanism. libkqueue acts as a translator between the kevent structure and the native kernel facilities of the host machine. %package devel Group: Development/Libraries Summary: Development files for %{name}-%{version}. Provides: %{name}-static = %{version}-%{release} %description devel %{summary}. %prep %setup -q %build %{_configure} make %install make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=$RPM_BUILD_ROOT%{_libdir} MANDIR=$RPM_BUILD_ROOT%{_mandir} INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir} %check cd test ./configure make check %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libkqueue.so %{_libdir}/libkqueue.so.0 %{_libdir}/libkqueue.so.0.0 %{_libdir}/libkqueue.a %{_mandir}/man2/kqueue.2.gz %{_mandir}/man2/kevent.2.gz %files devel %defattr(-,root,root,-) %{_includedir}/kqueue/sys/event.h %{_libdir}/pkgconfig/libkqueue.pc %{_libdir}/libkqueue.la %changelog * Fri Apr 01 2011 Aditya Patawari - 1.0.2-1 - Initial Build