X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=chrpath.spec;h=58c27167fcb594b96507e46154c74669d38b4cb5;hb=cb5986d8ee25e3273e174ca85034ef073e085b66;hp=e29e560dc3f96c0ac61487ca1370e3398ec431e2;hpb=00a9cfcbd8d0fcd6fa5b143b76f4900001298d66;p=packages%2Fchrpath.git diff --git a/chrpath.spec b/chrpath.spec index e29e560..58c2716 100644 --- a/chrpath.spec +++ b/chrpath.spec @@ -1,38 +1,47 @@ Summary: chrpath - change the rpath or runpath in binaries -Summary(pl): chrpath - narzêdzie do zmiany rpath lub runpath w binariach +Summary(pl.UTF-8): chrpath - narzędzie do zmiany rpath lub runpath w binariach Name: chrpath -Version: 0.12 -Release: 1 +Version: 0.13 +Release: 3 License: GPL Group: Applications/Editors #Source0ActiveFtp Source0: ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz -# Source0-md5: ff9dededc5ce7e169b36c279e94891fd +# Source0-md5: b73072a8fbba277558c50364b65bb407 +Patch0: %{name}-keepgoing.patch +Patch1: %{name}-multilib.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define no_install_post_chrpath 1 +%define no_install_post_chrpath 1 %description chrpath changes, lists or removes the rpath or runpath setting in a binary. The rpath, or runpath if it is present, is where the runtime linker should look for the libraries needed for a program. -%description -l pl +%description -l pl.UTF-8 chrpath zmienia, pokazuje lub usuwa ustawienia rpath lub runpath w -binariach. rpath lub runpath, je¶li jest ustawione, pokazuje miejsce, -w którym linker powinien szukaæ bibliotek wymaganych przez program. +binariach. rpath lub runpath, jeśli jest ustawione, pokazuje miejsce, +w którym linker powinien szukać bibliotek wymaganych przez program. %prep %setup -q +%patch0 -p1 +%ifarch %{x8664} ppc64 s390x sparc64 +%patch1 -p1 +%endif %build +%{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} -%configure +%configure \ + --disable-static %{__make} %install @@ -49,4 +58,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/* +%ifarch %{x8664} ppc64 s390x sparc64 +%attr(755,root,root) %{_libdir}/libchrpath*.so +%endif %{_mandir}/man1/*