commit
3fc6b96a82
Binary file not shown.
BIN
libdwarf-20200114.tar.gz
Normal file
BIN
libdwarf-20200114.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
Name: libdwarf
|
Name: libdwarf
|
||||||
Version: 20180809
|
Version: 20200114
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Library to access DWARF debugging information
|
Summary: Library to access DWARF debugging information
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: http://www.prevanders.net/dwarf.html
|
URL: http://www.prevanders.net/dwarf.html
|
||||||
Source0: http://www.prevanders.net/%{name}-%{version}.tar.gz
|
Source0: http://www.prevanders.net/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: gcc binutils-devel elfutils-libelf-devel
|
BuildRequires: gcc binutils-devel elfutils-libelf-devel dos2unix
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libdwarf is a library of functions to provide read/write DWARF
|
Libdwarf is a library of functions to provide read/write DWARF
|
||||||
@ -27,12 +27,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description tools
|
%description tools
|
||||||
Libdwarf-tools contains dwarfdump, a tool to access DWARF debug information.
|
Libdwarf-tools contains dwarfdump, a tool to access DWARF debug information.
|
||||||
|
|
||||||
%package help
|
%package_help
|
||||||
Summary: Help documents for libdwarf
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description help
|
|
||||||
Libdwarf-help provides man pages and other related help documents for libdwarf.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
@ -48,27 +43,40 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||||||
install -d %{buildroot}%{_includedir}/libdwarf
|
install -d %{buildroot}%{_includedir}/libdwarf
|
||||||
mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/libdwarf
|
mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/libdwarf
|
||||||
|
|
||||||
|
%delete_la
|
||||||
|
|
||||||
|
%check
|
||||||
|
LD_LIBRARY_PATH=$PWD/libdwarf/.libs %__make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
%license libdwarf/{COPYING,LIBDWARFCOPYRIGHT,LGPL.txt}
|
%license libdwarf/{COPYING,LIBDWARFCOPYRIGHT,LGPL.txt}
|
||||||
%{_libdir}/libdwarf.so.*
|
%{_libdir}/libdwarf.so.*
|
||||||
%exclude %{_datadir}/libdwarf
|
%exclude %{_datadir}/libdwarf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_includedir}/libdwarf
|
%{_includedir}/libdwarf
|
||||||
%{_libdir}/{libdwarf.so,libdwarf.a}
|
%{_libdir}/{libdwarf.so,libdwarf.a}
|
||||||
%exclude %{_libdir}/*.la
|
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
%doc dwarfdump/{README,ChangeLog}
|
%doc dwarfdump/{README,ChangeLog}
|
||||||
%license dwarfdump/{COPYING,DWARFDUMPCOPYRIGHT,GPL.txt}
|
%license dwarfdump/{COPYING,DWARFDUMPCOPYRIGHT,GPL.txt}
|
||||||
%{_bindir}/dwarfdump
|
%{_bindir}/dwarfdump
|
||||||
%{_datadir}/dwarfdump/dwarfdump.conf
|
%{_datadir}/dwarfdump/dwarfdump.conf
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
%doc libdwarf/{ChangeLog,README,*.pdf}
|
%doc libdwarf/{ChangeLog,README,*.pdf}
|
||||||
%{_mandir}/man1/dwarfdump.1.gz
|
%{_mandir}/man1/dwarfdump.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 21 2020 hanhui<hanhui15@huawei.com> - 20200114
|
||||||
|
- Mainline branch update to 20200114
|
||||||
|
|
||||||
|
* Tue Apr 21 2020 songnannan <songnannan2@huawei.com> - 20200114
|
||||||
|
- update to 20200114
|
||||||
|
|
||||||
* Tue Nov 05 2019 yanzhihua <yanzhihua4@huawei.com> - 20180809-2
|
* Tue Nov 05 2019 yanzhihua <yanzhihua4@huawei.com> - 20180809-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user