abi-dumper/abi-dumper.spec
2020-07-25 18:17:09 +08:00

35 lines
951 B
RPMSpec

Name: abi-dumper
Version: 1.1
Release: 1
Summary: a tool to dump ABI of an ELF object containing DWARF debug info.
URL: https://github.com/lvc/abi-dumper
License: LGPL v2.1 and GPL v2.0
Source: https://codeload.github.com/lvc/%{name}/tar.gz/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc make git perl-interpreter perl-generators
Requires: elfutils elfutils-devel libstdc++ libstdc++-devel
%description
The tool is intended to be used with ABI Compliance Checker tool for
tracking ABI changes of a C/C++ library or kernel module:
https://github.com/lvc/abi-compliance-checker
%prep
%autosetup -p1
%install
mkdir -p %{buildroot}%{_prefix}
perl Makefile.pl -install --prefix=%{_prefix} --destdir=%{buildroot}
%files
%defattr(-,root,root)
%license LICENSE LGPL-2.1 GPL-2.0
%doc README
%{_bindir}/%{name}
%clean
rm -rf ${RPM_BUILD_ROOT}
%changelog
* Sat Jul 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1-1
- Package Init