1 Star 0 Fork 0

t0rped0/patchelf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
patchelf.spec.in 838 Bytes
一键复制 编辑 原始数据 按行查看 历史
Philipp Riegger 提交于 2020-06-03 20:03 +08:00 . fix README -> README.me in some more places
Summary: A utility for patching ELF binaries
Name: patchelf
Version: @PACKAGE_VERSION@
Release: 1
License: GPL
Group: Development/Tools
URL: http://nixos.org/patchelf.html
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Prefix: /usr
%description
PatchELF is a simple utility for modifying existing ELF executables and
libraries. It can change the dynamic loader ("ELF interpreter") of
executables and change the RPATH of executables and libraries.
%prep
%setup -q
%build
./configure --prefix=%{_prefix}
make
make check
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# rpmbuild automatically strips... strip $RPM_BUILD_ROOT/%%{_bindir}/* || true
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_bindir}/patchelf
%doc %{_docdir}/patchelf/README.md
%{_mandir}/man1/patchelf.1.gz
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/t0rped0/patchelf.git
git@gitee.com:t0rped0/patchelf.git
t0rped0
patchelf
patchelf
master

搜索帮助