## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %global common_description %{expand: Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e. applying the same operation to 'lanes'.} Name: highway Version: 1.4.0 Release: %autorelease Summary: Efficient and performance-portable SIMD License: Apache-2.0 OR BSD-3-Clause URL: https://github.com/google/highway Source: %url/archive/%{version}/%{name}-%{version}.tar.gz Patch: aarch64.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gtest-devel BuildRequires: make %description %common_description %package devel Summary: Development files for Highway Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{common_description} Development files for Highway. %package doc Summary: Documentation for Highway BuildArch: noarch %description doc %{common_description} Documentation for Highway. %prep %autosetup -p1 -n %{name}-%{version} %build %cmake \ -DHWY_SYSTEM_GTEST:BOOL=ON \ -DHWY_CMAKE_RVV:BOOL=OFF %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %{_libdir}/libhwy.so.1 %{_libdir}/libhwy.so.%{version} %{_libdir}/libhwy_contrib.so.1 %{_libdir}/libhwy_contrib.so.%{version} %{_libdir}/libhwy_test.so.1 %{_libdir}/libhwy_test.so.%{version} %files devel %license LICENSE %{_includedir}/hwy/ %{_libdir}/cmake/hwy/ %{_libdir}/libhwy.so %{_libdir}/libhwy_contrib.so %{_libdir}/libhwy_test.so %{_libdir}/pkgconfig/libhwy.pc %{_libdir}/pkgconfig/libhwy-contrib.pc %{_libdir}/pkgconfig/libhwy-test.pc %files doc %license LICENSE %doc g3doc hwy/examples %changelog ## START: Generated by rpmautospec * Fri May 01 2026 John Doe - 1.4.0-1 - Uncommitted changes ## END: Generated by rpmautospec