Up to 0.13.
[packages/patchelf.git] / patchelf.spec
CommitLineData
773e380d
ER
1#
2# Conditional build:
3%bcond_without tests # build without tests
4#
5Summary: A utility for patching ELF binaries
6Name: patchelf
d3c0f440 7Version: 0.13
773e380d
ER
8Release: 1
9License: GPL
10Group: Development/Tools
d3c0f440
AM
11URL: https://github.com/NixOS/patchelf
12Source0: https://github.com/NixOS/patchelf/releases/download/%{version}/%{name}-%{version}.tar.bz2
13# Source0-md5: d387eee9325414be0b1a80c8fbd2745f
773e380d
ER
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17PatchELF is simple utility for modifing existing ELF executables and
18libraries. It can change the dynamic loader ("ELF interpreter") of
19executables and change the RPATH of executables and libraries.
20
21%prep
d3c0f440 22%setup -q -n %{name}-%{version}.20210805.a949ff2
773e380d
ER
23
24%build
25%configure
26%{__make}
27%{?with_tests:%{__make} check}
28
29%install
30rm -rf $RPM_BUILD_ROOT
31%{__make} install \
32 DESTDIR=$RPM_BUILD_ROOT
33
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%files
38%defattr(644,root,root,755)
d3c0f440 39%doc README.md
773e380d 40%attr(755,root,root) %{_bindir}/patchelf
d3c0f440 41%{_mandir}/man1/patchelf.1*
This page took 0.082872 seconds and 4 git commands to generate.