2012-06-21 15:55:08 +00:00
|
|
|
#
|
|
|
|
# spec file for package patchelf
|
|
|
|
#
|
2023-01-21 09:50:10 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-06-21 15:55:08 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-15 12:42:40 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-06-21 15:55:08 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: patchelf
|
2023-05-09 09:15:04 +00:00
|
|
|
Version: 0.18.0
|
2016-03-20 11:43:43 +00:00
|
|
|
Release: 0
|
2012-06-21 15:55:08 +00:00
|
|
|
Summary: A utility for patching ELF binaries
|
2018-11-15 12:42:40 +00:00
|
|
|
License: GPL-3.0-only
|
2012-06-21 15:55:08 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-27 01:20:07 +00:00
|
|
|
URL: https://nixos.org/patchelf.html
|
2020-09-18 12:30:12 +00:00
|
|
|
Source: https://github.com/NixOS/patchelf/releases/download/%{version}/patchelf-%{version}.tar.bz2
|
2012-06-21 15:55:08 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
%description
|
|
|
|
PatchELF is a simple utility for modifing existing ELF executables and
|
|
|
|
libraries. It can change the dynamic loader ("ELF interpreter") of
|
|
|
|
executables and change the RPATH of executables and libraries.
|
|
|
|
|
|
|
|
%prep
|
2023-05-09 09:15:04 +00:00
|
|
|
%autosetup -p1
|
2012-06-21 15:55:08 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2021-10-16 12:26:29 +00:00
|
|
|
%make_build
|
2012-06-21 15:55:08 +00:00
|
|
|
|
|
|
|
%check
|
2021-10-16 12:26:29 +00:00
|
|
|
%make_build check
|
2012-06-21 15:55:08 +00:00
|
|
|
|
|
|
|
%install
|
2018-11-15 12:42:40 +00:00
|
|
|
%make_install
|
2020-08-16 00:52:36 +00:00
|
|
|
rm -v %{buildroot}%{_datadir}/doc/patchelf/README.md
|
2012-06-21 15:55:08 +00:00
|
|
|
|
|
|
|
%files
|
2020-08-16 00:52:36 +00:00
|
|
|
%doc README.md
|
2018-11-15 12:42:40 +00:00
|
|
|
%license COPYING
|
2016-03-20 11:43:43 +00:00
|
|
|
%{_bindir}/patchelf
|
2018-11-15 12:42:40 +00:00
|
|
|
%{_mandir}/man1/patchelf.1%{?ext_man}
|
2023-05-09 09:15:04 +00:00
|
|
|
%dir %{_datadir}/zsh
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
%{_datadir}/zsh/site-functions/_patchelf
|
2012-06-21 15:55:08 +00:00
|
|
|
|
|
|
|
%changelog
|