patchelf/patchelf.spec

51 lines
1.1 KiB
RPMSpec
Raw Normal View History

Name: patchelf
Version: 0.14.5
Release: 1mamba
Summary: A small utility to modify the dynamic linker and RPATH of ELF executables
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/NixOS/patchelf
Source: https://github.com/NixOS/patchelf.git/%{version}/patchelf-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
A small utility to modify the dynamic linker and RPATH of ELF executables.
%debug_package
%prep
%setup -q
./bootstrap.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/patchelf
%dir %{_docdir}/patchelf
%{_docdir}/patchelf/README.md
%{_mandir}/man1/patchelf.1*
%doc COPYING
%changelog
* Sat Jun 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.5-1mamba
- package created using the webbuild interface