Blob Blame Raw
Name:           abi-dumper
Version:        0.99.19
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/
Source0:        https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  coreutils
BuildRequires:  perl
BuildRequires:  perl-generators
BuildRequires:  perl(Cwd)
BuildRequires:  perl(Data::Dumper)
BuildRequires:  perl(File::Basename)
BuildRequires:  perl(File::Copy)
BuildRequires:  perl(File::Find)
BuildRequires:  perl(File::Path)
BuildRequires:  perl(File::Temp)
BuildRequires:  perl(Getopt::Long)
BuildRequires:  perl(Storable)
BuildRequires:  perl(strict)
BuildRequires:  sed
BuildRequires:  txt2man

Requires:       vtable-dumper >= 1.1
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
%license LICENSE
%doc README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*


%changelog
* Mon Oct 10 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.19-1
- Update to latest upstream release.

* Thu Oct  6 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.18-1
- Update to latest upstream release.

* Fri Aug 26 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.17-1
- Update to latest upstream release.

* Wed Jul  6 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.16-1
- Update to latest upstream release.

* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.15-2
- Perl 5.24 rebuild

* Sun Mar 13 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.15-1
- Update to latest upstream release.

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Mon Jan 25 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.14-1
- Update to latest upstream release.

* Sat Dec 12 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.13-1
- Update to latest upstream release.

* Sun Nov  1 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.12-1
- Update to latest upstream release.

* Sun Oct 18 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.11-1
- Update to latest upstream release.

* Thu Sep 17 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.10-1
- Update to latest upstream release.

* Thu Aug 27 2015 Petr Ĺ abata <contyk@redhat.com> - 0.99.8-6
- Prevent FTBFS by correcting the build time dependency list

* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.8-4
- Perl 5.22 rebuild

* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.8-3
- Perl 5.20 rebuild

* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Tue Mar  4 2014 Richard Shaw <hobbes1069@gmail.com> - 0.99.8-1
- Update to latest upstream release.

* Sun Oct 27 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.7-1
- Update to latest upstream release.

* Wed Sep 18 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.6-1
- Update to latest upstream release.

* 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.