Blob Blame History Raw
Name:           abi-compliance-checker
Version:        1.95.10
Release:        1%{?dist}
Summary:        An ABI Compliance Checker

License:        GPL+ or LGPLv2+
URL:            http://forge.ispras.ru/projects/abi-compliance-checker
Source0:        http://forge.ispras.ru/attachments/download/1235/%{name}-%{version}.tar.gz
# SVN log from http://forge.ispras.ru/svn/abi-compliance-checker
Source1:        ChangeLog

BuildArch:      noarch
Requires:       gcc >= 4.5
Requires:       binutils

%{?perl_default_filter}

%description
A tool for checking backward binary compatibility of a shared C/C++ library. It
checks for changes in calling stack, changes in v-table, removed symbols, etc.


%prep
%setup -q
chmod -x LICENSE.txt
cp -p %{SOURCE1} .


%build
# Nothing to build.


%install
mkdir -p %{buildroot}%{_prefix}
perl Makefile.pl -install --prefix=%{buildroot}%{_prefix}
%{_fixperms} %{buildroot}/*

# Strip buildroot path from perl binary
sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/%{name}


%files
%doc ChangeLog LICENSE.txt doc/
%{_bindir}/%{name}
%{_datadir}/%{name}


%changelog
* Thu Nov 17 2011 Richard Shaw <hobbes1069@gmail.com> - 1.95.10-1
- Updated license field based on upstream response.
- Updated to 1.95.10.
- Added SVN changelog.

* Wed Nov 16 2011 Richard Shaw <hobbes1069@gmail.com> - 1.95.9-2
- Fix perl private module install location.
- Fix spec license field.
- Minor specfile cleanup.

* Mon Nov 14 2011 Richard Shaw <hobbes1069@gmail.com> - 1.95.9-1
- Initial release.