Name: abi-tracker Version: 1.4 Release: 2%{?dist} Summary: Tool to visualize ABI changes timeline of a C/C++ library License: GPL+ and LGPLv2+ URL: https://github.com/lvc/abi-tracker Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Getopt::Long) BuildRequires: perl(File::Path) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Basename) BuildRequires: perl(Cwd) BuildRequires: perl(File::Find) BuildRequires: help2man Requires: abi-dumper >= 0.99.9 Requires: vtable-dumper >= 1.1 Requires: abi-compliance-checker >= 1.99.10 Requires: pkgdiff >= 1.6.4 Requires: rfcdiff >= 1.41 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description A tool to visualize ABI changes timeline of a C/C++ software library. The tool requires the input profile of the library in JSON format. It can be created manually or automatically generated by the ABI Monitor: https://github.com/lvc/abi-monitor %prep %setup -q %build # Nothing to build %install mkdir -p %{buildroot}%{_prefix} perl Makefile.pl -install --prefix=%{_prefix} --destdir=%{buildroot} %{_fixperms} %{buildroot}/* # Create man page mkdir -p %{buildroot}%{_mandir}/man1 help2man -s 1 -N --version-string %{version} \ %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1 %files %{!?_licensedir:%global license %doc} %license LICENSE %doc HOWTO README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_mandir}/man1/%{name}.1* %changelog * Mon Dec 7 2015 Richard Shaw - 1.4-2 - Add manpage via help2man. - Query upstream to clarify licensing. https://github.com/lvc/abi-tracker/issues/1 * Sun Dec 6 2015 Richard Shaw - 1.4-1 - Initial packaging. -