elfio-vl.spec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. %define name elfio
  2. %define oname ELFIO
  3. %define version 1.0.3
  4. %define release 1%{?_dist_release}
  5. Summary: ELF (Executable and Linkable Format) reader and producer implemented as a C++ library
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: http://downloads.sourceforge.net/%{name}/%{oname}-%{version}.tar.bz2
  10. License: LGPL
  11. Group: System Environment/Libraries
  12. Url: http://elfio.sourceforge.net/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. %description
  15. ELFIO is a C++ library for reading and generating files in the ELF
  16. binary format. This library is unique and not based on any other
  17. product. It is also platform independent. The library uses standard
  18. ANSI C++ constructions and runs on a wide variety of architectures.
  19. %prep
  20. %setup -q -n %{oname}-%{version}
  21. %build
  22. %configure
  23. %__make
  24. %install
  25. rm -rf %{buildroot}
  26. %makeinstall
  27. # compat name
  28. ln -sf libELFIO.a %{buildroot}%{_libdir}/libelfio.a
  29. %clean
  30. rm -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root)
  33. %doc README AUTHORS doc/tutorial.pdf
  34. %{_bindir}/ELFDump
  35. %{_includedir}/ELF*.h
  36. %{_libdir}/*.a
  37. %changelog
  38. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
  39. - applied new versioning policy
  40. * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
  41. - initial build for Vine Linux