Name: libELFIO Version: 1.0.3 Release: 1mamba Summary: A C++ library for reading and generating files in the ELF binary format Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://elfio.sourceforge.net/ Source: http://mesh.dl.sourceforge.net/sourceforge/elfio/ELFIO-%{version}.tar.gz License: LGPL BuildRoot: %{_tmppath}/%{name}-%{version}-root %description ELFIO is a C++ library for reading and generating files in the ELF binary format. This library is unique and not based on any other product. It is also platform independent. The library uses standard ANSI C++ constructions and runs on a wide variety of architectures. While the library's implementation does make your work easier: a basic knowledge of the ELF binary format is required. Information about ELF is included in the TIS (Tool Interface Standards) documentation you received with the library's source code. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel ELFIO is a C++ library for reading and generating files in the ELF binary format. This library is unique and not based on any other product. It is also platform independent. The library uses standard ANSI C++ constructions and runs on a wide variety of architectures. While the library's implementation does make your work easier: a basic knowledge of the ELF binary format is required. Information about ELF is included in the TIS (Tool Interface Standards) documentation you received with the library's source code. This package contains static libraries and header files need for development. %prep %setup -q -n ELFIO-%{version} %build %configure %make # build shared library cd ELFIO g++ -shared *.o -o libELFIO.so.1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install ELFIO/libELFIO.so.1 %{buildroot}%{_libdir}/ ln -s libELFIO.so.1 %{buildroot}%{_libdir}/libELFIO.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/libELFIO.so.1 %doc AUTHORS COPYING ChangeLog README %files devel %defattr(-,root,root) %{_bindir}/ELFDump %{_libdir}/libELFIO.a %{_libdir}/libELFIO.so %{_includedir}/*.h %changelog * Wed Sep 26 2007 Silvan Calarco 1.0.3-1mamba - package created by autospec