Blame abicheck.spec

58166c6
%define debug_package %{nil}
58166c6
aa15064
Summary: 	ABI checking tool
cvsextras c927e32
Name: 		abicheck
cvsextras c927e32
Version: 	1.2
87ed4fe
Release: 	8
cvsextras c927e32
License: 	LGPL
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
aa15064
Patch1:		abicheck-1.2-test-static.patch
9ae130b
Patch2:		abicheck-1.2-bindings-fc4.patch
b4667f8
Patch3:		abicheck-1.2-libgcc.patch
b4667f8
Patch4:		abicheck-1.2-fortify-source-fc5.patch
cvsextras c927e32
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
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
aa15064
%patch1 -p1 -b .test-static
9ae130b
%patch2 -p1 -b .bindings-fc4
b4667f8
%patch3 -p1 -b .libgcc
b4667f8
%patch4 -p1 -b .fortify-source-fc5
86cf4a7
sed -i -e 's!/usr/lib/!%{_libdir}/!g' test/Makefile
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%build
25015ce
make
8016853
cd test ; make private1 ; ../abicheck ./private1 ; cd -
cvsextras c927e32
make test
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
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
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.