Blob Blame History Raw
# spec file for package abi-tracker
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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:           abi-tracker
Version:        1.11
Release:        0
Summary:        Visualize ABI changes timeline of a C/C++ software library
License:        GPL-2.0-or-later OR LGPL-2.1-or-later
BuildRequires:  help2man
Requires:       abi-compliance-checker >= 2.2
Requires:       abi-dumper >= 1.1
Requires:       abi-monitor >= 1.12
Requires:       binutils
Requires:       perl-base >= 5.8
Requires:       pkgdiff >= 1.6.4
Requires:       rfcdiff >= 1.41
Requires:       vtable-dumper >= 1.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This tool visualizes an ABI changes timeline of a C/C++ software library.

It requires input profile of the library in JSON format. It can be created
manually or automatically generated by the ABI Monitor.

%setup -q

chmod 0755 %{name}.pl

mkdir -vp %{buildroot}%{_prefix}
env \
	"DESTDIR=%{buildroot}"  \
	perl -install \
# Generate man page with help2man
mkdir -p %{buildroot}%{_mandir}/man1
ln -s %{name}.pl %{name}
help2man -N -o %{name}.1 ./%{name}
install -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1