You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

79 lines
1.4 KiB

# -*-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 <bob.hepple@gmail.com> - 0.2.0-1
- new version
* Tue Aug 04 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.0-3
- rebuilt
* Sun Aug 02 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.0-2
- improv description
* Tue Jul 28 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.0-1
- Initial version of the package