## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond tests 1 Name: yaksa Version: 0.3 Release: %autorelease Summary: High-performance library for noncontiguous data %global forgeurl https://github.com/pmodels/yaksa/ %forgemeta %global soversion 0 License: BSD-3-Clause URL: %forgeurl Source0: %forgesource BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: make BuildRequires: gcc BuildRequires: python3 BuildRequires: uthash-devel %description Yaksa is a high-performance noncontiguous datatype engine that can be used to express and manipulate noncontiguous data. The library sports features related to packing/unpacking, I/O vectors, and flattening noncontiguous datatypes. %package devel Summary: Development files for libyaksa Requires: %{name}%{_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup # Poor man's unbundling: uthash is a header-only library, so we can # effectively replace the local version with the system copy by symlinking. ln -fvs /usr/include/uthash.h src/external/yuthash.h ln -fvs /usr/include/utlist.h src/external/yutlist.h %build ./autogen.sh %configure \ --disable-static %make_build %install %make_install rm %{buildroot}%{_libdir}/libyaksa.la %if %{with tests} %check timeout -v 2h make -j%{_smp_build_ncpus} testing %endif %files %license COPYRIGHT %doc README.md %{_libdir}/libyaksa.so.%{soversion}{,.*} %files devel %{_includedir}/yaksa.h %{_libdir}/libyaksa.so %{_libdir}/pkgconfig/yaksa.pc %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 25 2024 Sandro - 0.3-4 - Re-enable tests and run them with plain 'make' * Thu Jan 25 2024 Sandro - 0.3-3 - Disable tests for now * Thu Jan 25 2024 Sandro - 0.3-2 - Make tests conditional * Thu Jan 25 2024 Sandro - 0.3-1 - Update to 0.3 * Tue Jul 25 2023 Zbigniew Jędrzejewski-Szmek - 0.2-8 - Add timeout for the %%check invocation * Sat Jul 22 2023 Fedora Release Engineering - 0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Mar 01 2023 Gwyn Ciesla - 0.2-5 - migrated to SPDX license * Sat Jan 21 2023 Fedora Release Engineering - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu May 12 2022 Zbigniew Jędrzejewski-Szmek - 0.2-2 - Unbundle uthash * Thu May 12 2022 Zbigniew Jędrzejewski-Szmek - 0.2-1 - Version 0.2 * Sun Feb 13 2022 Zbigniew Jędrzejewski-Szmek - 0.1-1 - Initial packaging ## END: Generated by rpmautospec