move libdw stuff to libdw and libdw-devel new subpackages [release 0.159-2mamba;Mon Sep 01 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 22:04:00 +01:00
parent 93fff85655
commit cfbf2e6ffa

View File

@ -3,7 +3,7 @@
Name: elfutils Name: elfutils
Version: 0.159 Version: 0.159
Release: 1mamba Release: 2mamba
Summary: A collection of utilities and DSOs to handle compiled objects Summary: A collection of utilities and DSOs to handle compiled objects
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -38,17 +38,6 @@ Elfutils is a collection of utilities, including:
* elflint (to check for well-formed ELF files) * elflint (to check for well-formed ELF files)
Also included are numerous helper libraries which implement DWARF, ELF, and machine-specific ELF handling. Also included are numerous helper libraries which implement DWARF, ELF, and machine-specific ELF handling.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel 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 %{libname} %package -n %{libname}
Summary: Library to read and write ELF files Summary: Library to read and write ELF files
Group: System/Libraries Group: System/Libraries
@ -71,6 +60,25 @@ Obsoletes: elfutils-libelf-devel
The %{libname}-devel package contains the libraries to create applications for handling compiled objects. The %{libname}-devel 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. Libelf allows you to access the internals of the ELF object file format, so you can see the different sections of an ELF file.
%package -n libdw
Summary: A library that provides access to DWARF debug information stored inside ELF files
Group: System/Libraries
%description -n libdw
The %{libname} package provides a DSO which allows reading and writing ELF files on a high level.
libdw provides access to DWARF debug information stored inside ELF files.
%package -n libdw-devel
Summary: Development support for libdw
Group: Development/Libraries
Requires: %{libname} = %{version}-%{release}
Provides: elfutils-devel
Obsoletes: elfutils-devel
%description -n libdw-devel
The %{libname}-devel package contains the libraries to create applications for handling compiled objects.
libdw provides access to DWARF debug information stored inside ELF files.
%prep %prep
%setup -q %setup -q
#%patch3 -p1 #%patch3 -p1
@ -140,13 +148,16 @@ rm -f %{buildroot}%{_libdir}/libasm.{a,so,so.*}
%{_bindir}/%{_program_prefix}elfcmp %{_bindir}/%{_program_prefix}elfcmp
%{_bindir}/%{_program_prefix}ranlib %{_bindir}/%{_program_prefix}ranlib
%{_bindir}/%{_program_prefix}strings %{_bindir}/%{_program_prefix}strings
%files -n libdw
%defattr(-,root,root)
%{_libdir}/libdw-%{version}.so %{_libdir}/libdw-%{version}.so
%{_libdir}/libdw.so.* %{_libdir}/libdw.so.*
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_libdir}/%{name}/lib*.so %{_libdir}/%{name}/lib*.so
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO %doc AUTHORS COPYING
%files devel %files -n libdw-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/dwarf.h %{_includedir}/dwarf.h
%dir %{_includedir}/%{name} %dir %{_includedir}/%{name}
@ -159,6 +170,7 @@ rm -f %{buildroot}%{_libdir}/libasm.{a,so,so.*}
%{_libdir}/libebl.a %{_libdir}/libebl.a
%{_libdir}/libdw.a %{_libdir}/libdw.a
%{_libdir}/libdw.so %{_libdir}/libdw.so
%doc ChangeLog NEWS README THANKS TODO
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
@ -174,6 +186,9 @@ rm -f %{buildroot}%{_libdir}/libasm.{a,so,so.*}
%{_libdir}/libelf.so %{_libdir}/libelf.so
%changelog %changelog
* Mon Sep 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.159-2mamba
- move libdw stuff to libdw and libdw-devel new subpackages
* Mon Jul 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.159-1mamba * Mon Jul 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.159-1mamba
- update to 0.159 - update to 0.159