SHA256
1
0
forked from pool/patchelf
patchelf/patchelf.spec
Ismail Dönmez 228782a159 Accepting request 125671 from openSUSE:Factory:ARM
required for cross build, please make me maintainer and/or forward it to factory. thanks

OBS-URL: https://build.opensuse.org/request/show/125671
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/patchelf?expand=0&rev=1
2012-06-21 15:55:08 +00:00

58 lines
1.5 KiB
RPMSpec

#
# spec file for package patchelf
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: patchelf
Summary: A utility for patching ELF binaries
License: GPL-3.0
Group: Development/Libraries/C and C++
Version: 0.6
Release: 0
Url: http://nixos.org/patchelf.html
Source: %{name}-%{version}.tar.bz2
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
%setup -q
%build
%configure
make
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/usr/share/doc/patchelf/README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
/usr/bin/*
%_mandir/man*/patchelf.*
%changelog