Blame abicheck.spec

58166c6
%define debug_package %{nil}
58166c6
aa15064
Summary: 	ABI checking tool
cvsextras c927e32
Name: 		abicheck
cvsextras c927e32
Version: 	1.2
a0d9ba9
Release:	21
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
6ab822c
Source1:	abicheck-dbfile-fortify-source
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
efb901c
Patch5:		abicheck-1.2-ldlinux.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
819eb88
sed -i -e '1d;2i#!/usr/bin/perl' abicheck.pl
0d8ded9
%patch0 -p1 -b .fc3
cdb5056
%patch1 -p1 -b .tests
9ae130b
%patch2 -p1 -b .bindings-fc4
b4667f8
%patch3 -p1 -b .libgcc
efb901c
%patch5 -p1 -b .ldlinux
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
6ab822c
install -p -m 0644 %{SOURCE1} dbfile.FORTIFY_SOURCE
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
6ab822c
%doc dbfile.FORTIFY_SOURCE
cvsextras c927e32
%{_bindir}/abicheck
cvsextras c927e32
%{_mandir}/man1/abicheck.1*
cvsextras c927e32
cvsextras c927e32
cvsextras c927e32
%changelog
a0d9ba9
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-21
a0d9ba9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a0d9ba9
0d8ded9
* Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-20
0d8ded9
- Rename Patch to Patch0 - should fix build in Rawhide.
0d8ded9
755eed8
* Wed Aug  6 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-19
755eed8
- Fix shebang to make rpmlint happy.
755eed8
755eed8
* Fri Feb 08 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-18
9e76f85
- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
9e76f85
785005a
* Tue Jan 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-17
75b53bc
- Make ldlinux patch look for more linker names.
6ab822c
- Remove unbound_match patch. Not needed in F-9 devel.
a814ce9
- Move fortify-source patch into separate dbfile in docdir.
6ab822c
6ab822c
* Fri Oct  5 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-15
052d2a9
- Patch unbound_match.
02df2e4
- Update fortify-source patch.
052d2a9
6ab822c
* Thu Aug  2 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-14
3f6a6c4
- Clarify licence (LGPLv2).
3f6a6c4
6ab822c
* Thu May 24 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-13
dbabab3
- More patches for the tests.
dbabab3
6ab822c
* Thu May 24 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-12
cdb5056
- Patch tests a bit more (also fixes ppc64).
cdb5056
6ab822c
* Mon Aug 28 2006 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-11
9f8c98b
- Rebuild and update fortify-source patch.
9f8c98b
6ab822c
* Thu Mar  2 2006 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-10
5e46d58
- rebuilt for FC5 only to run the %%check section
5e46d58
6ab822c
* Tue Aug 16 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-9
efb901c
- Patch abicheck to run dynamic linker directly instead of
efb901c
  using ldd and receiving its intermixed lines.
efb901c
6ab822c
* Mon Aug 15 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-8
b4667f8
- Add libgcc symbols.
b4667f8
- Add more _FORTIFY_SOURCE symbols.
b4667f8
- Override symbol classification by default.
b4667f8
6ab822c
* Thu Aug 11 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 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
6ab822c
* Mon May  9 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-6
58166c6
- Disable debuginfo package.
58166c6
6ab822c
* Thu Apr 14 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-5
86cf4a7
- Replace /usr/lib/ with %%_libdir/ in %%prep.
86cf4a7
6ab822c
* Mon Apr 11 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-4
9ae130b
- Add patch to catch up with bindings related changes in ldd output.
9ae130b
6ab822c
* Fri Apr  7 2005 Michael Schwendt <mschwendt@fedoraproject.org>
5e0d06b
- rebuilt
5e0d06b
6ab822c
* Mon Dec 13 2004 Michael Schwendt <mschwendt@fedoraproject.org> - 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.