]> git.pld-linux.org Git - packages/patchelf.git/commitdiff
- new, based on bundled spec
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 4 Mar 2008 19:31:25 +0000 (19:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    patchelf.spec -> 1.1

patchelf.spec [new file with mode: 0644]

diff --git a/patchelf.spec b/patchelf.spec
new file mode 100644 (file)
index 0000000..340f56c
--- /dev/null
@@ -0,0 +1,39 @@
+#
+# Conditional build:
+%bcond_without tests           # build without tests
+#
+Summary:       A utility for patching ELF binaries
+Name:          patchelf
+Version:       0.3
+Release:       1
+License:       GPL
+Group:         Development/Tools
+URL:           http://nix.cs.uu.nl/patchelf.html
+Source0:       http://nix.cs.uu.nl/dist/nix/patchelf-0.3/%{name}-%{version}.tar.bz2
+# Source0-md5: 20d77052ae559c60e6c5efb6ea95af9b
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PatchELF is 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}
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/patchelf
This page took 0.055318 seconds and 4 git commands to generate.