File gap-profiling.spec of Package gap-profiling

#
# spec file for package gap-profiling
#
# Copyright (c) 2025 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:           gap-profiling
Version:        2.6.0
Release:        0
Summary:        GAP: Line-by-line profiling and code coverage for GAP
License:        CDDL-1.0 AND MIT
Group:          Productivity/Scientific/Math
URL:            https://gap-packages.github.io/profiling/
#Git-Clone:     https://github.com/gap-packages/profiling
Source:         https://github.com/gap-packages/profiling/releases/download/v%version/profiling-%version.tar.gz
BuildRequires:  c++_compiler
BuildRequires:  gap-devel
BuildRequires:  gap-rpm-devel
BuildRequires:  python-rpm-macros
Requires:       gap-core >= 4.10
Requires:       gap-gapdoc >= 1.5
Requires:       gap-io >= 4.4.4

%description
Line by line profiling and code coverage for GAP.

%prep
%autosetup -n profiling-%version

%build

%install
%gappkg_simple_install
pushd "%buildroot/$moddir"
rm -Rf src
popd
%python3_fix_shebang_path %{buildroot}%{_libdir}/gap/pkg/profiling-%{version}/FlameGraph/*

%files -f %name.files

%changelog
openSUSE Build Service is sponsored by