ALT Linux repos
S: | 0.189.0.46.27a8-alt1 |
5.0: | 0.137-alt2 |
4.1: | 0.131-alt1 |
4.0: | 0.126-alt1 |
3.0: | 0.108-alt3 |
+backports: | 0.115-alt0.M30.1 |
Other repositories
Upstream: | 0.131 |
Group :: Development/C
RPM: elfutils
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: elfutils
Version: 0.108
Release: alt3
Summary: A collection of utilities and DSOs to handle compiled objects
License: OSL
Group: Development/C
Source: %name-%version.tar.bz2
Patch1: %name-rh-portability.patch
Patch2: %name-0.108-rh-robustify.patch
Requires: libelf = %version-%release
%define gpl 0
%def_disable static
%if %gpl
Requires: binutils
%endif
BuildRequires: flex
%define _gnu %nil
%define _configure_script ../configure
%define _programprefix eu-
%define buildtarget build-%_target_platform
%description
Elfutils is a collection of utilities, including ld (a linker), nm
(for listing symbols from object files), size (for listing the section
sizes of an object or archive file), strip (for discarding symbols),
readelf (to see the raw ELF file structures), and elflint (to check for
well-formed ELF files). Also included are numerous helper libraries
which implement DWARF, ELF, and machine-specific ELF handling.
%package devel
Summary: Development libraries to handle compiled objects
Group: Development/C
License: OSL
Requires: %name = %version-%release
Requires: libelf-devel = %version-%release
%description devel
This package contains the libraries to create applications for
handling compiled objects. libebl provides some higher-level ELF access
functionality. libdw provides access to the DWARF debugging information.
libasm provides a programmable assembler interface.
%package -n libelf
Summary: Library to read and write ELF files
Group: System/Libraries
%if %gpl
License: GPL
%endif
%description -n libelf
This package provides a DSO which allows reading and writing ELF files
on a high level. Third party programs depend on this package to read
internals of ELF files. The programs of the elfutils package use it
also to generate new ELF files.
%package -n libelf-devel
Summary: Development support for libelf
Group: Development/C
Requires: libelf = %version-%release
%if %gpl
License: GPL
%endif
%description -n libelf-devel
This package contains the libraries to create applications for handling
compiled objects. libelf allows you to access the internals of the ELF
object file format, so you can see the different sections of an ELF file.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%__subst -p 's/ -Werror / /' tests/Makefile*
%build
%__rm -rf %buildtarget
mkdir %buildtarget
pushd %buildtarget
%configure --program-prefix=%_programprefix --enable-shared %{subst_enable static}
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:LD_LIBRARY_PATH=../libasm:../libcpu:../libdw:../libebl:../libelf make -k check}}}
popd
%install
%__mkdir_p $RPM_BUILD_ROOT%prefix
%makeinstall -C %buildtarget
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%post -n libelf -p %post_ldconfig
%postun -n libelf -p %postun_ldconfig
%files
%doc README TODO
%if %gpl
%doc fake-src/FULL
%endif
%_bindir/eu-addr2line
%_bindir/eu-elflint
%_bindir/eu-findtextrel
%_bindir/eu-nm
%_bindir/eu-readelf
%_bindir/eu-size
%_bindir/eu-strip
%if !%gpl
%_bindir/eu-ld
%_libdir/libasm-*.so
%_libdir/libdw-*.so
%_libdir/libasm*.so.*
%_libdir/libdw*.so.*
%_libdir/elfutils
%endif
%files devel
%_includedir/dwarf.h
%_includedir/elfutils
%if !%gpl
%_libdir/libasm.so
%_libdir/libdw.so
%endif
%files -n libelf
%_libdir/libelf-*.so
%_libdir/libelf*.so.*
%files -n libelf-devel
%_libdir/libelf.so
%_includedir/libelf.h
%_includedir/gelf.h
%_includedir/nlist.h
%changelog
…
Full changelog you can see here
Version: 0.108
Release: alt3
Summary: A collection of utilities and DSOs to handle compiled objects
License: OSL
Group: Development/C
Source: %name-%version.tar.bz2
Patch1: %name-rh-portability.patch
Patch2: %name-0.108-rh-robustify.patch
Requires: libelf = %version-%release
%define gpl 0
%def_disable static
%if %gpl
Requires: binutils
%endif
BuildRequires: flex
%define _gnu %nil
%define _configure_script ../configure
%define _programprefix eu-
%define buildtarget build-%_target_platform
%description
Elfutils is a collection of utilities, including ld (a linker), nm
(for listing symbols from object files), size (for listing the section
sizes of an object or archive file), strip (for discarding symbols),
readelf (to see the raw ELF file structures), and elflint (to check for
well-formed ELF files). Also included are numerous helper libraries
which implement DWARF, ELF, and machine-specific ELF handling.
%package devel
Summary: Development libraries to handle compiled objects
Group: Development/C
License: OSL
Requires: %name = %version-%release
Requires: libelf-devel = %version-%release
%description devel
This package contains the libraries to create applications for
handling compiled objects. libebl provides some higher-level ELF access
functionality. libdw provides access to the DWARF debugging information.
libasm provides a programmable assembler interface.
%package -n libelf
Summary: Library to read and write ELF files
Group: System/Libraries
%if %gpl
License: GPL
%endif
%description -n libelf
This package provides a DSO which allows reading and writing ELF files
on a high level. Third party programs depend on this package to read
internals of ELF files. The programs of the elfutils package use it
also to generate new ELF files.
%package -n libelf-devel
Summary: Development support for libelf
Group: Development/C
Requires: libelf = %version-%release
%if %gpl
License: GPL
%endif
%description -n libelf-devel
This package contains the libraries to create applications for handling
compiled objects. libelf allows you to access the internals of the ELF
object file format, so you can see the different sections of an ELF file.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%__subst -p 's/ -Werror / /' tests/Makefile*
%build
%__rm -rf %buildtarget
mkdir %buildtarget
pushd %buildtarget
%configure --program-prefix=%_programprefix --enable-shared %{subst_enable static}
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:LD_LIBRARY_PATH=../libasm:../libcpu:../libdw:../libebl:../libelf make -k check}}}
popd
%install
%__mkdir_p $RPM_BUILD_ROOT%prefix
%makeinstall -C %buildtarget
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%post -n libelf -p %post_ldconfig
%postun -n libelf -p %postun_ldconfig
%files
%doc README TODO
%if %gpl
%doc fake-src/FULL
%endif
%_bindir/eu-addr2line
%_bindir/eu-elflint
%_bindir/eu-findtextrel
%_bindir/eu-nm
%_bindir/eu-readelf
%_bindir/eu-size
%_bindir/eu-strip
%if !%gpl
%_bindir/eu-ld
%_libdir/libasm-*.so
%_libdir/libdw-*.so
%_libdir/libasm*.so.*
%_libdir/libdw*.so.*
%_libdir/elfutils
%endif
%files devel
%_includedir/dwarf.h
%_includedir/elfutils
%if !%gpl
%_libdir/libasm.so
%_libdir/libdw.so
%endif
%files -n libelf
%_libdir/libelf-*.so
%_libdir/libelf*.so.*
%files -n libelf-devel
%_libdir/libelf.so
%_includedir/libelf.h
%_includedir/gelf.h
%_includedir/nlist.h
%changelog
…
Full changelog you can see here