Name: libkqueue Version: 2.5.0 Release: 1%{?dist} Summary: kqueue(2) compatibility library License: MIT and BSD URL: https://github.com/mheily/libkqueue Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz BuildRequires: gcc BuildRequires: cmake %package devel Summary: Development files for %{name} BuildArch: noarch %description devel Development files for %{name} %description 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 on Linux, Android, Solaris, and Windows. %prep %autosetup %build %cmake %cmake_build %install %cmake_install %files %license LICENSE %doc README.md BUGS.md %{_libdir}/libkqueue.so.2.5.0 %files devel %{_includedir}/kqueue/ %{_libdir}/libkqueue.so %{_libdir}/pkgconfig/libkqueue.pc %{_mandir}/man2/kqueue.2.* %changelog * Sun Mar 06 2022 Jan Drögehoff - 2.5.0-1 - initial spec