# -*-Mode: rpm-spec -*- Name: aml Version: 1.0.0 Release: 1%{?dist} Summary: Another Main Loop # main source is ISC # include/sys/queue.h is BSD # Automatically converted from old format: ISC and BSD - review is highly recommended. License: ISC AND LicenseRef-Callaway-BSD URL: https://github.com/any1/aml Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: meson %description Event loop handler developed for wayvnc (Wayland VNC server) and wlvncc (Wayland VNC client) - see https://github.com/any1 Goals: * Portability * Utility * Simplicity Non-goals: * MS Windows (TM) support * Solving the C10K problem Features: * File descriptor event handlers * Timers * Tickers * Signal handlers * Idle dispatch callbacks * Thread pool * Interoperability with other event loops %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains header files for %{name}. %prep %autosetup %build %meson %meson_build %install %meson_install %files %{_libdir}/lib%{name}.so.1* %doc README.md %license COPYING %files devel %{_includedir}/aml1/%{name}.h %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/* %changelog %autochangelog