1 Star 0 Fork 11

chengguipeng_xian/libdwarf

forked from src-openEuler/libdwarf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libdwarf.spec 2.26 KB
一键复制 编辑 原始数据 按行查看 历史
chengguipeng 提交于 2020-09-25 17:42 +08:00 . libdwarf: Update to 20200825.
Name: libdwarf
Version: 20200825
Release: 1
Summary: Library to access DWARF debugging information
License: LGPLv2
URL: http://www.prevanders.net/dwarf.html
Source0: http://www.prevanders.net/%{name}-%{version}.tar.gz
BuildRequires: gcc binutils-devel elfutils-libelf-devel dos2unix
%description
Libdwarf is a library of functions to provide read/write DWARF
debugging records.
%package devel
Summary: Library and header files of libdwarf
Requires: %{name} = %{version}-%{release}
Provides: libdwarf-static = %{version}-%{release}
Obsoletes: libdwarf-static < %{version}-%{release}
%description devel
Libdwarf-devel provides libraries and header files for libdwarf.
%package tools
Summary: Tools to access the DWARF debugging file format
Requires: %{name} = %{version}-%{release}
%description tools
Libdwarf-tools contains dwarfdump, a tool to access DWARF debug information.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-shared
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
install -d %{buildroot}%{_includedir}/libdwarf
mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/libdwarf
%delete_la
%check
LD_LIBRARY_PATH=$PWD/libdwarf/.libs %__make check
%files
%defattr(-,root,root)
%license libdwarf/{COPYING,LIBDWARFCOPYRIGHT,LGPL.txt}
%{_libdir}/libdwarf.so.*
%exclude %{_datadir}/libdwarf
%files devel
%defattr(-,root,root)
%{_includedir}/libdwarf
%{_libdir}/{libdwarf.so,libdwarf.a}
%files tools
%defattr(-,root,root)
%doc dwarfdump/{README,ChangeLog}
%license dwarfdump/{COPYING,DWARFDUMPCOPYRIGHT,GPL.txt}
%{_bindir}/dwarfdump
%{_datadir}/dwarfdump/dwarfdump.conf
%files help
%defattr(-,root,root)
%doc libdwarf/{ChangeLog,README,*.pdf}
%{_mandir}/man1/dwarfdump.1.gz
%changelog
* Fri Sep 25 2020 chengguipeng<chengguipeng1@huawei.com> - 20200825
- Update to 20200825
* 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
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chengguipeng_xian/libdwarf.git
git@gitee.com:chengguipeng_xian/libdwarf.git
chengguipeng_xian
libdwarf
libdwarf
master

搜索帮助