SPECS: patchelf.spec (NEW) - new, based on bundled spec
glen
glen at pld-linux.org
Tue Mar 4 20:31:31 CET 2008
Author: glen Date: Tue Mar 4 19:31:31 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new, based on bundled spec
---- Files affected:
SPECS:
patchelf.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/patchelf.spec
diff -u /dev/null SPECS/patchelf.spec:1.1
--- /dev/null Tue Mar 4 20:31:31 2008
+++ SPECS/patchelf.spec Tue Mar 4 20:31:25 2008
@@ -0,0 +1,49 @@
+# $Revision$, $Date$
+#
+# 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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-03-04 19:31:25 glen
+- new, based on bundled spec
================================================================
More information about the pld-cvs-commit
mailing list