Blame abicheck.spec

58166c6
%define debug_package %{nil}
58166c6
aa15064
Summary: 	ABI checking tool
cvsextras c927e32
Name: 		abicheck
cvsextras c927e32
Version: 	1.2
052d2a9
Release: 	15
3f6a6c4
License: 	LGPLv2
cvsextras c927e32
Group: 		Applications/File
cvsextras c927e32
URL: 		http://abicheck.sourceforge.net/
2642d30
Source0: 	http://dl.sf.net/abicheck/%{name}-%{version}.tar.gz
9ae130b
Patch0:		abicheck-1.2-fc3.patch
cdb5056
Patch1:		abicheck-1.2-tests.patch
9ae130b
Patch2:		abicheck-1.2-bindings-fc4.patch
b4667f8
Patch3:		abicheck-1.2-libgcc.patch
02df2e4
Patch4:		abicheck-1.2-fortify-source-f8.patch
efb901c
Patch5:		abicheck-1.2-ldlinux.patch
052d2a9
Patch6:     abicheck-1.2-undefined-symbol.patch
15d6e4a
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
cvsextras c927e32
Requires:	binutils perl
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%description
cvsextras c927e32
abicheck is a tool that checks application binary executables and
cvsextras c927e32
shared libraries for conformance to the (or an) ABI (Application
cvsextras c927e32
Binary Interface).
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%prep
cvsextras c927e32
%setup -q
aa15064
%patch -p1 -b .fc3
cdb5056
%patch1 -p1 -b .tests
9ae130b
%patch2 -p1 -b .bindings-fc4
b4667f8
%patch3 -p1 -b .libgcc
02df2e4
%patch4 -p1 -b .fortify-source-f8
efb901c
%patch5 -p1 -b .ldlinux
052d2a9
%patch6 -p1 -b .undefined-symbol
86cf4a7
sed -i -e 's!/usr/lib/!%{_libdir}/!g' test/Makefile
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%build
25015ce
make
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%install
cvsextras c927e32
rm -rf $RPM_BUILD_ROOT
cvsextras c927e32
mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man1
2642d30
install -p -m 0755 abicheck $RPM_BUILD_ROOT%{_bindir}
2642d30
install -p -m 0644 abicheck.1 $RPM_BUILD_ROOT%{_mandir}/man1
cvsextras c927e32
cvsextras c927e32
f0e5e9c
%check
dbabab3
make test
33d5514
f0e5e9c
cvsextras c927e32
%clean
cvsextras c927e32
rm -rf $RPM_BUILD_ROOT
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%files
cvsextras c927e32
%defattr(-,root,root,-)
cvsextras c927e32
%doc COPYING ChangeLog INTRO README
cvsextras c927e32
%{_bindir}/abicheck
cvsextras c927e32
%{_mandir}/man1/abicheck.1*
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%changelog
052d2a9
* Fri Oct  5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-15
052d2a9
- Patch unbound_match.
02df2e4
- Update fortify-source patch.
052d2a9
3f6a6c4
* Thu Aug  2 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-14
3f6a6c4
- Clarify licence (LGPLv2).
3f6a6c4
dbabab3
* Thu May 24 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-13
dbabab3
- More patches for the tests.
dbabab3
cdb5056
* Thu May 24 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-12
cdb5056
- Patch tests a bit more (also fixes ppc64).
cdb5056
9f8c98b
* Mon Aug 28 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-11
9f8c98b
- Rebuild and update fortify-source patch.
9f8c98b
5e46d58
* Thu Mar  2 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-10
5e46d58
- rebuilt for FC5 only to run the %%check section
5e46d58
efb901c
* Tue Aug 16 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-9
efb901c
- Patch abicheck to run dynamic linker directly instead of
efb901c
  using ldd and receiving its intermixed lines.
efb901c
b4667f8
* Mon Aug 15 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-8
b4667f8
- Add libgcc symbols.
b4667f8
- Add more _FORTIFY_SOURCE symbols.
b4667f8
- Override symbol classification by default.
b4667f8
2642d30
* Thu Aug 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-7
2642d30
- Add an override file in %%doc which can be specified with
2642d30
  option -O to modify the symbol classification for binaries
2642d30
  built with _FORTIFY_SOURCE.
2642d30
58166c6
* Mon May  9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-6
58166c6
- Disable debuginfo package.
58166c6
86cf4a7
* Thu Apr 14 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-5
86cf4a7
- Replace /usr/lib/ with %%_libdir/ in %%prep.
86cf4a7
9ae130b
* Mon Apr 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-4
9ae130b
- Add patch to catch up with bindings related changes in ldd output.
9ae130b
5e0d06b
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
5e0d06b
- rebuilt
5e0d06b
aa15064
* Mon Dec 13 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-3
aa15064
- Add patch to catch up with changes in ldd output.
aa15064
- Fix static linking test.
aa15064
- Drop Epoch 0.
aa15064
cvsextras c927e32
* Wed Aug 27 2003 Dams <anvil[AT]livna.org> 0:1.2-0.fdr.2
cvsextras c927e32
- Added missing Requires
cvsextras c927e32
cvsextras c927e32
* Wed Aug 27 2003 Dams <anvil[AT]livna.org> 0:1.2-0.fdr.1
cvsextras c927e32
- Updated to 1.2
cvsextras c927e32
- Dropped patch (applied upstream)
cvsextras c927e32
cvsextras c927e32
* Sat Aug 23 2003 Dams <anvil[AT]livna.org> 0:1.1-0.fdr.2
cvsextras c927e32
- Aplied patch from Michael Schwendt (bug #605 comment #1)
cvsextras c927e32
25015ce
* Sat Aug 16 2003 Dams <anvil[AT]livna.org>
cvsextras c927e32
- Initial build.