a724bb5
Name:           abi-tracker
a1806f3
Version:        1.7
a1806f3
Release:        1%{?dist}
a724bb5
Summary:        Tool to visualize ABI changes timeline of a C/C++ library
a724bb5
a724bb5
License:        GPL+ and LGPLv2+
a724bb5
URL:            https://github.com/lvc/abi-tracker
a724bb5
Source0:        https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
a724bb5
a724bb5
BuildArch:      noarch
a724bb5
BuildRequires:  perl
e92c7fa
BuildRequires:  perl-generators
a724bb5
BuildRequires:  perl(Getopt::Long)
a724bb5
BuildRequires:  perl(File::Path)
a724bb5
BuildRequires:  perl(File::Copy)
a724bb5
BuildRequires:  perl(File::Basename)
a724bb5
BuildRequires:  perl(Cwd)
a724bb5
BuildRequires:  perl(File::Find)
03548a3
# Needed to run abi-tracker to generate man page.
a724bb5
BuildRequires:  help2man
03548a3
BuildRequires:  perl(Data::Dumper)
03548a3
BuildRequires:  perl(Fcntl)
03548a3
BuildRequires:  perl(File::Temp)
03548a3
BuildRequires:  perl(strict)
03548a3
a724bb5
5066768
Requires:       abi-dumper >= 0.99.15
a724bb5
Requires:       vtable-dumper >= 1.1
5066768
Requires:       abi-compliance-checker >= 1.99.20
a724bb5
Requires:       pkgdiff >= 1.6.4
a724bb5
Requires:       rfcdiff >= 1.41
a724bb5
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a724bb5
a724bb5
a724bb5
%description
a724bb5
A tool to visualize ABI changes timeline of a C/C++ software library.
a724bb5
  
a724bb5
The tool requires the input profile of the library in JSON format. It can be
a724bb5
created manually or automatically generated by the ABI Monitor:
a724bb5
https://github.com/lvc/abi-monitor
a724bb5
a724bb5
a724bb5
%prep
a724bb5
%setup -q
a724bb5
a724bb5
a724bb5
%build
a724bb5
# Nothing to build
a724bb5
a724bb5
a724bb5
%install
a724bb5
mkdir -p %{buildroot}%{_prefix}
a724bb5
perl Makefile.pl -install --prefix=%{_prefix} --destdir=%{buildroot}
a724bb5
%{_fixperms} %{buildroot}/*
a724bb5
a724bb5
# Create man page
a724bb5
mkdir -p %{buildroot}%{_mandir}/man1
a724bb5
help2man -s 1 -N --version-string %{version} \
a724bb5
    %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1
a724bb5
a724bb5
a724bb5
%files
a724bb5
%license LICENSE
a724bb5
%doc HOWTO README
a724bb5
%{_bindir}/%{name}
a724bb5
%{_datadir}/%{name}/
a724bb5
%{_mandir}/man1/%{name}.1*
a724bb5
a724bb5
a724bb5
%changelog
a1806f3
* Wed Jun  1 2016 Richard Shaw <hobbes1069@gmail.com> - 1.7-1
a1806f3
- Update to latest upstream release.
a1806f3
71c0552
* Thu May 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.6-2
71c0552
- Perl 5.24 re-rebuild of bootstrapped packages
71c0552
5066768
* Sun May 15 2016 Richard Shaw <hobbes1069@gmail.com> - 1.6-1
5066768
- Update to latest upstream release.
5066768
ed9c820
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-2
ed9c820
- Perl 5.24 rebuild
ed9c820
fba78dd
* Sun Mar 13 2016 Richard Shaw <hobbes1069@gmail.com> - 1.5-1
fba78dd
- Update to latest upstream release.
fba78dd
4e176ed
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
4e176ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4e176ed
a724bb5
* Mon Dec  7 2015 Richard Shaw <hobbes1069@gmail.com> - 1.4-2
a724bb5
- Add manpage via help2man.
a724bb5
- Query upstream to clarify licensing.
a724bb5
  https://github.com/lvc/abi-tracker/issues/1
a724bb5
a724bb5
* Sun Dec  6 2015 Richard Shaw <hobbes1069@gmail.com> - 1.4-1
a724bb5
- Initial packaging.
a724bb5
-