%define debug_package %{nil} Summary: ABI checking tool Name: abicheck Version: 1.2 Release: 8 License: LGPL Group: Applications/File URL: http://abicheck.sourceforge.net/ Source0: http://dl.sf.net/abicheck/%{name}-%{version}.tar.gz Patch0: abicheck-1.2-fc3.patch Patch1: abicheck-1.2-test-static.patch Patch2: abicheck-1.2-bindings-fc4.patch Patch3: abicheck-1.2-libgcc.patch Patch4: abicheck-1.2-fortify-source-fc5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: binutils perl %description abicheck is a tool that checks application binary executables and shared libraries for conformance to the (or an) ABI (Application Binary Interface). %prep %setup -q %patch -p1 -b .fc3 %patch1 -p1 -b .test-static %patch2 -p1 -b .bindings-fc4 %patch3 -p1 -b .libgcc %patch4 -p1 -b .fortify-source-fc5 sed -i -e 's!/usr/lib/!%{_libdir}/!g' test/Makefile %build make cd test ; make private1 ; ../abicheck ./private1 ; cd - make test %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man1 install -p -m 0755 abicheck $RPM_BUILD_ROOT%{_bindir} install -p -m 0644 abicheck.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING ChangeLog INTRO README %{_bindir}/abicheck %{_mandir}/man1/abicheck.1* %changelog * Mon Aug 15 2005 Michael Schwendt - 1.2-8 - Add libgcc symbols. - Add more _FORTIFY_SOURCE symbols. - Override symbol classification by default. * Thu Aug 11 2005 Michael Schwendt - 1.2-7 - Add an override file in %%doc which can be specified with option -O to modify the symbol classification for binaries built with _FORTIFY_SOURCE. * Mon May 9 2005 Michael Schwendt - 1.2-6 - Disable debuginfo package. * Thu Apr 14 2005 Michael Schwendt - 1.2-5 - Replace /usr/lib/ with %%_libdir/ in %%prep. * Mon Apr 11 2005 Michael Schwendt - 1.2-4 - Add patch to catch up with bindings related changes in ldd output. * Fri Apr 7 2005 Michael Schwendt - rebuilt * Mon Dec 13 2004 Michael Schwendt - 1.2-3 - Add patch to catch up with changes in ldd output. - Fix static linking test. - Drop Epoch 0. * Wed Aug 27 2003 Dams 0:1.2-0.fdr.2 - Added missing Requires * Wed Aug 27 2003 Dams 0:1.2-0.fdr.1 - Updated to 1.2 - Dropped patch (applied upstream) * Sat Aug 23 2003 Dams 0:1.1-0.fdr.2 - Aplied patch from Michael Schwendt (bug #605 comment #1) * Sat Aug 16 2003 Dams - Initial build.