Name: abi-dumper Version: 0.98 Release: 3%{?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 * Sat Aug 03 2013 Fedora Release Engineering - 0.98-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.98-2 - Perl 5.18 rebuild * Wed Jul 3 2013 Richard Shaw - 0.98-1 - Initial packaging.