# Disable the automatically set build flags to the environment variables such # as CC, CFLAGS, and etc. # See . %undefine _auto_set_build_flags Name: simde Version: v0.8.2 Release: 1.20240522124347414898.pr1185.10.ge891375c%{?dist} Summary: Dummy License: MIT URL: https://github.com/simd-everywhere/simde # This value is magically replaced with the archive tar.gz file created by # `git archive` in the process of the CI. # Set the existing file `README.md` in case of creating SRPM from this RPM spec # file on local for testing purpose. Source0: simde-v0.8.2.tar.gz # A path to the CI script. Source1: ci.sh # List up the needed RPM package names to test here. # clang, clang++ BuildRequires: clang BuildRequires: gcc # g++ BuildRequires: gcc-c++ # ninja BuildRequires: ninja-build # pip and setuptools are needed to install and use meson PyPI package. BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools # The GNU time (/bin/time) is used for testing. Use this GNU time rather than # the embedded time function in bash. # https://www.gnu.org/software/time/ BuildRequires: time # RPM package description. %description # The bash commands to prepare are executed. %prep # Print the replaced value of the Source0. echo "Source0: %{SOURCE0}" # Create a dummy file for a valid RPM spec file. touch dummy.txt # The bash commands to test are executed. %check # Check the directory structure in the tar.gz file. tar tzvf "%{SOURCE0}" > source_files.txt head -2 source_files.txt # Check if the submodule munit is included. grep munit source_files.txt # Extract the source archive file. tar xzf "%{SOURCE0}" pushd simde-* # Set the flags used to build the actual RPM package. # These can be used in the CI testing script. %global toolchain clang export CI_CLANG_RPM_CFLAGS="%{build_cflags}" export CI_CLANG_RPM_CXXFLAGS="%{build_cxxflags}" export CI_CLANG_RPM_LDFLAGS="%{build_ldflags}" %global toolchain gcc export CI_GCC_RPM_CFLAGS="%{build_cflags}" export CI_GCC_RPM_CXXFLAGS="%{build_cxxflags}" export CI_GCC_RPM_LDFLAGS="%{build_ldflags}" echo "Running the CI script %{SOURCE1}." /bin/time -f '=> [%E]' "%{SOURCE1}" popd # Files included in the built RPM package. %files %doc dummy.txt # Changelog entries for the RPM package. %changelog * Wed May 22 2024 Packit - v0.8.2-1.20240522124347414898.pr1185.10.ge891375c - x86: Apply half tabular method in _mm_crc32 family (Cuda Chen) - arm: improve performance in vqadd and vmvn in risc-v (Zhijin Zeng) - neon: avoid warnings when "__ARM_NEON_FP" is not defined. (Carlos Alberto Lopez Perez) - Add @zengdage as a contributor (Michael R. Crusoe) - Add @howjmay as a contributor (Michael R. Crusoe) - Add @Torinde as a contributor (Michael R. Crusoe) - Add @eric900115 as a contributor (Michael R. Crusoe) - Add @AymenQ as a contributor (Michael R. Crusoe) - add git mail map (Michael R. Crusoe) - start next development cycle: v0.8.3 (Michael R. Crusoe) * Fri Jun 02 2023 Dummy Dummy - 1-1 - Dummy.