File simed.spec of Package simed

#
# spec file for package simed
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

Name:           simde
Version:        0.0.git
Release:        0
Summary:        Implementations of SIMD instruction sets for systems which don't natively support them.
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        MIT
URL:            https://github.com/simd-everywhere/simde
Source0:         _service

%description
The SIMDe header-only library provides fast, portable implementations of SIMD intrinsics on hardware which doesn't natively support them, such as calling SSE functions on ARM. There is no performance penalty if the hardware supports the native implementation (e.g., SSE/AVX runs at full speed on x86, NEON on ARM, etc.).
%package        devel
License:        MIT
Summary:        Implementations of SIMD instruction sets for systems which don't natively support them.
BuildRequires:  meson
BuildRequires:  c++_compiler
Requires:       %{name} = %{version}
%description    devel
The SIMDe header-only library provides fast, portable implementations of SIMD intrinsics on hardware which doesn't natively support them, such as calling SSE functions on ARM. There is no performance penalty if the hardware supports the native implementation (e.g., SSE/AVX runs at full speed on x86, NEON on ARM, etc.).

%prep
%setup -q -n %_sourcedir/%name-%version -T -D
%__mkdir -p %_builddir/%_sourcedir
%__ln -s %_sourcedir/%name-%version %_builddir/%_sourcedir
%build
%meson -Dtests=false
%meson_build 

%install
%meson_install

%post
%postun

%files
%license COPYING
%doc  README.md
%files devel
%{_includedir}/%name
%{_libdir}/pkgconfig/simde.pc
%changelog

openSUSE Build Service is sponsored by