%global source_name libuev %global source_summary Simple event loop for Linux %global source_version 2.4.0 %global source_release 2 %global source_license MIT %global source_description %{expand: libuEv is a small event loop that wraps the Linux epoll() family of APIs. It is similar to the more established libevent, libev and the venerable Xt(3) event loop. The µ in the name refers to both its limited feature set and the size impact of the library. } %global forge_url0 https://github.com/troglobit/libuev %global forge_tag0 v2.4.0 %global source_tags %{expand: BuildRequires: gcc BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext BuildRequires: libtool BuildRequires: make } %forgeauto_init %forgeauto_pkg %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains header files for developing application that use %{name}. %sourcelist %forgeauto_sources %patchlist %forgeauto_patches %prep %forgeauto_prep ./autogen.sh %build %configure --disable-static %make_build %check make check %install %make_install # examples directory: remove unuseful files find examples -type f \( -name "Makefile*" -or -name ".gitignore" \) -exec rm -f {} ';' # remove docs from buildroot rm -rf %{buildroot}%{_docdir}/libuev # remove something unnecessary find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %files %license LICENSE %doc README.md AUTHORS LICENSE ChangeLog.md %{_libdir}/%{name}.so.3* %files devel %doc examples %{_includedir}/uev %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Thu Dec 30 2021 Robert-André Mauchin - 2.4.0-2 - Convert to new forge macros * Sun Oct 03 2021 Alessio - 2.4.0-1 - New release * Mon Aug 02 2021 Alessio - 2.3.2-4 - https://github.com/troglobit/libuev/issues/25 * Sun Aug 01 2021 Alessio - 2.3.2-3 - Added _FILE_OFFSET_BITS=64 CPP flag BZ#1987665 * Thu Jul 22 2021 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Mar 31 2021 Alessio - 2.3.2-1 - Initial RPM version