File demumble.spec of Package demumble

# spec file for package demumble
# Copyright (c) 2020 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

Name:           demumble
Version:        1.2.2
Release:        0
Summary:        A better c++filt and a better undname.exe, in one binary
License:        Apache-2.0
Patch1:         pie.patch
BuildRequires:  c++_compiler
BuildRequires:  cmake >= 3.14.0
BuildRequires:  ninja
BuildRequires:  python3-base

demumble demangles both Itanium and Visual Studio symbols. It runs on both POSIX and Windows.

%setup -q
%autopatch -p1

%define __builder ninja

cd build
cp ../ .
python3 ./

install -D -m 0755 build/%{name} %{buildroot}%{_bindir}/%{name}

%license LICENSE

openSUSE Build Service is sponsored by