File libelf0.spec of Package libelf0
#
# spec file for package libelf0 (Version 0.8.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libelf0
Summary: An ELF Object File Access Library
Version: 0.8.10
Release: 36
License: LGPL v2.1 or later
Group: System/Libraries
Url: http://www.mr511.de/software/
Source: libelf-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: libelf = %{version}
Obsoletes: libelf <= 0.8.10
%description
The libelf package contains a library for accessing ELF object files.
Libelf allows you to access the internals of the ELF object file
format, so you can see the different sections of an ELF file.
Authors:
--------
Michael Riepe <michael@stud.uni-hannover.de>
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
License: LGPL v2.1 or later
Requires: glibc-devel, %{name} = %{version}
Conflicts: libelf1-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Michael Riepe <michael@stud.uni-hannover.de>
%prep
%setup -q -n libelf-%{version}
%build
%configure
make
%install
make install instroot=$RPM_BUILD_ROOT
# remove the wrapper includes
rm -f $RPM_BUILD_ROOT%{_includedir}/*.h
# remove unneeded *.la and *.a files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%find_lang libelf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f libelf.lang
%defattr(-,root,root)
%{_libdir}/libelf.so.*
%files devel
%defattr(-,root,root)
%doc README ChangeLog COPYING.LIB VERSION
%{_libdir}/libelf.so
%{_libdir}/libelf.a
%{_libdir}/pkgconfig/libelf.pc
%{_includedir}/libelf
%changelog
* Wed May 07 2008 coolo@suse.de
- fix package rename
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang errors
* Fri Oct 12 2007 meissner@suse.de
- upgraded to 0.8.10
- sanity checking
- various cleanups and bugfixes
* Mon Jul 02 2007 tiwai@suse.de
- added static lib again (prelink requires it)
* Fri May 18 2007 tiwai@suse.de
- renamed to libelf0 to avoid confliction with elfutils
- split a devel subpackage
- remove static library
* Wed Aug 23 2006 meissner@suse.de
- Upgraded to 0.8.9 with minor bugfixes
* Sat Jul 08 2006 meissner@suse.de
- Upgraded to 0.8.8.
- added some new helper functions requested
by GCC (elf_getshstrndx)
- small bugfixes
* Fri Jul 07 2006 meissner@suse.de
- Upgraded to 0.8.6.
- lots of bugfixes, some new features
- pkgconfig file added
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Feb 16 2004 coolo@suse.de
- version update
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Thu Jun 05 2003 coolo@suse.de
- update to 0.8.4
* Wed May 14 2003 coolo@suse.de
- package translation too
* Fri Oct 04 2002 coolo@suse.de
- include two patches by Jakub to make prelinking work
* Wed Jul 10 2002 tcrhak@suse.cz
- update to version 0.8.2
* Fri Mar 15 2002 tcrhak@suse.cz
- added dir /usr/include/libelf to filelist
* Fri Jan 18 2002 tcrhak@suse.cz
- used macros %%{_lib} and %%{_libdir}
- bziped sources
- fixed buildroot, makefile patch
* Tue Oct 16 2001 aj@suse.de
- Fix handling of Elf64_Sxword (upper 32 bits were destroyed).
* Wed Mar 14 2001 fober@suse.de
- added suse_update_config
* Thu Jun 08 2000 cihlar@suse.cz
- added %%clean
* Wed Jan 12 2000 kukuk@suse.de
- Remove ExcludeArch for alpha
* Tue Dec 21 1999 kukuk@suse.de
- Initial version