From ed5826009dc938ab28aa7a7a9f7c8a99afe93022 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:26:14 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.14.5-1mamba;Sat Jun 18 2022] --- README.md | 2 ++ patchelf.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 patchelf.spec 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