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 Source1001: libelf0.manifest
11 BuildRequires: pkgconfig
12 BuildRoot: %{_tmppath}/%{name}-%{version}-build
15 The libelf package contains a library for accessing ELF object files.
16 Libelf allows you to access the internals of the ELF object file
17 format, so you can see the different sections of an ELF file.
20 Summary: Include Files and Libraries mandatory for Development
21 Group: Development/Libraries/C and C++
22 Requires: %{name} = %{version}
23 Requires: glibc-devel,
24 Conflicts: libelf1-devel
27 This package contains all necessary include files and libraries needed
28 to develop applications that require these.
31 %setup -q -n libelf-%{version}
35 %configure --disable-nls
39 make install instroot=%{buildroot}
40 # remove the wrapper includes
41 rm -f %{buildroot}%{_includedir}/*.h
42 # remove unneeded *.la and *.a files
43 rm -f %{buildroot}%{_libdir}/*.la
45 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
50 %manifest %{name}.manifest
53 %{_libdir}/libelf.so.*
56 %manifest %{name}.manifest
60 %{_libdir}/pkgconfig/libelf.pc