You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
46 lines
1.0 KiB
9 years ago
|
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 <hobbes1069@gmail.com> - 1.1-1
|
||
|
- Initial packaging.
|