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.
abi-dumper/abi-dumper.spec

64 lines
1.6 KiB

Name: abi-dumper
Version: 0.99.5
Release: 1%{?dist}
Summary: Tool to dump ABI of an ELF object containing DWARF debug info
License: GPLv2
URL: http://github.com/lvc/abi-dumper/
# Github source
# https://github.com/lvc/%%{name}/archive/%%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: txt2man
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
A tool to dump ABI of an ELF object containing DWARF debug info.
The tool is intended to be used with ABI Compliance Checker tool for tracking
ABI changes of a C/C++ library or kernel module.
%prep
%setup -q
%build
# Nothing to build.
%install
mkdir -p %{buildroot}%{_prefix}
%{__perl} Makefile.pl -install --prefix=%{buildroot}%{_prefix}
chmod 0755 %{buildroot}%{_bindir}/%{name}
# Create manpage
mkdir -p %{buildroot}%{_mandir}/man1
%{__perl} abi-dumper.pl --help | sed "s|:$||g" | \
txt2man -t ABI-DUMPER -s 1 -v "User Commands" -r "ABI Dumper %{version}" > \
%{buildroot}%{_mandir}/man1/%{name}.1
%files
%doc LICENSE README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Thu Aug 8 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.5-1
- Update to latest upstream release.
* Wed Jul 31 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.1-1
- Update to latest upstream release with reduced memory usage.
* Fri Jul 19 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99-1
- Update to latest upstream release.
* Wed Jul 3 2013 Richard Shaw <hobbes1069@gmail.com> - 0.98-1
- Initial packaging.