commit 9a32f63fa84402b378c26619fc1eec0861645f59 Author: Toshaan Bharvani Date: Tue Jun 14 18:50:59 2022 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/aml.spec b/SPECS/aml.spec new file mode 100644 index 0000000..636a1ef --- /dev/null +++ b/SPECS/aml.spec @@ -0,0 +1,79 @@ +# -*-Mode: rpm-spec -*- + +Name: aml +Version: 0.2.0 +Release: 1%{?dist} +Summary: Another Main Loop +# main source is ISC +# include/sys/queue.h is BSD +License: ISC and 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.0* + +%doc README.md + +%license COPYING + +%files devel +%{_includedir}/%{name}.h +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/* + +%changelog +* Mon Jan 04 2021 Bob Hepple - 0.2.0-1 +- new version + +* Tue Aug 04 2020 Bob Hepple - 0.1.0-3 +- rebuilt + +* Sun Aug 02 2020 Bob Hepple - 0.1.0-2 +- improv description + +* Tue Jul 28 2020 Bob Hepple - 0.1.0-1 +- Initial version of the package