5 Summary: An ELF Object File Access Library
6 Url: http://www.mr511.de/software/
7 Group: System/Libraries
8 Source: libelf-%{version}.tar.bz2
10 BuildRequires: pkgconfig
11 BuildRoot: %{_tmppath}/%{name}-%{version}-build
14 The libelf package contains a library for accessing ELF object files.
15 Libelf allows you to access the internals of the ELF object file
16 format, so you can see the different sections of an ELF file.
19 Summary: Include Files and Libraries mandatory for Development
20 Group: Development/Libraries/C and C++
21 Requires: %{name} = %{version}
22 Requires: glibc-devel,
23 Conflicts: libelf1-devel
26 This package contains all necessary include files and libraries needed
27 to develop applications that require these.
30 %setup -q -n libelf-%{version}
33 %configure --disable-nls
37 make install instroot=%{buildroot}
38 # remove the wrapper includes
39 rm -f %{buildroot}%{_includedir}/*.h
40 # remove unneeded *.la and *.a files
41 rm -f %{buildroot}%{_libdir}/*.la
43 %post -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
50 %{_libdir}/libelf.so.*
56 %{_libdir}/pkgconfig/libelf.pc