From a724bb5e0093d330332d9d7c851e618421d8ffb3 Mon Sep 17 00:00:00 2001 From: Richard M. Shaw Date: Dec 07 2015 16:51:06 +0000 Subject: Initial import (#1288930). --- diff --git a/.gitignore b/.gitignore index e69de29..f42ef5b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/abi-tracker-1.4.tar.gz diff --git a/abi-tracker.spec b/abi-tracker.spec new file mode 100644 index 0000000..0ff1f4f --- /dev/null +++ b/abi-tracker.spec @@ -0,0 +1,72 @@ +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. +- diff --git a/sources b/sources index e69de29..83aefe5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e096e6178000b2a6a91bd58ded057c74 abi-tracker-1.4.tar.gz