diff --git a/README.md b/README.md index 4a278be..c1fb19a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # patchelf +A small utility to modify the dynamic linker and RPATH of ELF executables. + diff --git a/patchelf.spec b/patchelf.spec new file mode 100644 index 0000000..7413f48 --- /dev/null +++ b/patchelf.spec @@ -0,0 +1,50 @@ +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 +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 0.14.5-1mamba +- package created using the webbuild interface