From be071ad7be6a88dcf638c517b78e08f5c0b8330c Mon Sep 17 00:00:00 2001 From: "Richard M. Shaw" Date: Tue, 20 Oct 2015 11:02:43 -0500 Subject: [PATCH] Initial import (BZ#1273065). --- .gitignore | 1 + sources | 1 + vtable-dumper.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 vtable-dumper.spec diff --git a/.gitignore b/.gitignore index e69de29..33d806e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/vtable-dumper-1.1.tar.gz diff --git a/sources b/sources index e69de29..20e3702 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c017494e953b6aa278f60977d6db07ca vtable-dumper-1.1.tar.gz diff --git a/vtable-dumper.spec b/vtable-dumper.spec new file mode 100644 index 0000000..a557775 --- /dev/null +++ b/vtable-dumper.spec @@ -0,0 +1,45 @@ +Name: vtable-dumper +Version: 1.1 +Release: 1%{?dist} +Summary: Tool to list content of virtual tables in a C++ shared library + +License: GPL+ or LGPLv2+ +URL: https://github.com/lvc/vtable-dumper +Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildRequires: elfutils-libelf-devel + + +%description +Vtable-Dumper is a tool to list content of virtual tables in a C++ shared +library. It is intended for developers of software libraries and maintainers of +Linux distributions who are interested in ensuring backward binary +compatibility. + + +%prep +%setup -q + +# Simple makefile doesn't respect environment variables so cheat it. +sed -i 's|\-Wall|%{optflags}|' Makefile + + +%build +make + + +%install +mkdir -p %{buildroot}%{_bindir} +install -pm 0755 %{name} %{buildroot}%{_bindir}/ + + +%files +%{!?_licensedir:%global license %doc} +%license LICENSE +%doc README +%{_bindir}/%{name} + + +%changelog +* Mon Oct 19 2015 Richard Shaw - 1.1-1 +- Initial packaging.