84 lines
2.1 KiB
RPMSpec
84 lines
2.1 KiB
RPMSpec
%define debug_package %{nil}
|
|
|
|
Summary: ABI checking tool
|
|
Name: abicheck
|
|
Version: 1.2
|
|
Release: 6
|
|
License: LGPL
|
|
Group: Applications/File
|
|
URL: http://abicheck.sourceforge.net/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Patch0: abicheck-1.2-fc3.patch
|
|
Patch1: abicheck-1.2-test-static.patch
|
|
Patch2: abicheck-1.2-bindings-fc4.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
|
|
sed -i -e 's!/usr/lib/!%{_libdir}/!g' test/Makefile
|
|
|
|
|
|
%build
|
|
make
|
|
make test
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man1
|
|
install -m 0755 abicheck $RPM_BUILD_ROOT%{_bindir}
|
|
install -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 May 9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-6
|
|
- Disable debuginfo package.
|
|
|
|
* Thu Apr 14 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-5
|
|
- Replace /usr/lib/ with %%_libdir/ in %%prep.
|
|
|
|
* Mon Apr 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-4
|
|
- Add patch to catch up with bindings related changes in ldd output.
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
- rebuilt
|
|
|
|
* Mon Dec 13 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 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 <anvil[AT]livna.org> 0:1.2-0.fdr.2
|
|
- Added missing Requires
|
|
|
|
* Wed Aug 27 2003 Dams <anvil[AT]livna.org> 0:1.2-0.fdr.1
|
|
- Updated to 1.2
|
|
- Dropped patch (applied upstream)
|
|
|
|
* Sat Aug 23 2003 Dams <anvil[AT]livna.org> 0:1.1-0.fdr.2
|
|
- Aplied patch from Michael Schwendt (bug #605 comment #1)
|
|
|
|
* Sat Aug 16 2003 Dams <anvil[AT]livna.org>
|
|
- Initial build.
|